| Index: src/objects-inl.h
|
| diff --git a/src/objects-inl.h b/src/objects-inl.h
|
| index dbac0f4685e2d0e594014e97410698499d5b84ff..65c46f0af36e11ecb1f052913dd37e62da2ed9a8 100644
|
| --- a/src/objects-inl.h
|
| +++ b/src/objects-inl.h
|
| @@ -2502,6 +2502,11 @@ int DescriptorArray::SearchWithCache(Name* name, Map* map) {
|
| }
|
|
|
|
|
| +PropertyDetails Map::GetLastDescriptorDetails() {
|
| + return instance_descriptors()->GetDetails(LastAdded());
|
| +}
|
| +
|
| +
|
| void Map::LookupDescriptor(JSObject* holder,
|
| Name* name,
|
| LookupResult* result) {
|
| @@ -2519,7 +2524,8 @@ void Map::LookupTransition(JSObject* holder,
|
| TransitionArray* transition_array = transitions();
|
| int number = transition_array->Search(name);
|
| if (number != TransitionArray::kNotFound) {
|
| - return result->TransitionResult(holder, number);
|
| + return result->TransitionResult(
|
| + holder, transition_array->GetTarget(number));
|
| }
|
| }
|
| result->NotFound();
|
|
|