Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index 77557c58c7d14184d1d0ff580814ca7a0a9a4849..cf192f4cf9c1b44d7401534c63de4bb23323c768 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -4132,8 +4132,8 @@ void LCodeGen::DoTransitionElementsKind(LTransitionElementsKind* instr) { |
Handle<Map> from_map = instr->original_map(); |
Handle<Map> to_map = instr->transitioned_map(); |
- ElementsKind from_kind = from_map->elements_kind(); |
- ElementsKind to_kind = to_map->elements_kind(); |
+ ElementsKind from_kind = instr->from_kind(); |
+ ElementsKind to_kind = instr->to_kind(); |
Label not_applicable; |
__ Cmp(FieldOperand(object_reg, HeapObject::kMapOffset), from_map); |