| Index: src/x64/macro-assembler-x64.cc
|
| diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc
|
| index abbcaacf24a8ac1938436eace8adb2ef5bd88307..59a836062b86fe57cd120f4a50a9418144e2fd1d 100644
|
| --- a/src/x64/macro-assembler-x64.cc
|
| +++ b/src/x64/macro-assembler-x64.cc
|
| @@ -690,18 +690,6 @@ void MacroAssembler::JumpToExternalReference(const ExternalReference& ext) {
|
| }
|
|
|
|
|
| -void MacroAssembler::InvokeBuiltin(int native_context_index, InvokeFlag flag,
|
| - const CallWrapper& call_wrapper) {
|
| - // You can't call a builtin without a valid frame.
|
| - DCHECK(flag == JUMP_FUNCTION || has_frame());
|
| -
|
| - // Fake a parameter count to avoid emitting code to do the check.
|
| - ParameterCount expected(0);
|
| - LoadNativeContextSlot(native_context_index, rdi);
|
| - InvokeFunctionCode(rdi, no_reg, expected, expected, flag, call_wrapper);
|
| -}
|
| -
|
| -
|
| #define REG(Name) \
|
| { Register::kCode_##Name }
|
|
|
|
|