aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-11-17 23:22:13 +0000
committerChris Lattner <sabre@nondot.org>2002-11-17 23:22:13 +0000
commitaf55be15dfa5321f470ce9734fabd858f5af7a88 (patch)
treef7e31e81a0bbe55ff4efff47bd9bd9aa9fdebe4e /lib/CodeGen
parent3b49394f4fa37f6a2086e5a91d934385baeeddbf (diff)
downloadexternal_llvm-af55be15dfa5321f470ce9734fabd858f5af7a88.zip
external_llvm-af55be15dfa5321f470ce9734fabd858f5af7a88.tar.gz
external_llvm-af55be15dfa5321f470ce9734fabd858f5af7a88.tar.bz2
Print is const!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4737 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/MachineInstr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/MachineInstr.cpp b/lib/CodeGen/MachineInstr.cpp
index 91ee512..ffd2e6e 100644
--- a/lib/CodeGen/MachineInstr.cpp
+++ b/lib/CodeGen/MachineInstr.cpp
@@ -268,7 +268,7 @@ static void print(const MachineOperand &MO, std::ostream &OS,
OS << ")";
}
-void MachineInstr::print(std::ostream &OS, const TargetMachine &TM) {
+void MachineInstr::print(std::ostream &OS, const TargetMachine &TM) const {
unsigned StartOp = 0;
// Specialize printing if op#0 is definition