Debug dump error.
authorEvan Cheng <evan.cheng@apple.com>
Fri, 22 Dec 2006 02:04:05 +0000 (02:04 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 22 Dec 2006 02:04:05 +0000 (02:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32743 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/MachineFunction.cpp

index 030e893f8f05210b01e671af7a56488e0c046391..d26b3258fe8fe6c0c7fc490605c01bb06caf4835 100644 (file)
@@ -466,7 +466,7 @@ void MachineConstantPool::print(std::ostream &OS) const {
       Constants[i].Val.MachineCPVal->print(OS);
     else
       OS << *(Value*)Constants[i].Val.ConstVal;
-    OS << " , offset=" << Constants[i].Offset;
+    OS << " , offset=" << Constants[i].getOffset();
     OS << "\n";
   }
 }