mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Follow-up fix for SanityFilter triggering on ill-typed LIR (bug 513844, no_r=me).
This commit is contained in:
parent
fdcaf63219
commit
0638ddff8d
@ -8390,7 +8390,7 @@ TraceRecorder::box_jsval(jsval v, LIns* v_ins)
|
||||
if (isNumber(v)) {
|
||||
LIns* args[] = { v_ins, cx_ins };
|
||||
v_ins = lir->insCall(&js_BoxDouble_ci, args);
|
||||
guard(false, lir->ins2(LIR_qeq, v_ins, INS_CONSTWORD(JSVAL_ERROR_COOKIE)),
|
||||
guard(false, lir->ins2(LIR_peq, v_ins, INS_CONSTWORD(JSVAL_ERROR_COOKIE)),
|
||||
OOM_EXIT);
|
||||
return v_ins;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user