mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
Fix gcc -Wparentheses warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208675 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2a74dfe388
commit
ae0a8337f2
@ -642,7 +642,8 @@ public:
|
||||
|
||||
void addOperand(StringRef Op, int OpIdx, int PrintMethodIdx = -1) {
|
||||
assert(OpIdx >= 0 && OpIdx < 0xFE && "Idx out of range");
|
||||
assert(PrintMethodIdx == -1 || PrintMethodIdx < 0xFF && "Idx out of range");
|
||||
assert((PrintMethodIdx == -1 || PrintMethodIdx < 0xFF) &&
|
||||
"Idx out of range");
|
||||
OpMap[Op] = std::make_pair(OpIdx, PrintMethodIdx);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user