mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 816701 - Fix branchTestObjShape to use input condition instead of hardcoding Assembler::NotEqual. r=mjrosenb
This commit is contained in:
parent
b40f3d5c43
commit
0ca5d1ea2e
@ -143,8 +143,7 @@ class MacroAssembler : public MacroAssemblerSpecific
|
||||
branchPtr(cond, Address(scratch, BaseShape::offsetOfClass()), ImmWord(clasp), label);
|
||||
}
|
||||
void branchTestObjShape(Condition cond, Register obj, const Shape *shape, Label *label) {
|
||||
branchPtr(Assembler::NotEqual, Address(obj, JSObject::offsetOfShape()),
|
||||
ImmGCPtr(shape), label);
|
||||
branchPtr(cond, Address(obj, JSObject::offsetOfShape()), ImmGCPtr(shape), label);
|
||||
}
|
||||
|
||||
void loadObjPrivate(Register obj, uint32_t nfixed, Register dest) {
|
||||
|
Loading…
Reference in New Issue
Block a user