remove some code that isn't ready for prime time
authorChris Lattner <sabre@nondot.org>
Wed, 14 Sep 2005 06:03:10 +0000 (06:03 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 14 Sep 2005 06:03:10 +0000 (06:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23346 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/DAGISelEmitter.cpp
utils/TableGen/DAGISelEmitter.h

index 7418435bab2681c0e490a4f76297845180718500..84cffe6bcb61e321002350a1c07d251c20f88394 100644 (file)
@@ -701,8 +701,8 @@ void DAGISelEmitter::ParseAndResolveInstructions() {
     // the instruction.  This determines the order that operands are added to
     // the machine instruction the node corresponds to.
     unsigned NumResults = SetDestinations.size();
-    assert(NumResults == 1 &&
-           "This code only handles a single set right now!");
+    //assert(NumResults == 1 &&
+    //       "This code only handles a single set right now!");
 
     unsigned NumOperands = 0;
               
index 3c61224bb829b97460c4c41c689d1b201e692cd2..d475e8ed9b3120ce9c3d9402c2fb61d3b8e61559 100644 (file)
@@ -282,10 +282,6 @@ namespace llvm {
     DAGInstruction(TreePattern *TP, unsigned results, unsigned ops)
       : Pattern(TP), NumResults(results), NumOperands(ops) {}
 
-    ~DAGInstruction() {
-      delete Pattern;
-    }
-
     TreePattern *getPattern() const { return Pattern; }
     unsigned getNumResults() const { return NumResults; }
     unsigned getNumOperands() const { return NumOperands; }