forked from OSchip/llvm-project
Fixing an order of evaluation error in an assert.
llvm-svn: 193861
This commit is contained in:
parent
1fbcdca9e3
commit
96321aa523
|
@ -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…
Reference in New Issue