Index: src/mips/macro-assembler-mips.cc |
diff --git a/src/mips/macro-assembler-mips.cc b/src/mips/macro-assembler-mips.cc |
index 7bbd736f2a07973676dddbfe192e9c485da75c5c..b7c8509c2a13eb328fa8121b88c7f1656b54e8e7 100644 |
--- a/src/mips/macro-assembler-mips.cc |
+++ b/src/mips/macro-assembler-mips.cc |
@@ -4571,18 +4571,6 @@ void MacroAssembler::JumpToExternalReference(const ExternalReference& builtin, |
} |
-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, a1); |
- InvokeFunctionCode(a1, no_reg, expected, expected, flag, call_wrapper); |
-} |
- |
- |
void MacroAssembler::SetCounter(StatsCounter* counter, int value, |
Register scratch1, Register scratch2) { |
if (FLAG_native_code_counters && counter->Enabled()) { |