Index: src/assembler.cc |
=================================================================== |
--- src/assembler.cc (revision 6551) |
+++ src/assembler.cc (working copy) |
@@ -553,8 +553,9 @@ |
: address_(Redirect(Builtins::c_function_address(id))) {} |
-ExternalReference::ExternalReference(ApiFunction* fun) |
- : address_(Redirect(fun->address())) {} |
+ExternalReference::ExternalReference( |
+ ApiFunction* fun, Type type = ExternalReference::BUILTIN_CALL) |
+ : address_(Redirect(fun->address(), type)) {} |
ExternalReference::ExternalReference(Builtins::Name name) |
@@ -888,16 +889,17 @@ |
UNREACHABLE(); |
} |
// Passing true as 2nd parameter indicates that they return an fp value. |
- return ExternalReference(Redirect(FUNCTION_ADDR(function), true)); |
+ return ExternalReference(Redirect(FUNCTION_ADDR(function), FP_RETURN_CALL)); |
} |
ExternalReference ExternalReference::compare_doubles() { |
return ExternalReference(Redirect(FUNCTION_ADDR(native_compare_doubles), |
- false)); |
+ BUILTIN_CALL)); |
} |
+ExternalReference:: |
antonm
2011/02/03 11:16:25
I'll format it differently.
|
ExternalReferenceRedirector* ExternalReference::redirector_ = NULL; |