mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fix ifop null/object inverted logic sense bug.
This commit is contained in:
parent
9cff9bf4d1
commit
269f35e4ad
@ -881,7 +881,6 @@ TraceRecorder::import(LIns* base, ptrdiff_t offset, jsval* p, uint8& t,
|
||||
nativeFrameTracker.set(p, ins);
|
||||
}
|
||||
tracker.set(p, ins);
|
||||
|
||||
#ifdef DEBUG
|
||||
char name[64];
|
||||
JS_ASSERT(strlen(prefix) < 10);
|
||||
@ -1663,7 +1662,7 @@ TraceRecorder::ifop()
|
||||
lir->ins_eq0(lir->ins2(LIR_eq, get(&v), lir->insImm(1))),
|
||||
BRANCH_EXIT);
|
||||
} else if (JSVAL_IS_OBJECT(v)) {
|
||||
guard(!JSVAL_IS_NULL(v), lir->ins_eq0(lir->ins_eq0(get(&v))), BRANCH_EXIT);
|
||||
guard(!JSVAL_IS_NULL(v), lir->ins_eq0(get(&v)), BRANCH_EXIT);
|
||||
} else if (isNumber(v)) {
|
||||
jsdouble d = asNumber(v);
|
||||
jsdpun u;
|
||||
|
Loading…
Reference in New Issue
Block a user