From: Ruchira Sasanka Date: Tue, 7 Aug 2001 21:01:23 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=0b03c6a492a0e09049b6c0bd127bd0ede7732aa5;p=oota-llvm.git *** empty log message *** git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h index 514033ce13c..166d5a21f3b 100644 --- a/include/llvm/CodeGen/MachineInstr.h +++ b/include/llvm/CodeGen/MachineInstr.h @@ -237,7 +237,7 @@ public: const MachineOperand& getOperand (unsigned int i) const; MachineOperand& getOperand (unsigned int i); - void dump (unsigned int indent = 0); + void dump (unsigned int indent = 0) const; public: friend ostream& operator<<(ostream& os, const MachineInstr& minstr); diff --git a/lib/CodeGen/MachineInstr.cpp b/lib/CodeGen/MachineInstr.cpp index d09813272de..298a9cd6143 100644 --- a/lib/CodeGen/MachineInstr.cpp +++ b/lib/CodeGen/MachineInstr.cpp @@ -69,7 +69,7 @@ MachineInstr::SetMachineOperand(unsigned int i, } void -MachineInstr::dump(unsigned int indent) +MachineInstr::dump(unsigned int indent) const { for (unsigned i=0; i < indent; i++) cout << " ";