Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index 6eb00fbfc94dacead001536d6a6dc166a5eb8e60..7cbf821529edd1205c42cb333378c34ce17909cd 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -2743,19 +2743,6 @@ void LCodeGen::DoStoreGlobalCell(LStoreGlobalCell* instr) { |
} |
-void LCodeGen::DoStoreGlobalGeneric(LStoreGlobalGeneric* instr) { |
- ASSERT(ToRegister(instr->context()).is(rsi)); |
- ASSERT(ToRegister(instr->global_object()).is(rdx)); |
- ASSERT(ToRegister(instr->value()).is(rax)); |
- |
- __ Move(rcx, 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()); |
@@ -4065,8 +4052,7 @@ void LCodeGen::DoStoreNamedGeneric(LStoreNamedGeneric* instr) { |
__ Move(rcx, instr->hydrogen()->name()); |
Handle<Code> ic = StoreIC::initialize_stub(isolate(), |
- instr->strict_mode_flag(), |
- NOT_CONTEXTUAL); |
+ instr->strict_mode_flag()); |
CallCode(ic, RelocInfo::CODE_TARGET, instr); |
} |