Revision: 19587
Author: [email protected]
Date: Thu Feb 27 16:27:22 2014 UTC
Log: Avoid normalizing global proxy for fuzzing purposes.
[email protected]
Review URL: https://codereview.chromium.org/183313002
http://code.google.com/p/v8/source/detail?r=19587
Modified:
/branches/bleeding_edge/src/runtime.cc
=======================================
--- /branches/bleeding_edge/src/runtime.cc Tue Feb 25 12:18:30 2014 UTC
+++ /branches/bleeding_edge/src/runtime.cc Thu Feb 27 16:27:22 2014 UTC
@@ -2478,7 +2478,7 @@
ASSERT(args.length() == 2);
CONVERT_ARG_HANDLE_CHECKED(JSObject, object, 0);
CONVERT_SMI_ARG_CHECKED(properties, 1);
- if (object->HasFastProperties()) {
+ if (object->HasFastProperties() && !object->IsJSGlobalProxy()) {
JSObject::NormalizeProperties(object, KEEP_INOBJECT_PROPERTIES,
properties);
}
return *object;
--
--
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/groups/opt_out.