// 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;
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; }