Index: src/arm64/macro-assembler-arm64.cc |
diff --git a/src/arm64/macro-assembler-arm64.cc b/src/arm64/macro-assembler-arm64.cc |
index 625077abec7e75d811b00d9ea6a70ffe11084d8f..5e17bbd58dfc9de67a4a44d9fc7da220a3865ef8 100644 |
--- a/src/arm64/macro-assembler-arm64.cc |
+++ b/src/arm64/macro-assembler-arm64.cc |
@@ -1727,19 +1727,6 @@ void MacroAssembler::JumpToExternalReference(const ExternalReference& builtin) { |
} |
-void MacroAssembler::InvokeBuiltin(int native_context_index, InvokeFlag flag, |
- const CallWrapper& call_wrapper) { |
- ASM_LOCATION("MacroAssembler::InvokeBuiltin"); |
- // 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, x1); |
- InvokeFunctionCode(x1, no_reg, expected, expected, flag, call_wrapper); |
-} |
- |
- |
void MacroAssembler::TailCallRuntime(Runtime::FunctionId fid) { |
const Runtime::Function* function = Runtime::FunctionForId(fid); |
DCHECK_EQ(1, function->result_size); |