[Stackmap] Remove erroneous assert.
authorJuergen Ributzka <juergen@apple.com>
Fri, 1 Nov 2013 17:53:27 +0000 (17:53 +0000)
committerJuergen Ributzka <juergen@apple.com>
Fri, 1 Nov 2013 17:53:27 +0000 (17:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193871 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp

index d1783da9b683f314c1c8299190e3b2d19a610c09..a0b965c6976227fb450889be26daf8df9b5dec61 100644 (file)
@@ -6785,9 +6785,6 @@ void SelectionDAGBuilder::visitStackmap(const CallInst &CI) {
   SDNode *Call = CallEnd->getOperand(0).getNode();
   bool hasGlue = Call->getGluedNode();
 
   SDNode *Call = CallEnd->getOperand(0).getNode();
   bool hasGlue = Call->getGluedNode();
 
-//  assert(Call->getNumOperands() == (hasGlue ? 2 : 1) &&
-//         "Unexpected extra stackmap call arguments.");
-
   // Replace the target specific call node with the stackmap intrinsic.
   SmallVector<SDValue, 8> Ops;
 
   // Replace the target specific call node with the stackmap intrinsic.
   SmallVector<SDValue, 8> Ops;