mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
Fixing an order of evaluation error in an assert.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193861 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7208b0763c
commit
8d13de3f09
@ -6785,7 +6785,7 @@ void SelectionDAGBuilder::visitStackmap(const CallInst &CI) {
|
||||
SDNode *Call = CallEnd->getOperand(0).getNode();
|
||||
bool hasGlue = Call->getGluedNode();
|
||||
|
||||
assert(Call->getNumOperands() == hasGlue ? 2 : 1 &&
|
||||
assert(Call->getNumOperands() == (hasGlue ? 2 : 1) &&
|
||||
"Unexpected extra stackmap call arguments.");
|
||||
|
||||
// Replace the target specific call node with the stackmap intrinsic.
|
||||
|
Loading…
x
Reference in New Issue
Block a user