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 | f773f037364e6c005fadab626d4eaedebb6cb6a6 (patch) | |
tree | 42c6f76c0fe8d918c8f3f819b1e0b2b1f97b5535 /llvm/utils/TableGen/DAGISelMatcherGen.cpp | |
parent | cf39be32bf78088c7b279428a8a4d9210e996256 (diff) | |
download | bcm5719-llvm-f773f037364e6c005fadab626d4eaedebb6cb6a6.tar.gz bcm5719-llvm-f773f037364e6c005fadab626d4eaedebb6cb6a6.zip |
improve comments on OPC_Record to say what we're recording a node.
llvm-svn: 96433
Diffstat (limited to 'llvm/utils/TableGen/DAGISelMatcherGen.cpp')
-rw-r--r-- | llvm/utils/TableGen/DAGISelMatcherGen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/DAGISelMatcherGen.cpp b/llvm/utils/TableGen/DAGISelMatcherGen.cpp index c44be1cad02..5591cfb2a88 100644 --- a/llvm/utils/TableGen/DAGISelMatcherGen.cpp +++ b/llvm/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; |