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 4d8e6615e7c16c76ec90f5c301f654aa5b683cda..04fb99b5a9f188d20038b52ee448a17da91f0415 100644 |
--- a/src/crankshaft/arm64/lithium-codegen-arm64.cc |
+++ b/src/crankshaft/arm64/lithium-codegen-arm64.cc |
@@ -4595,7 +4595,7 @@ void LCodeGen::DoDeclareGlobals(LDeclareGlobals* instr) { |
// TODO(all): if Mov could handle object in new space then it could be used |
// here. |
- __ LoadHeapObject(scratch1, instr->hydrogen()->pairs()); |
+ __ LoadHeapObject(scratch1, instr->hydrogen()->declarations()); |
__ Mov(scratch2, Smi::FromInt(instr->hydrogen()->flags())); |
__ Push(scratch1, scratch2); |
__ LoadHeapObject(scratch1, instr->hydrogen()->feedback_vector()); |