Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index b8478bcf11586ed73179255141c0d134b3ba7a57..3499f3885b0a0f2b95de1b9baf6c814b486f51ee 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -3001,19 +3001,6 @@ void LCodeGen::DoStoreGlobalCell(LStoreGlobalCell* instr) { |
} |
-void LCodeGen::DoStoreGlobalGeneric(LStoreGlobalGeneric* instr) { |
- ASSERT(ToRegister(instr->context()).is(cp)); |
- ASSERT(ToRegister(instr->global_object()).is(r1)); |
- ASSERT(ToRegister(instr->value()).is(r0)); |
- |
- __ mov(r2, Operand(instr->name())); |
- Handle<Code> ic = StoreIC::initialize_stub(isolate(), |
- instr->strict_mode_flag(), |
- CONTEXTUAL); |
- CallCode(ic, RelocInfo::CODE_TARGET, instr); |
-} |
- |
- |
void LCodeGen::DoLoadContextSlot(LLoadContextSlot* instr) { |
Register context = ToRegister(instr->context()); |
Register result = ToRegister(instr->result()); |
@@ -4200,8 +4187,7 @@ void LCodeGen::DoStoreNamedGeneric(LStoreNamedGeneric* instr) { |
// Name is always in r2. |
__ mov(r2, Operand(instr->name())); |
Handle<Code> ic = StoreIC::initialize_stub(isolate(), |
- instr->strict_mode_flag(), |
- NOT_CONTEXTUAL); |
+ instr->strict_mode_flag()); |
CallCode(ic, RelocInfo::CODE_TARGET, instr, NEVER_INLINE_TARGET_ADDRESS); |
} |