| Index: src/handles.cc
|
| ===================================================================
|
| --- src/handles.cc (revision 6710)
|
| +++ src/handles.cc (working copy)
|
| @@ -874,7 +874,7 @@
|
| int expected_additional_properties,
|
| bool condition) {
|
| object_ = object;
|
| - if (condition && object_->HasFastProperties()) {
|
| + if (condition && object_->HasFastProperties() && !object->IsJSGlobalProxy()) {
|
| // Normalize the properties of object to avoid n^2 behavior
|
| // when extending the object multiple properties. Indicate the number of
|
| // properties to be added.
|
|
|