Fixing an order of evaluation error in an assert.

llvm-svn: 193861
This commit is contained in:
Aaron Ballman 2013-11-01 14:53:14 +00:00
parent 1fbcdca9e3
commit 96321aa523
1 changed files with 1 additions and 1 deletions

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.