Index: src/compiler/s390/code-generator-s390.cc |
diff --git a/src/compiler/s390/code-generator-s390.cc b/src/compiler/s390/code-generator-s390.cc |
index 66fe6b72723b0302fb2465ad60ffca70df7a5d63..faaf3eb0115fdacf3abde6d1983e054667ad98cb 100644 |
--- a/src/compiler/s390/code-generator-s390.cc |
+++ b/src/compiler/s390/code-generator-s390.cc |
@@ -1225,8 +1225,8 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleArchInstruction( |
FrameScope scope(masm(), StackFrame::MANUAL); |
__ PrepareCallCFunction(0, 1, kScratchReg); |
__ MovToFloatParameter(i.InputDoubleRegister(0)); |
- __ CallCFunction(ExternalReference::math_log_double_function(isolate()), |
- 0, 1); |
+ __ CallCFunction(ExternalReference::ieee754_log_function(isolate()), 0, |
+ 1); |
// Move the result in the double result register. |
__ MovFromFloatResult(i.OutputDoubleRegister()); |
break; |