| Index: src/x64/code-stubs-x64.cc
|
| diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc
|
| index 5e53360461c3a88a0227534660941c6fcfdd799e..7a3735dcb0b37cd5ccc353816486484a43c0d9eb 100644
|
| --- a/src/x64/code-stubs-x64.cc
|
| +++ b/src/x64/code-stubs-x64.cc
|
| @@ -3325,8 +3325,8 @@ void CallFunctionStub::Generate(MacroAssembler* masm) {
|
| __ Set(rax, argc_);
|
| __ Set(rbx, 0);
|
| __ GetBuiltinEntry(rdx, Builtins::CALL_NON_FUNCTION);
|
| - Handle<Code> adaptor(Isolate::Current()->builtins()->builtin(
|
| - Builtins::ArgumentsAdaptorTrampoline));
|
| + Handle<Code> adaptor =
|
| + Isolate::Current()->builtins()->ArgumentsAdaptorTrampoline();
|
| __ Jump(adaptor, RelocInfo::CODE_TARGET);
|
| }
|
|
|
| @@ -3645,11 +3645,11 @@ void JSEntryStub::GenerateBody(MacroAssembler* masm, bool is_construct) {
|
| // directly in the code, because the builtin stubs may not have been
|
| // generated yet at the time this code is generated.
|
| if (is_construct) {
|
| - ExternalReference construct_entry(Builtins::JSConstructEntryTrampoline,
|
| + ExternalReference construct_entry(Builtins::kJSConstructEntryTrampoline,
|
| isolate);
|
| __ load_rax(construct_entry);
|
| } else {
|
| - ExternalReference entry(Builtins::JSEntryTrampoline, isolate);
|
| + ExternalReference entry(Builtins::kJSEntryTrampoline, isolate);
|
| __ load_rax(entry);
|
| }
|
| __ lea(kScratchRegister, FieldOperand(rax, Code::kHeaderSize));
|
|
|