mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset aa9a0b34bbd8 (bug 878435) for checktest failures.
This commit is contained in:
parent
677b915d13
commit
289a9dd76e
@ -3985,7 +3985,7 @@ CheckComparison(FunctionCompiler &f, ParseNode *comp, MDefinition **def, Type *t
|
||||
return false;
|
||||
|
||||
if ((lhsType.isSigned() && rhsType.isSigned()) || (lhsType.isUnsigned() && rhsType.isUnsigned())) {
|
||||
MCompare::CompareType compareType = (lhsType.isUnsigned() && rhsType.isUnsigned())
|
||||
MCompare::CompareType compareType = lhsType.isUnsigned()
|
||||
? MCompare::Compare_UInt32
|
||||
: MCompare::Compare_Int32;
|
||||
*def = f.compare(lhsDef, rhsDef, comp->getOp(), compareType);
|
||||
|
@ -1,11 +0,0 @@
|
||||
function g()
|
||||
{
|
||||
"use asm";
|
||||
function f()
|
||||
{
|
||||
return (0 > (0x80000000 | 0)) | 0;
|
||||
}
|
||||
return f;
|
||||
}
|
||||
|
||||
assertEq(g()(), (0 > (0x80000000 | 0)) | 0);
|
Loading…
Reference in New Issue
Block a user