*** empty log message ***
authorRuchira Sasanka <sasanka@students.uiuc.edu>
Tue, 7 Aug 2001 21:01:23 +0000 (21:01 +0000)
committerRuchira Sasanka <sasanka@students.uiuc.edu>
Tue, 7 Aug 2001 21:01:23 +0000 (21:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/MachineInstr.h
lib/CodeGen/MachineInstr.cpp

index 514033ce13c0e860584b341b57c808e57e7a37cf..166d5a21f3b50ac3c3dde0934f894f1634d5b6de 100644 (file)
@@ -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);
index d09813272de0ea834c2b9a92636e3e85028bb83b..298a9cd61439926b45281b3d7327cffa65aa2869 100644 (file)
@@ -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 << "    ";