summaryrefslogtreecommitdiff
path: root/src/wasm-binary.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-binary.h')
-rw-r--r--src/wasm-binary.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/wasm-binary.h b/src/wasm-binary.h
index 4c4789b69..8b5988602 100644
--- a/src/wasm-binary.h
+++ b/src/wasm-binary.h
@@ -354,8 +354,12 @@ enum EncodedType {
nonnullable = -0x15, // 0x6b
// integer reference type
i31ref = -0x16, // 0x6a
- // exception reference type
- exnref = -0x18, // 0x68
+ // run-time type info type, with depth index n
+ rtt_n = -0x17, // 0x69
+ // run-time type info type, without depth index n
+ rtt = -0x18, // 0x68
+ // exception reference type TODO remove; the code for now is incorrect
+ exnref = -0x19, // 0x67
// func_type form
Func = -0x20, // 0x60
Struct = -0x21, // 0x5f