Index: src/compiler/wasm-compiler.cc |
diff --git a/src/compiler/wasm-compiler.cc b/src/compiler/wasm-compiler.cc |
index f52d950538a97d3961143dcb2b19bd67ceec21f6..948598697cf47c38bad865f208579ac298f1b5a1 100644 |
--- a/src/compiler/wasm-compiler.cc |
+++ b/src/compiler/wasm-compiler.cc |
@@ -830,6 +830,9 @@ Node* WasmGraphBuilder::Unop(wasm::WasmOpcode opcode, Node* input) { |
op = m->ChangeUint32ToUint64(); |
break; |
// kExprF64ReinterpretI64: |
+ case wasm::kExprF64ReinterpretI64: |
+ op = m->BitcastInt64ToFloat64(); |
+ break; |
// kExprI64ReinterpretF64: |
case wasm::kExprI64ReinterpretF64: |
op = m->BitcastFloat64ToInt64(); |
@@ -897,9 +900,6 @@ Node* WasmGraphBuilder::Unop(wasm::WasmOpcode opcode, Node* input) { |
#if WASM_64 |
// Opcodes only supported on 64-bit platforms. |
// TODO(titzer): query the machine operator builder here instead of #ifdef. |
- case wasm::kExprF64ReinterpretI64: |
- op = m->BitcastInt64ToFloat64(); |
- break; |
case wasm::kExprI64Clz: |
op = m->Word64Clz(); |
break; |