Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 36a8e5c2aabc360e74cb58a40acd35fb6f4ed151..1b5e855ed8b1f1c785693522fd53d1e62177945d 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -2284,6 +2284,9 @@ MaybeObject* JSObject::NormalizeProperties(PropertyNormalizationMode mode, |
// The global object is always normalized. |
ASSERT(!IsGlobalObject()); |
+ // JSGlobalProxy must never be normalized |
+ ASSERT(!IsJSGlobalProxy()); |
+ |
// Allocate new content. |
int property_count = map()->NumberOfDescribedProperties(); |
if (expected_additional_properties > 0) { |