Index: src/hydrogen-instructions.cc |
diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc |
index 3cfce32724298349ec57852b68e5c83c1ec89597..57953857289615f6b3fd3a4f772aa2a81211f492 100644 |
--- a/src/hydrogen-instructions.cc |
+++ b/src/hydrogen-instructions.cc |
@@ -4376,14 +4376,14 @@ HObjectAccess HObjectAccess::ForBackingStoreOffset(int offset, |
HObjectAccess HObjectAccess::ForField(Handle<Map> map, |
LookupResult* lookup, |
Handle<String> name) { |
- ASSERT(lookup->IsField() || lookup->IsTransitionToField(*map)); |
+ ASSERT(lookup->IsField() || lookup->IsTransitionToField()); |
int index; |
Representation representation; |
if (lookup->IsField()) { |
index = lookup->GetLocalFieldIndexFromMap(*map); |
representation = lookup->representation(); |
} else { |
- Map* transition = lookup->GetTransitionMapFromMap(*map); |
+ Map* transition = lookup->GetTransitionTarget(); |
int descriptor = transition->LastAdded(); |
index = transition->instance_descriptors()->GetFieldIndex(descriptor) - |
map->inobject_properties(); |