Index: src/arm/macro-assembler-arm.cc |
diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc |
index 89d6616509be4d781dbda324bb065c25bb594db2..6b729db86071751d9955f80f4b1d91573bcfbba6 100644 |
--- a/src/arm/macro-assembler-arm.cc |
+++ b/src/arm/macro-assembler-arm.cc |
@@ -2506,18 +2506,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, r1); |
- InvokeFunctionCode(r1, 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()) { |