Index: src/arm/macro-assembler-arm.cc |
diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc |
index 5f6076b41dfbd1bf726930aa129b4b63a1b51361..633c503280a91b768c66406363672fff225fae17 100644 |
--- a/src/arm/macro-assembler-arm.cc |
+++ b/src/arm/macro-assembler-arm.cc |
@@ -1074,7 +1074,6 @@ void MacroAssembler::InvokePrologue(const ParameterCount& expected, |
// r0: actual arguments count |
// r1: function (passed through to callee) |
// r2: expected arguments count |
- // r3: callee code entry |
// The code below is made a lot easier because the calling code already sets |
// up actual and expected registers according to the contract if values are |
@@ -1170,36 +1169,6 @@ void MacroAssembler::InvokeCode(Register code, |
} |
-void MacroAssembler::InvokeCode(Handle<Code> code, |
- const ParameterCount& expected, |
- const ParameterCount& actual, |
- RelocInfo::Mode rmode, |
- InvokeFlag flag, |
- CallKind call_kind) { |
- // You can't call a function without a valid frame. |
- ASSERT(flag == JUMP_FUNCTION || has_frame()); |
- |
- Label done; |
- bool definitely_mismatches = false; |
- InvokePrologue(expected, actual, code, no_reg, |
- &done, &definitely_mismatches, flag, |
- NullCallWrapper(), call_kind); |
- if (!definitely_mismatches) { |
- if (flag == CALL_FUNCTION) { |
- SetCallKind(r5, call_kind); |
- Call(code, rmode); |
- } else { |
- SetCallKind(r5, call_kind); |
- Jump(code, rmode); |
- } |
- |
- // Continue here if InvokePrologue does handle the invocation due to |
- // mismatched parameter counts. |
- bind(&done); |
- } |
-} |
- |
- |
void MacroAssembler::InvokeFunction(Register fun, |
const ParameterCount& actual, |
InvokeFlag flag, |