diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/asmjs/shared-constants.cpp | 2 | ||||
-rw-r--r-- | src/asmjs/shared-constants.h | 2 | ||||
-rw-r--r-- | src/wasm2js.h | 2 |
3 files changed, 0 insertions, 6 deletions
diff --git a/src/asmjs/shared-constants.cpp b/src/asmjs/shared-constants.cpp index 7f421a47d..bc5b9d08f 100644 --- a/src/asmjs/shared-constants.cpp +++ b/src/asmjs/shared-constants.cpp @@ -63,8 +63,6 @@ cashew::IString SQRT("sqrt"); cashew::IString POW("pow"); cashew::IString I32_TEMP("asm2wasm_i32_temp"); cashew::IString DEBUGGER("debugger"); -cashew::IString USE_ASM("use asm"); -cashew::IString ALMOST_ASM("almost asm"); cashew::IString BUFFER("buffer"); cashew::IString ENV("env"); cashew::IString STACKTOP("STACKTOP"); diff --git a/src/asmjs/shared-constants.h b/src/asmjs/shared-constants.h index 8b4e8fff3..b6ba37c97 100644 --- a/src/asmjs/shared-constants.h +++ b/src/asmjs/shared-constants.h @@ -66,8 +66,6 @@ extern cashew::IString SQRT; extern cashew::IString POW; extern cashew::IString I32_TEMP; extern cashew::IString DEBUGGER; -extern cashew::IString USE_ASM; -extern cashew::IString ALMOST_ASM; extern cashew::IString BUFFER; extern cashew::IString ENV; extern cashew::IString STACKTOP; diff --git a/src/wasm2js.h b/src/wasm2js.h index a3447749c..a1a0f13a7 100644 --- a/src/wasm2js.h +++ b/src/wasm2js.h @@ -353,8 +353,6 @@ Ref Wasm2JSBuilder::processWasm(Module* wasm, Name funcName) { ValueBuilder::appendArgumentToFunction(asmFunc, GLOBAL); ValueBuilder::appendArgumentToFunction(asmFunc, ENV); ValueBuilder::appendArgumentToFunction(asmFunc, BUFFER); - asmFunc[3]->push_back( - ValueBuilder::makeStatement(ValueBuilder::makeString(ALMOST_ASM))); // add memory import if (wasm->memory.exists && wasm->memory.imported()) { Ref theVar = ValueBuilder::makeVar(); |