From 1c8d6ce01571fa445b021e1e2b152aed138cea33 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 14 Sep 2005 06:03:10 +0000 Subject: [PATCH] remove some code that isn't ready for prime time llvm-svn: 23346 --- llvm/utils/TableGen/DAGISelEmitter.cpp | 4 ++-- llvm/utils/TableGen/DAGISelEmitter.h | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/llvm/utils/TableGen/DAGISelEmitter.cpp b/llvm/utils/TableGen/DAGISelEmitter.cpp index 7418435bab26..84cffe6bcb61 100644 --- a/llvm/utils/TableGen/DAGISelEmitter.cpp +++ b/llvm/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/llvm/utils/TableGen/DAGISelEmitter.h b/llvm/utils/TableGen/DAGISelEmitter.h index 3c61224bb829..d475e8ed9b31 100644 --- a/llvm/utils/TableGen/DAGISelEmitter.h +++ b/llvm/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; }