Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index 461b632efd3ee87d9d9f79f06009dcfc83ec8102..90e9bb40fe9c8be7cf68a23df8893a5f717ad557 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -5007,7 +5007,7 @@ void LCodeGen::DoForInCacheArray(LForInCacheArray* instr) { |
Register result = ToRegister(instr->result()); |
__ LoadInstanceDescriptors(map, result); |
__ movq(result, |
- FieldOperand(result, DescriptorArray::kLastAddedOffset)); |
+ FieldOperand(result, DescriptorArray::kEnumCacheOffset)); |
__ movq(result, |
FieldOperand(result, FixedArray::SizeFor(instr->idx()))); |
Condition cc = masm()->CheckSmi(result); |