Browse Source

* fixed the global.get, global.set, local.set, local.get and local.tee instructions in the llvm-mc instruction writer

git-svn-id: branches/wasm@46701 -
nickysn 5 years ago
parent
commit
e3da45de37
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/wasm32/itcpugas.pas

+ 1 - 1
compiler/wasm32/itcpugas.pas

@@ -42,7 +42,7 @@ interface
       'return', 'unreachable',
       'return', 'unreachable',
       // basic
       // basic
       'nop', 'drop', 'i32.const', 'i64.const', 'f32.const', 'f64.const',
       'nop', 'drop', 'i32.const', 'i64.const', 'f32.const', 'f64.const',
-      'get_local', 'set_local', 'tee_local', 'get_global', 'set_global',
+      'local.get', 'local.set', 'local.tee', 'global.get', 'global.set',
       'select', 'call', 'call_indirect',
       'select', 'call', 'call_indirect',
       // integer
       // integer
       'i32.add', 'i64.add', 'i32.sub', 'i64.sub', 'i32.mul', 'i64.mul',
       'i32.add', 'i64.add', 'i32.sub', 'i64.sub', 'i32.mul', 'i64.mul',