summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
authorDaniel Wirtz <dcode@dcode.io>2017-08-24 18:31:15 +0200
committerAlon Zakai <alonzakai@gmail.com>2017-08-24 09:31:15 -0700
commitb07fafcebebab82dba46012256edc6445862cfce (patch)
treed819f110386bfe6ce3dab4aee6daeefc7f1a81ca /src/wasm.h
parentac8ee6c9e7c43c80d8fb2c8166fd73f23e212069 (diff)
downloadbinaryen-b07fafcebebab82dba46012256edc6445862cfce.tar.gz
binaryen-b07fafcebebab82dba46012256edc6445862cfce.tar.bz2
binaryen-b07fafcebebab82dba46012256edc6445862cfce.zip
Initial asm.js output for binaryen-c / binaryen.js (#1136)
* Added BinaryenModulePrintAsmjs (using wasm2asm) + Module#emitAsmjs JS binding
Diffstat (limited to 'src/wasm.h')
-rw-r--r--src/wasm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wasm.h b/src/wasm.h
index e5b1eaea3..974bf1730 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -586,6 +586,7 @@ public:
WasmType getLocalType(Index index);
Name getLocalNameOrDefault(Index index);
+ Name getLocalNameOrGeneric(Index index);
private:
bool hasLocalName(Index index) const;