Revision: 22809
Author: [email protected]
Date: Mon Aug 4 11:00:19 2014 UTC
Log: Runtime assert added to %NormalizeElements.
BUG=399654
LOG=N
[email protected]
Review URL: https://codereview.chromium.org/423073007
http://code.google.com/p/v8/source/detail?r=22809
Modified:
/branches/bleeding_edge/src/runtime.cc
=======================================
--- /branches/bleeding_edge/src/runtime.cc Mon Aug 4 09:01:26 2014 UTC
+++ /branches/bleeding_edge/src/runtime.cc Mon Aug 4 11:00:19 2014 UTC
@@ -15092,6 +15092,8 @@
HandleScope scope(isolate);
ASSERT(args.length() == 1);
CONVERT_ARG_HANDLE_CHECKED(JSObject, array, 0);
+ RUNTIME_ASSERT(!array->HasExternalArrayElements() &&
+ !array->HasFixedTypedArrayElements());
JSObject::NormalizeElements(array);
return *array;
}
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.