Index: src/x64/macro-assembler-x64.cc |
=================================================================== |
--- src/x64/macro-assembler-x64.cc (revision 4955) |
+++ src/x64/macro-assembler-x64.cc (working copy) |
@@ -328,7 +328,8 @@ |
} |
-void MacroAssembler::CallRuntime(Runtime::Function* f, int num_arguments) { |
+void MacroAssembler::CallRuntime(const Runtime::Function* f, |
+ int num_arguments) { |
// If the expected number of arguments of the runtime function is |
// constant, we check that the actual number of arguments match the |
// expectation. |
@@ -1928,7 +1929,8 @@ |
if (!definitely_matches) { |
Handle<Code> adaptor = |
- Handle<Code>(Builtins::builtin(Builtins::ArgumentsAdaptorTrampoline)); |
+ Handle<Code>(Isolate::Current()->builtins()->builtin( |
+ Builtins::ArgumentsAdaptorTrampoline)); |
if (!code_constant.is_null()) { |
movq(rdx, code_constant, RelocInfo::EMBEDDED_OBJECT); |
addq(rdx, Immediate(Code::kHeaderSize - kHeapObjectTag)); |