mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
[JAEGER] Make sure to flip EQ/NE test when fusing with IFEQ.
This commit is contained in:
parent
46c6541654
commit
7c056b3f2f
@ -419,9 +419,11 @@ mjit::Compiler::jsop_relational(JSOp op, BoolStub stub, jsbytecode *target, JSOp
|
||||
case Assembler::GreaterThanOrEqual:
|
||||
cond = Assembler::LessThan;
|
||||
break;
|
||||
case Assembler::Equal: /* fall through */
|
||||
case Assembler::Equal:
|
||||
cond = Assembler::NotEqual;
|
||||
break;
|
||||
case Assembler::NotEqual:
|
||||
/* Equal and NotEqual are commutative. */
|
||||
cond = Assembler::Equal;
|
||||
break;
|
||||
default:
|
||||
JS_NOT_REACHED("hello");
|
||||
|
Loading…
Reference in New Issue
Block a user