Avoid normalizing global proxy for fuzzing purposes.
R=danno@chromium.org Review URL: https://codereview.chromium.org/183313002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19587 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
aa14020bc7
commit
ce0f1b3d5d
@ -2478,7 +2478,7 @@ RUNTIME_FUNCTION(MaybeObject*,
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user