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 | 96321aa5231052e17e08c635b4164f63e3986136 (patch) | |
tree | fbe24a7ce5f6e489207ec48a8204cec617d2d5a9 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | |
parent | 1fbcdca9e3db2fedcda158a97f5f67229426f2fb (diff) | |
download | bcm5719-llvm-96321aa5231052e17e08c635b4164f63e3986136.tar.gz bcm5719-llvm-96321aa5231052e17e08c635b4164f63e3986136.zip |
Fixing an order of evaluation error in an assert.
llvm-svn: 193861
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp index 8ff8427b4d1..59d72b476bc 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp +++ b/llvm/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. |