summaryrefslogtreecommitdiff
path: root/scripts/gen-s-parser.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/gen-s-parser.py')
-rwxr-xr-xscripts/gen-s-parser.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/scripts/gen-s-parser.py b/scripts/gen-s-parser.py
index 9dcfb3dd3..5e5ec494f 100755
--- a/scripts/gen-s-parser.py
+++ b/scripts/gen-s-parser.py
@@ -32,11 +32,11 @@ instructions = [
("call_indirect", "makeCallIndirect(s)"),
("drop", "makeDrop(s)"),
("select", "makeSelect(s)"),
- ("local.get", "makeGetLocal(s)"),
- ("local.set", "makeSetLocal(s)"),
- ("local.tee", "makeTeeLocal(s)"),
- ("global.get", "makeGetGlobal(s)"),
- ("global.set", "makeSetGlobal(s)"),
+ ("local.get", "makeLocalGet(s)"),
+ ("local.set", "makeLocalSet(s)"),
+ ("local.tee", "makeLocalTee(s)"),
+ ("global.get", "makeGlobalGet(s)"),
+ ("global.set", "makeGlobalSet(s)"),
("memory.init", "makeMemoryInit(s)"),
("data.drop", "makeDataDrop(s)"),
("memory.copy", "makeMemoryCopy(s)"),
@@ -64,8 +64,8 @@ instructions = [
("i64.store8", "makeStore(s, i64, /*isAtomic=*/false)"),
("i64.store16", "makeStore(s, i64, /*isAtomic=*/false)"),
("i64.store32", "makeStore(s, i64, /*isAtomic=*/false)"),
- ("current_memory", "makeHost(s, HostOp::CurrentMemory)"),
- ("grow_memory", "makeHost(s, HostOp::GrowMemory)"),
+ ("memory.size", "makeHost(s, HostOp::MemorySize)"),
+ ("memory.grow", "makeHost(s, HostOp::MemoryGrow)"),
("i32.const", "makeConst(s, i32)"),
("i64.const", "makeConst(s, i64)"),
("f32.const", "makeConst(s, f32)"),