summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineInstr.cpp
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
commitd8ea18b6953c91eb961829f817425ddbbee7e059 (patch)
tree949b5c42db4256f4e4b6347b629d0a37f52e54a9 /llvm/lib/CodeGen/MachineInstr.cpp
parent63d8375f8065eaf880ed80690fe83075dac297b9 (diff)
downloadbcm5719-llvm-d8ea18b6953c91eb961829f817425ddbbee7e059.tar.gz
bcm5719-llvm-d8ea18b6953c91eb961829f817425ddbbee7e059.zip
Print is const!
llvm-svn: 4737
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineInstr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineInstr.cpp b/llvm/lib/CodeGen/MachineInstr.cpp
index 91ee5123e19..ffd2e6e68f3 100644
--- a/llvm/lib/CodeGen/MachineInstr.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud