commit | 121889c3983b097a5fbfd9f03339e116179f4730 | [log] [tgz] |
---|---|---|
author | Mikhail Glushenkov <foldr@codedgers.com> | Tue May 06 17:26:53 2008 +0000 |
committer | Mikhail Glushenkov <foldr@codedgers.com> | Tue May 06 17:26:53 2008 +0000 |
tree | 250e3442503463eac2cdcb7970b4e1b104541259 | |
parent | 7d783e87e4aa95e1bc3100c45c0980ac3f503a17 [diff] [blame] |
Add inward edge counters to Nodes; Associate JoinLists with JoinTools. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50738 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/utils/TableGen/LLVMCCConfigurationEmitter.cpp b/utils/TableGen/LLVMCCConfigurationEmitter.cpp index fe8e506..b0ecab3 100644 --- a/utils/TableGen/LLVMCCConfigurationEmitter.cpp +++ b/utils/TableGen/LLVMCCConfigurationEmitter.cpp
@@ -782,8 +782,12 @@ return; // Header - O << "class " << P.Name << " : public Tool {\n" - << "public:\n"; + O << "class " << P.Name << " : public "; + if (P.isJoin()) + O << "JoinTool"; + else + O << "Tool"; + O << "{\npublic:\n"; EmitNameMethod(P, O); EmitInOutLanguageMethods(P, O);