| Index: src/arm64/full-codegen-arm64.cc
|
| diff --git a/src/arm64/full-codegen-arm64.cc b/src/arm64/full-codegen-arm64.cc
|
| index cc225d24ed88cb80ae614c6708b60f37cdd2f0ef..e24f62aa1044f8ecf31c47324f03e21012f4a9a6 100644
|
| --- a/src/arm64/full-codegen-arm64.cc
|
| +++ b/src/arm64/full-codegen-arm64.cc
|
| @@ -1175,11 +1175,8 @@ void FullCodeGenerator::VisitForInStatement(ForInStatement* stmt) {
|
| FieldMemOperand(x2, DescriptorArray::kEnumCacheBridgeCacheOffset));
|
|
|
| // Set up the four remaining stack slots.
|
| - __ Push(x0); // Map.
|
| - __ Mov(x0, Smi::FromInt(0));
|
| - // Push enumeration cache, enumeration cache length (as smi) and zero.
|
| - __ SmiTag(x1);
|
| - __ Push(x2, x1, x0);
|
| + __ Push(x0, x2); // Map, enumeration cache.
|
| + __ SmiTagAndPush(x1, xzr); // Enum cache length, zero (both as smis).
|
| __ B(&loop);
|
|
|
| __ Bind(&no_descriptors);
|
|
|