mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
[JAEGER] Merge backout.
This commit is contained in:
commit
652df661b5
@ -1102,6 +1102,8 @@ StrictlyEqual(JSContext *cx, const Value &lref, const Value &rref)
|
||||
return JSDOUBLE_COMPARE(lval.toDouble(), ==, rval.toDouble(), JS_FALSE);
|
||||
if (lval.isObject())
|
||||
return EqualObjects(cx, &lval.toObject(), &rval.toObject());
|
||||
if (lval.isUndefined())
|
||||
return true;
|
||||
return lval.payloadAsRawUint32() == rval.payloadAsRawUint32();
|
||||
}
|
||||
|
||||
|
@ -160,7 +160,8 @@ class Assembler : public BaseAssembler
|
||||
jv.asBits = JSVAL_BITS(Jsvalify(v));
|
||||
|
||||
store32(ImmTag(jv.s.tag), tagOf(address));
|
||||
store32(Imm32(jv.s.payload.u32), payloadOf(address));
|
||||
if (!v.isUndefined())
|
||||
store32(Imm32(jv.s.payload.u32), payloadOf(address));
|
||||
}
|
||||
|
||||
void storeValue(const Value &v, BaseIndex address) {
|
||||
|
@ -1099,6 +1099,8 @@ StubEqualityOp(VMFrame &f)
|
||||
} else {
|
||||
cond = (l == r) == EQ;
|
||||
}
|
||||
} else if (lval.isNullOrUndefined()) {
|
||||
cond = EQ;
|
||||
} else {
|
||||
cond = (lval.payloadAsRawUint32() == rval.payloadAsRawUint32()) == EQ;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user