mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-19 06:31:18 +00:00
Fix MSVC warning ( | with bool and unsigned int).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86417 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d71153577f
commit
f0bb41c078
@ -2039,7 +2039,7 @@ bool LLParser::ParseValID(ValID &ID) {
|
|||||||
ParseToken(lltok::StringConstant, "expected constraint string"))
|
ParseToken(lltok::StringConstant, "expected constraint string"))
|
||||||
return true;
|
return true;
|
||||||
ID.StrVal2 = Lex.getStrVal();
|
ID.StrVal2 = Lex.getStrVal();
|
||||||
ID.UIntVal = HasSideEffect | ((unsigned)AlignStack<<1);
|
ID.UIntVal = unsigned(HasSideEffect) | (unsigned(AlignStack)<<1);
|
||||||
ID.Kind = ValID::t_InlineAsm;
|
ID.Kind = ValID::t_InlineAsm;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user