diff options
author | Chris Lattner <sabre@nondot.org> | 2010-03-19 21:56:21 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-03-19 21:56:21 +0000 |
commit | 2e68a02c264c26abc6ed62d59f18813fa7fdb95d (patch) | |
tree | 68cad684e8e656cfa565b4c5a1e5d81a43f58e68 /utils/TableGen/CodeGenDAGPatterns.h | |
parent | 6c7ed6b54949949806797bafdf545fbfecb2cef5 (diff) |
make getOperandNum a static function (since it's just used by
ApplyTypeConstraint) and make it handle multiple result nodes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99003 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/CodeGenDAGPatterns.h')
-rw-r--r-- | utils/TableGen/CodeGenDAGPatterns.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/utils/TableGen/CodeGenDAGPatterns.h b/utils/TableGen/CodeGenDAGPatterns.h index 34fdb595c3..f583f298f6 100644 --- a/utils/TableGen/CodeGenDAGPatterns.h +++ b/utils/TableGen/CodeGenDAGPatterns.h @@ -182,11 +182,6 @@ struct SDTypeConstraint { /// exception. bool ApplyTypeConstraint(TreePatternNode *N, const SDNodeInfo &NodeInfo, TreePattern &TP) const; - - /// getOperandNum - Return the node corresponding to operand #OpNo in tree - /// N, which has NumResults results. - TreePatternNode *getOperandNum(unsigned OpNo, TreePatternNode *N, - unsigned NumResults) const; }; /// SDNodeInfo - One of these records is created for each SDNode instance in |