mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-15 10:44:47 +01:00
add table instructions
This commit is contained in:
parent
672574abd0
commit
4f79782bfe
@ -104,6 +104,10 @@ interface InstructionOpcodes {
|
||||
|
||||
static final int GLOBAL_SET = 0x24;
|
||||
|
||||
static final int TABLE_GET = 0x25;
|
||||
|
||||
static final int TABLE_SET = 0x26;
|
||||
|
||||
// === memory operations ===========
|
||||
|
||||
static final int I32_LOAD = 0x28;
|
||||
@ -457,6 +461,14 @@ interface InstructionOpcodes {
|
||||
|
||||
static final int I64_TRUNC_SAT_F64_U = 0xFC07;
|
||||
|
||||
// === table opcodes ===== https://webassembly.github.io/reference-types/core/binary/instructions.html#table-instructions
|
||||
|
||||
static final int TABLE_GROW = 0xFC0F;
|
||||
|
||||
static final int TABLE_SIZE = 0xFC10;
|
||||
|
||||
static final int TABLE_FILL = 0xFC11;
|
||||
|
||||
// === GC opcodes (unofficial, experimental) ===== https://github.com/lars-t-hansen/moz-gc-experiments/blob/master/version2.md
|
||||
|
||||
static final int STRUCT_NEW = 0xFC50;
|
||||
|
Loading…
x
Reference in New Issue
Block a user