mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 854396 - OdinMonkey: make 'unsigned' not be a subtype of 'extern' (r=sstangl)
--HG-- extra : rebase_source : d3edd1114ef097d8bdde537bcfc74ddee77e40d0
This commit is contained in:
parent
e0936f71a7
commit
346ca9a320
@ -390,7 +390,7 @@ class Type
|
||||
}
|
||||
|
||||
bool isExtern() const {
|
||||
return isDouble() || isSigned() || isUnsigned();
|
||||
return isDouble() || isSigned();
|
||||
}
|
||||
|
||||
MIRType toMIRType() const {
|
||||
|
@ -28,6 +28,7 @@ assertAsmTypeFail('glob', 'imp', USE_ASM + 'var inc=imp.inc; function f() { retu
|
||||
assertAsmTypeFail('glob', 'imp', USE_ASM + 'var inc=imp.inc; function f() { return +((inc()|0) + 1.1) } return f');
|
||||
assertAsmTypeFail('glob', 'imp', USE_ASM + 'var inc=imp.inc; function f() { return +(inc() + 1.1) } return f');
|
||||
assertAsmTypeFail('glob', 'imp', USE_ASM + 'var inc=imp.inc; function f() { return (+inc() + 1)|0 } return f');
|
||||
assertAsmTypeFail('glob', 'imp', USE_ASM + 'var inc=imp.inc; function f() { var i = 0; inc(i>>>0) } return f');
|
||||
|
||||
assertAsmLinkFail(asmCompile('glob', 'imp', USE_ASM + 'var inc=imp.inc; function f() { return inc()|0 } return f'), null, {});
|
||||
assertAsmLinkFail(asmCompile('glob', 'imp', USE_ASM + 'var inc=imp.inc; function f() { return inc()|0 } return f'), null, {inc:0});
|
||||
|
Loading…
Reference in New Issue
Block a user