mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 807498 - Do type monitoring on disabled GetElem ICs. r=sstangl
This commit is contained in:
parent
695e7f0d25
commit
eb2bc2130c
@ -1704,10 +1704,11 @@ js::ion::GetElementCache(JSContext *cx, size_t cacheIndex, HandleObject obj, Han
|
||||
jsbytecode *pc;
|
||||
cache.getScriptedLocation(&script, &pc);
|
||||
RootedValue lval(cx, ObjectValue(*obj));
|
||||
|
||||
|
||||
if (cache.isDisabled()) {
|
||||
if (!GetElementOperation(cx, JSOp(*pc), lval, idval, res))
|
||||
return false;
|
||||
types::TypeScript::Monitor(cx, script, pc, res);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user