Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index 0a6723170ca049f9e6176b301d9da7f984c2bac4..6a9e9807466b6466b227bdf1087824431d6e97f5 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -3196,19 +3196,6 @@ void LCodeGen::DoStoreGlobalCell(LStoreGlobalCell* instr) { |
} |
-void LCodeGen::DoStoreGlobalGeneric(LStoreGlobalGeneric* instr) { |
- ASSERT(ToRegister(instr->context()).is(esi)); |
- ASSERT(ToRegister(instr->global_object()).is(edx)); |
- ASSERT(ToRegister(instr->value()).is(eax)); |
- |
- __ mov(ecx, 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()); |
@@ -4485,8 +4472,7 @@ void LCodeGen::DoStoreNamedGeneric(LStoreNamedGeneric* instr) { |
__ mov(ecx, 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); |
} |