Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index 8950cef2bf6b96a14b4ea89329a69ec3b251a33b..13e637602f4340bf57f49a9892fb09aaa89a285e 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -4009,17 +4009,6 @@ void LCodeGen::DoCallFunction(LCallFunction* instr) { |
} |
-void LCodeGen::DoCallGlobal(LCallGlobal* instr) { |
- ASSERT(ToRegister(instr->context()).is(cp)); |
- ASSERT(ToRegister(instr->result()).is(r0)); |
- |
- int arity = instr->arity(); |
- Handle<Code> ic = isolate()->stub_cache()->ComputeCallInitialize(arity); |
- __ mov(r2, Operand(instr->name())); |
- CallCode(ic, RelocInfo::CODE_TARGET, instr, NEVER_INLINE_TARGET_ADDRESS); |
-} |
- |
- |
void LCodeGen::DoCallKnownGlobal(LCallKnownGlobal* instr) { |
ASSERT(ToRegister(instr->result()).is(r0)); |
CallKnownFunction(instr->hydrogen()->target(), |