diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2013-11-01 14:53:14 +0000 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2013-11-01 14:53:14 +0000 |
commit | 8d13de3f0900e674920921bfb2d1b4c1893c0f27 (patch) | |
tree | 5f5ef4b3acbe69ce37c6745daa53c366ba5aa43f /lib/CodeGen | |
parent | 7208b0763c9fca2c6364c642d28fd014a496cc37 (diff) | |
download | external_llvm-8d13de3f0900e674920921bfb2d1b4c1893c0f27.zip external_llvm-8d13de3f0900e674920921bfb2d1b4c1893c0f27.tar.gz external_llvm-8d13de3f0900e674920921bfb2d1b4c1893c0f27.tar.bz2 |
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
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp index 8ff8427..59d72b4 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp @@ -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. |