Index: src/crankshaft/x87/lithium-codegen-x87.cc |
diff --git a/src/crankshaft/x87/lithium-codegen-x87.cc b/src/crankshaft/x87/lithium-codegen-x87.cc |
index f75041f1a6799c9a139bb3c48acd522c9c265cb5..dedf6f21d38584aaee25dba440d7f08572dfdeaa 100644 |
--- a/src/crankshaft/x87/lithium-codegen-x87.cc |
+++ b/src/crankshaft/x87/lithium-codegen-x87.cc |
@@ -2701,11 +2701,8 @@ void LCodeGen::EmitVectorStoreICRegisters(T* instr) { |
void LCodeGen::DoLoadGlobalGeneric(LLoadGlobalGeneric* instr) { |
DCHECK(ToRegister(instr->context()).is(esi)); |
- DCHECK(ToRegister(instr->global_object()) |
- .is(LoadDescriptor::ReceiverRegister())); |
DCHECK(ToRegister(instr->result()).is(eax)); |
- __ mov(LoadDescriptor::NameRegister(), instr->name()); |
EmitVectorLoadICRegisters<LLoadGlobalGeneric>(instr); |
Handle<Code> ic = |
CodeFactory::LoadGlobalICInOptimizedCode(isolate(), instr->typeof_mode()) |