diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-04-20 08:24:59 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-04-20 08:24:59 -0700 |
commit | 86154bff23044b24e18235c8c92721eb463e616a (patch) | |
tree | e430db5de044492eb924df461a2abef95e6e7010 /src/asm2wasm.h | |
parent | 31dd39afd6197743d3ccbb2cfa4276134c6751d2 (diff) | |
parent | 589fb94100c02f8a6e6e923b73d5f7e578fe978a (diff) | |
download | binaryen-86154bff23044b24e18235c8c92721eb463e616a.tar.gz binaryen-86154bff23044b24e18235c8c92721eb463e616a.tar.bz2 binaryen-86154bff23044b24e18235c8c92721eb463e616a.zip |
Merge pull request #368 from WebAssembly/zero_x_b
0xb updates
Diffstat (limited to 'src/asm2wasm.h')
-rw-r--r-- | src/asm2wasm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/asm2wasm.h b/src/asm2wasm.h index 05f3a2c0c..c852885f8 100644 --- a/src/asm2wasm.h +++ b/src/asm2wasm.h @@ -761,6 +761,7 @@ void Asm2WasmBuilder::processAsm(Ref ast) { wasm.memory.exportName = MEMORY; +#if 0 // enable asm2wasm i64 optimizations when browsers have consistent i64 support in wasm if (udivmoddi4.is() && getTempRet0.is()) { // generate a wasm-optimized __udivmoddi4 method, which we can do much more efficiently in wasm // we can only do this if we know getTempRet0 as well since we use it to figure out which minified global is tempRet0 @@ -856,6 +857,7 @@ void Asm2WasmBuilder::processAsm(Ref ast) { ); func->body = body; } +#endif } Function* Asm2WasmBuilder::processFunction(Ref ast) { |