summaryrefslogtreecommitdiff
path: root/src/wasm-binary.h
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2023-08-09 17:18:13 -0400
committerGitHub <noreply@github.com>2023-08-09 21:18:13 +0000
commitc003a01aa855bfa1377237eb2ce788b9fa96e839 (patch)
tree454d2b6de36ea56de5d3e310d81f02155aa73db1 /src/wasm-binary.h
parentd0bdf202463323a0b9f3be95fe2c64765a84a4b7 (diff)
downloadbinaryen-c003a01aa855bfa1377237eb2ce788b9fa96e839.tar.gz
binaryen-c003a01aa855bfa1377237eb2ce788b9fa96e839.tar.bz2
binaryen-c003a01aa855bfa1377237eb2ce788b9fa96e839.zip
Remove legacy WasmGC instructions (#5861)
Remove old, experimental instructions and type encodings that will not be shipped as part of WasmGC. Updating the encodings and text format to match the final spec is left as future work.
Diffstat (limited to 'src/wasm-binary.h')
-rw-r--r--src/wasm-binary.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/wasm-binary.h b/src/wasm-binary.h
index c6b3e7b6f..05cd38320 100644
--- a/src/wasm-binary.h
+++ b/src/wasm-binary.h
@@ -389,10 +389,6 @@ enum EncodedType {
Array = -0x22, // 0x5e
Sub = -0x30, // 0x50
SubFinal = -0x32, // 0x4e
- // prototype nominal forms we still parse
- FuncSubtype = -0x23, // 0x5d
- StructSubtype = -0x24, // 0x5c
- ArraySubtype = -0x25, // 0x5b
// isorecursive recursion groups
Rec = -0x31, // 0x4f
// block_type
@@ -1108,7 +1104,6 @@ enum ASTNodes {
ArrayGetS = 0x14,
ArrayGetU = 0x15,
ArraySet = 0x16,
- ArrayLenAnnotated = 0x17,
ArrayCopy = 0x18,
ArrayLen = 0x19,
ArrayNewFixed = 0x1a,
@@ -1120,23 +1115,10 @@ enum ASTNodes {
I31GetU = 0x22,
RefTest = 0x40,
RefCast = 0x41,
- BrOnCastLegacy = 0x42,
- BrOnCastFailLegacy = 0x43,
- BrOnCastNullLegacy = 0x4a,
- BrOnCastFailNullLegacy = 0x4b,
BrOnCast = 0x4e,
BrOnCastFail = 0x4f,
- RefTestStatic = 0x44,
- RefCastStatic = 0x45,
RefTestNull = 0x48,
RefCastNull = 0x49,
- RefCastNop = 0x4c,
- RefAsFunc = 0x58,
- RefAsI31 = 0x5a,
- BrOnFunc = 0x60,
- BrOnI31 = 0x62,
- BrOnNonFunc = 0x63,
- BrOnNonI31 = 0x65,
ExternInternalize = 0x70,
ExternExternalize = 0x71,
ArrayFill = 0x0f,