mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 793284 - Use non-freezing checks in TestCommonPropFunc() to avoid bogus invalidations. (r=djvj)
This commit is contained in:
parent
30183ad75c
commit
29e32d6fb7
@ -5389,7 +5389,7 @@ IonBuilder::TestCommonPropFunc(JSContext *cx, types::StackTypeSet *types, Handle
|
|||||||
types::HeapTypeSet *propSet = typeObj->getProperty(cx, typeId, false);
|
types::HeapTypeSet *propSet = typeObj->getProperty(cx, typeId, false);
|
||||||
if (!propSet)
|
if (!propSet)
|
||||||
return false;
|
return false;
|
||||||
if (propSet->isOwnProperty(cx, typeObj, false))
|
if (propSet->ownProperty(false))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
// Check the DOM status of the instance type
|
// Check the DOM status of the instance type
|
||||||
@ -5477,7 +5477,7 @@ IonBuilder::TestCommonPropFunc(JSContext *cx, types::StackTypeSet *types, Handle
|
|||||||
types::HeapTypeSet *propSet = typeObj->getProperty(cx, typeId, false);
|
types::HeapTypeSet *propSet = typeObj->getProperty(cx, typeId, false);
|
||||||
if (!propSet)
|
if (!propSet)
|
||||||
return false;
|
return false;
|
||||||
if (propSet->isOwnProperty(cx, typeObj, false))
|
if (propSet->ownProperty(false))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
curObj = curObj->getProto();
|
curObj = curObj->getProto();
|
||||||
|
Loading…
Reference in New Issue
Block a user