Chromium Code Reviews| Index: src/objects.cc |
| diff --git a/src/objects.cc b/src/objects.cc |
| index 859cb8a520acc9c7d55c21439ebe5ca9d677cf47..e283cc787b00729b76c6c9e9eaffdcae1b9621bb 100644 |
| --- a/src/objects.cc |
| +++ b/src/objects.cc |
| @@ -2501,11 +2501,7 @@ Handle<TransitionArray> Map::AddTransition(Handle<Map> map, |
| Handle<Name> key, |
| Handle<Map> target, |
| SimpleTransitionFlag flag) { |
| - if (map->HasTransitionArray()) { |
| - return TransitionArray::CopyInsert(map, key, target); |
| - } |
| - return TransitionArray::NewWith( |
| - flag, key, target, handle(map->GetBackPointer(), map->GetIsolate())); |
| + return TransitionArray::AddTransition(map, key, target, flag); |
|
Toon Verwaest
2014/04/10 11:49:28
I presume there's no point anymore to having this
mvstanton
2014/04/10 13:10:45
Yep, bye-bye silly wabbit.
|
| } |