diff options
author | Alon Zakai <alonzakai@gmail.com> | 2015-12-05 13:13:55 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2015-12-05 13:13:55 -0800 |
commit | 05684cead0dfa8c553d1bed38a5b8746b45e0dec (patch) | |
tree | e7dde0f85d91babe4279e2dd0afec31e36ad500a /src | |
parent | 41ff4225d80f881f42fd9daf8cc7d5ba804238f2 (diff) | |
download | binaryen-05684cead0dfa8c553d1bed38a5b8746b45e0dec.tar.gz binaryen-05684cead0dfa8c553d1bed38a5b8746b45e0dec.tar.bz2 binaryen-05684cead0dfa8c553d1bed38a5b8746b45e0dec.zip |
fix asm doubles in wasm2asm
Diffstat (limited to 'src')
-rw-r--r-- | src/wasm2asm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm2asm.h b/src/wasm2asm.h index 5003dee7f..2b7d6a455 100644 --- a/src/wasm2asm.h +++ b/src/wasm2asm.h @@ -679,7 +679,7 @@ Ref Wasm2AsmBuilder::processFunctionBody(Expression* curr, IString result) { ret[2]->push_back(ValueBuilder::makeDouble(curr->value.f32)); return ret; } - case f64: return ValueBuilder::makeDouble(curr->value.f64); + case f64: return ValueBuilder::makeUnary(PLUS, ValueBuilder::makeDouble(curr->value.f64)); default: abort(); } } |