summaryrefslogtreecommitdiff
path: root/test/binaryen.js/emit_asmjs.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/binaryen.js/emit_asmjs.js')
-rw-r--r--test/binaryen.js/emit_asmjs.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/binaryen.js/emit_asmjs.js b/test/binaryen.js/emit_asmjs.js
index c7cd5c717..1faf58308 100644
--- a/test/binaryen.js/emit_asmjs.js
+++ b/test/binaryen.js/emit_asmjs.js
@@ -2,7 +2,7 @@ var module = new Binaryen.Module();
var signature = module.addFunctionType("ii", Binaryen.i32, [ Binaryen.i32 ]);
-module.addFunction("main", signature, [], module.getLocal(0, Binaryen.i32));
+module.addFunction("main", signature, [], module.local.get(0, Binaryen.i32));
module.addFunctionExport("main", "main");