Index: src/crankshaft/arm64/lithium-codegen-arm64.cc |
diff --git a/src/crankshaft/arm64/lithium-codegen-arm64.cc b/src/crankshaft/arm64/lithium-codegen-arm64.cc |
index c01ee06f3f028f5b22d3d471e4e4f5f9d2a77305..43e943272b10fdc000e65a61b0672e44ae588b3d 100644 |
--- a/src/crankshaft/arm64/lithium-codegen-arm64.cc |
+++ b/src/crankshaft/arm64/lithium-codegen-arm64.cc |
@@ -3064,10 +3064,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(x0)); |
- __ Mov(LoadDescriptor::NameRegister(), Operand(instr->name())); |
+ |
EmitVectorLoadICRegisters<LLoadGlobalGeneric>(instr); |
Handle<Code> ic = |
CodeFactory::LoadGlobalICInOptimizedCode(isolate(), instr->typeof_mode()) |