diff options
author | Chris Lattner <sabre@nondot.org> | 2010-02-17 01:03:09 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-02-17 01:03:09 +0000 |
commit | c96087b3433582f1c2bdb4f0ad3dad7f0b350339 (patch) | |
tree | 504b2a4013314d19cc912027c296f68a17d53763 /utils/TableGen/DAGISelMatcherGen.cpp | |
parent | 9ee7123ab462d97a2b242280e9bf0b47883531cb (diff) | |
download | llvm-c96087b3433582f1c2bdb4f0ad3dad7f0b350339.tar.gz llvm-c96087b3433582f1c2bdb4f0ad3dad7f0b350339.tar.bz2 llvm-c96087b3433582f1c2bdb4f0ad3dad7f0b350339.tar.xz |
improve comments on OPC_Record to say what we're recording a node.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96433 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/DAGISelMatcherGen.cpp')
-rw-r--r-- | utils/TableGen/DAGISelMatcherGen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/DAGISelMatcherGen.cpp b/utils/TableGen/DAGISelMatcherGen.cpp index c44be1cad0..5591cfb2a8 100644 --- a/utils/TableGen/DAGISelMatcherGen.cpp +++ b/utils/TableGen/DAGISelMatcherGen.cpp @@ -288,7 +288,7 @@ void MatcherGen::EmitMatchCode(const TreePatternNode *N, NumRecorded += 2; // Input and output chains. } else { // If it is a normal named node, we must emit a 'Record' opcode. - AddMatcherNode(new RecordMatcherNode()); + AddMatcherNode(new RecordMatcherNode(N->getName())); NumRecorded = 1; } NextRecordedOperandNo += NumRecorded; |