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.h17
1 files changed, 7 insertions, 10 deletions
diff --git a/src/wasm-binary.h b/src/wasm-binary.h
index d8225ce0f..62c2f7af2 100644
--- a/src/wasm-binary.h
+++ b/src/wasm-binary.h
@@ -362,10 +362,8 @@ enum EncodedType {
i16 = -0x7, // 0x79
// function reference type
funcref = -0x10, // 0x70
- // opaque host reference type
- externref = -0x11, // 0x6f
- // any reference type
- anyref = -0x12, // 0x6e
+ // top type of references, including host references
+ anyref = -0x11, // 0x6f
// comparable reference type
eqref = -0x13, // 0x6d
// nullable typed function reference type, with parameter
@@ -391,12 +389,11 @@ enum EncodedType {
};
enum EncodedHeapType {
- func = -0x10, // 0x70
- extern_ = -0x11, // 0x6f
- any = -0x12, // 0x6e
- eq = -0x13, // 0x6d
- i31 = -0x16, // 0x6a
- data = -0x19, // 0x67
+ func = -0x10, // 0x70
+ any = -0x11, // 0x6f
+ eq = -0x13, // 0x6d
+ i31 = -0x16, // 0x6a
+ data = -0x19, // 0x67
};
namespace UserSections {