Index: src/arm/macro-assembler-arm.cc |
diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc |
index 89e6f83df4dbf42cf6f0472a6e236ea6cc3dc51d..624ba81340a6d8b31797d93bda3bb340aa0ef4de 100644 |
--- a/src/arm/macro-assembler-arm.cc |
+++ b/src/arm/macro-assembler-arm.cc |
@@ -1113,7 +1113,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 |
@@ -1204,33 +1203,6 @@ void MacroAssembler::InvokeCode(Register code, |
} |
-void MacroAssembler::InvokeCode(Handle<Code> code, |
- const ParameterCount& expected, |
- const ParameterCount& actual, |
- RelocInfo::Mode rmode, |
- InvokeFlag flag) { |
- // 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()); |
- if (!definitely_mismatches) { |
- if (flag == CALL_FUNCTION) { |
- Call(code, rmode); |
- } else { |
- 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, |