Index: src/runtime/runtime-array.cc |
diff --git a/src/runtime/runtime-array.cc b/src/runtime/runtime-array.cc |
index a017236a540643ef08e8b0f6b64c95d4dc0752b5..a69d8c87f8b0d47e97be162b66b7fcb971e3de56 100644 |
--- a/src/runtime/runtime-array.cc |
+++ b/src/runtime/runtime-array.cc |
@@ -1170,7 +1170,8 @@ RUNTIME_FUNCTION(Runtime_NormalizeElements) { |
DCHECK(args.length() == 1); |
CONVERT_ARG_HANDLE_CHECKED(JSObject, array, 0); |
RUNTIME_ASSERT(!array->HasExternalArrayElements() && |
- !array->HasFixedTypedArrayElements()); |
+ !array->HasFixedTypedArrayElements() && |
+ !array->IsJSGlobalProxy()); |
JSObject::NormalizeElements(array); |
return *array; |
} |