Index: src/mips/lithium-codegen-mips.cc |
diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc |
index 0d2863aad9d90498aabdcf408c5cb4d42da25473..cdc8c034b97629e5afde34c498b68b517c06872d 100644 |
--- a/src/mips/lithium-codegen-mips.cc |
+++ b/src/mips/lithium-codegen-mips.cc |
@@ -2851,18 +2851,6 @@ void LCodeGen::DoStoreGlobalCell(LStoreGlobalCell* instr) { |
} |
-void LCodeGen::DoStoreGlobalGeneric(LStoreGlobalGeneric* instr) { |
- ASSERT(ToRegister(instr->context()).is(cp)); |
- ASSERT(ToRegister(instr->global_object()).is(a1)); |
- ASSERT(ToRegister(instr->value()).is(a0)); |
- |
- __ li(a2, 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()); |
@@ -4115,8 +4103,7 @@ void LCodeGen::DoStoreNamedGeneric(LStoreNamedGeneric* instr) { |
// Name is always in a2. |
__ li(a2, 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); |
} |