Skip to content

Commit e16aea9

Browse files
committed
Use hexadecimal in opcode definitions consistently
1 parent a26351d commit e16aea9

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

wasm/src/org.graalvm.wasm/src/org/graalvm/wasm/constants/Instructions.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -266,16 +266,16 @@ public final class Instructions {
266266
public static final int REF_IS_NULL = 0xD1;
267267
public static final int REF_FUNC = 0xD2;
268268

269-
public static final int MEMORY_INIT = 8;
270-
public static final int DATA_DROP = 9;
271-
public static final int MEMORY_COPY = 10;
272-
public static final int MEMORY_FILL = 11;
273-
public static final int TABLE_INIT = 12;
274-
public static final int ELEM_DROP = 13;
275-
public static final int TABLE_COPY = 14;
276-
public static final int TABLE_GROW = 15;
277-
public static final int TABLE_SIZE = 16;
278-
public static final int TABLE_FILL = 17;
269+
public static final int MEMORY_INIT = 0x08;
270+
public static final int DATA_DROP = 0x09;
271+
public static final int MEMORY_COPY = 0x0A;
272+
public static final int MEMORY_FILL = 0x0B;
273+
public static final int TABLE_INIT = 0x0C;
274+
public static final int ELEM_DROP = 0x0D;
275+
public static final int TABLE_COPY = 0x0E;
276+
public static final int TABLE_GROW = 0x0F;
277+
public static final int TABLE_SIZE = 0x10;
278+
public static final int TABLE_FILL = 0x11;
279279

280280
public static final int CALL_REF = 0x14;
281281
public static final int REF_AS_NON_NULL = 0xD4;

0 commit comments

Comments
 (0)