diff options
| author | Jim Grosbach <grosbach@apple.com> | 2010-10-08 00:21:28 +0000 |
|---|---|---|
| committer | Jim Grosbach <grosbach@apple.com> | 2010-10-08 00:21:28 +0000 |
| commit | a7b6d58f45096a7996c09ad77f8a8bafd1eca3e1 (patch) | |
| tree | 04fb4e3972a6cc2133a620f7c908fec09b8d018d /llvm/utils/TableGen/CodeEmitterGen.cpp | |
| parent | 8941142af83243ece14d49c4f7adb551aa19af82 (diff) | |
| download | bcm5719-llvm-a7b6d58f45096a7996c09ad77f8a8bafd1eca3e1.tar.gz bcm5719-llvm-a7b6d58f45096a7996c09ad77f8a8bafd1eca3e1.zip | |
Make <target>CodeEmitter::getBinaryCodeForInstr() a const method.
llvm-svn: 116018
Diffstat (limited to 'llvm/utils/TableGen/CodeEmitterGen.cpp')
| -rw-r--r-- | llvm/utils/TableGen/CodeEmitterGen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/CodeEmitterGen.cpp b/llvm/utils/TableGen/CodeEmitterGen.cpp index ac085120bf3..a039e0b1e35 100644 --- a/llvm/utils/TableGen/CodeEmitterGen.cpp +++ b/llvm/utils/TableGen/CodeEmitterGen.cpp @@ -81,7 +81,7 @@ void CodeEmitterGen::run(raw_ostream &o) { // Emit function declaration o << "unsigned " << Target.getName() << "CodeEmitter::" - << "getBinaryCodeForInstr(const MachineInstr &MI) {\n"; + << "getBinaryCodeForInstr(const MachineInstr &MI) const {\n"; // Emit instruction base values o << " static const unsigned InstBits[] = {\n"; |

