summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-09-14 06:03:10 +0000
committerChris Lattner <sabre@nondot.org>2005-09-14 06:03:10 +0000
commit71cdb7fc7a9c9bba4dbdf767c471317f9ea00fc1 (patch)
tree467be6c287690916bb217ba553bd84335a6249c6 /utils
parentec67643e8682402cfd1535ff88f5ce7af0812be0 (diff)
downloadexternal_llvm-71cdb7fc7a9c9bba4dbdf767c471317f9ea00fc1.zip
external_llvm-71cdb7fc7a9c9bba4dbdf767c471317f9ea00fc1.tar.gz
external_llvm-71cdb7fc7a9c9bba4dbdf767c471317f9ea00fc1.tar.bz2
remove some code that isn't ready for prime time
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23346 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/DAGISelEmitter.cpp4
-rw-r--r--utils/TableGen/DAGISelEmitter.h4
2 files changed, 2 insertions, 6 deletions
diff --git a/utils/TableGen/DAGISelEmitter.cpp b/utils/TableGen/DAGISelEmitter.cpp
index 7418435..84cffe6 100644
--- a/utils/TableGen/DAGISelEmitter.cpp
+++ b/utils/TableGen/DAGISelEmitter.cpp
@@ -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;
diff --git a/utils/TableGen/DAGISelEmitter.h b/utils/TableGen/DAGISelEmitter.h
index 3c61224..d475e8e 100644
--- a/utils/TableGen/DAGISelEmitter.h
+++ b/utils/TableGen/DAGISelEmitter.h
@@ -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; }