Index: src/crankshaft/ppc/lithium-codegen-ppc.cc |
diff --git a/src/crankshaft/ppc/lithium-codegen-ppc.cc b/src/crankshaft/ppc/lithium-codegen-ppc.cc |
index 6cc45919d4d243753574908c8ca577c8ef28e060..1ccda245281b07058c372b360d06c0ee107ec317 100644 |
--- a/src/crankshaft/ppc/lithium-codegen-ppc.cc |
+++ b/src/crankshaft/ppc/lithium-codegen-ppc.cc |
@@ -2697,11 +2697,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(r3)); |
- __ mov(LoadDescriptor::NameRegister(), Operand(instr->name())); |
EmitVectorLoadICRegisters<LLoadGlobalGeneric>(instr); |
Handle<Code> ic = |
CodeFactory::LoadGlobalICInOptimizedCode(isolate(), instr->typeof_mode()) |