Index: src/crankshaft/mips/lithium-codegen-mips.cc |
diff --git a/src/crankshaft/mips/lithium-codegen-mips.cc b/src/crankshaft/mips/lithium-codegen-mips.cc |
index d267835042bebd785d399d20009b0c0a5f254fd4..7e659ea29eba5107ac8c144bca047f1b93926642 100644 |
--- a/src/crankshaft/mips/lithium-codegen-mips.cc |
+++ b/src/crankshaft/mips/lithium-codegen-mips.cc |
@@ -2512,11 +2512,8 @@ void LCodeGen::EmitVectorStoreICRegisters(T* instr) { |
void LCodeGen::DoLoadGlobalGeneric(LLoadGlobalGeneric* instr) { |
DCHECK(ToRegister(instr->context()).is(cp)); |
- DCHECK(ToRegister(instr->global_object()) |
- .is(LoadDescriptor::ReceiverRegister())); |
DCHECK(ToRegister(instr->result()).is(v0)); |
- __ li(LoadDescriptor::NameRegister(), Operand(instr->name())); |
EmitVectorLoadICRegisters<LLoadGlobalGeneric>(instr); |
Handle<Code> ic = |
CodeFactory::LoadGlobalICInOptimizedCode(isolate(), instr->typeof_mode()) |