diff options
author | Chris Lattner <sabre@nondot.org> | 2008-01-05 22:30:17 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-01-05 22:30:17 +0000 |
commit | 60d8139d1b1db8b23c066623d65302dd3dcc4572 (patch) | |
tree | a8f1a0dd49085b2f451db4b9ecf0378316153943 /utils/TableGen/DAGISelEmitter.h | |
parent | 6cefb77a7073057fecd721ae141140d75ce76512 (diff) | |
download | external_llvm-60d8139d1b1db8b23c066623d65302dd3dcc4572.zip external_llvm-60d8139d1b1db8b23c066623d65302dd3dcc4572.tar.gz external_llvm-60d8139d1b1db8b23c066623d65302dd3dcc4572.tar.bz2 |
fix a fixme by improving const correctness.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45633 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/DAGISelEmitter.h')
-rw-r--r-- | utils/TableGen/DAGISelEmitter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/TableGen/DAGISelEmitter.h b/utils/TableGen/DAGISelEmitter.h index 8fb5d6f..278af78 100644 --- a/utils/TableGen/DAGISelEmitter.h +++ b/utils/TableGen/DAGISelEmitter.h @@ -33,12 +33,12 @@ public: private: - void GenerateCodeForPattern(PatternToMatch &Pattern, + void GenerateCodeForPattern(const PatternToMatch &Pattern, std::vector<std::pair<unsigned, std::string> > &GeneratedCode, std::set<std::string> &GeneratedDecl, std::vector<std::string> &TargetOpcodes, std::vector<std::string> &TargetVTs); - void EmitPatterns(std::vector<std::pair<PatternToMatch*, + void EmitPatterns(std::vector<std::pair<const PatternToMatch*, std::vector<std::pair<unsigned, std::string> > > > &Patterns, unsigned Indent, std::ostream &OS); void EmitInstructionSelector(std::ostream &OS); |