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:
Aaron Ballman 2013-11-01 14:53:14 +00:00
parent 7208b0763c
commit 8d13de3f09

View File

@ -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.