From 4418884cac6d60546648da504697a8432fab405d Mon Sep 17 00:00:00 2001 From: "jkummerow@chromium.org" Date: Wed, 18 Dec 2013 11:08:10 +0000 Subject: [PATCH] Fix build after r18344 "log" is an overloaded function, it cannot be resolved without explicit parameter type information TBR=svenpanne@chromium.org Review URL: https://codereview.chromium.org/117723004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18345 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/assembler.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/assembler.cc b/src/assembler.cc index 0578c76fab..1076be0271 100644 --- a/src/assembler.cc +++ b/src/assembler.cc @@ -1388,10 +1388,15 @@ ExternalReference ExternalReference::address_of_regexp_stack_memory_size( #endif // V8_INTERPRETED_REGEXP +static double math_log_double(double x) { + return log(x); +} + + ExternalReference ExternalReference::math_log_double_function( Isolate* isolate) { return ExternalReference(Redirect(isolate, - FUNCTION_ADDR(log), + FUNCTION_ADDR(math_log_double), BUILTIN_FP_CALL)); }