Index: src/compiler/wasm-compiler.cc |
diff --git a/src/compiler/wasm-compiler.cc b/src/compiler/wasm-compiler.cc |
index 7270ddd24848854d9e42a020404ed04bdcca7ed4..1d547113d270d6536bf719d10750dd6e8467b4f5 100644 |
--- a/src/compiler/wasm-compiler.cc |
+++ b/src/compiler/wasm-compiler.cc |
@@ -796,9 +796,9 @@ Node* WasmGraphBuilder::Unop(wasm::WasmOpcode opcode, Node* input, |
case wasm::kExprF64Exp: { |
return BuildF64Exp(input); |
} |
- case wasm::kExprF64Log: { |
- return BuildF64Log(input); |
- } |
+ case wasm::kExprF64Log: |
+ op = m->Float64Log(); |
+ break; |
case wasm::kExprI32ConvertI64: |
op = m->TruncateInt64ToInt32(); |
break; |
@@ -1383,13 +1383,6 @@ Node* WasmGraphBuilder::BuildF64Exp(Node* input) { |
return BuildCFuncInstruction(ref, type, input); |
} |
-Node* WasmGraphBuilder::BuildF64Log(Node* input) { |
- MachineType type = MachineType::Float64(); |
- ExternalReference ref = |
- ExternalReference::f64_log_wrapper_function(jsgraph()->isolate()); |
- return BuildCFuncInstruction(ref, type, input); |
-} |
- |
Node* WasmGraphBuilder::BuildF64Atan2(Node* left, Node* right) { |
MachineType type = MachineType::Float64(); |
ExternalReference ref = |