Index: src/transitions-inl.h |
diff --git a/src/transitions-inl.h b/src/transitions-inl.h |
index 517fdc806d8f2e66bfa214e97aaaa2c900ef3059..16496ddd2d7e76a31167dfc91562771bc65823ad 100644 |
--- a/src/transitions-inl.h |
+++ b/src/transitions-inl.h |
@@ -177,8 +177,7 @@ Map* TransitionArray::GetTargetMap(int transition_number) { |
PropertyDetails TransitionArray::GetTargetDetails(int transition_number) { |
Map* map = GetTargetMap(transition_number); |
DescriptorArray* descriptors = map->instance_descriptors(); |
- String* key = GetKey(transition_number); |
- int descriptor = descriptors->SearchWithCache(key); |
+ int descriptor = descriptors->LastAdded(); |
ASSERT(descriptor != DescriptorArray::kNotFound); |
return descriptors->GetDetails(descriptor); |
} |