summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-12-22 02:04:05 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-12-22 02:04:05 +0000
commitd472ad7c7cb9378367bdc105dd208f80c7cd5998 (patch)
tree33c9457029e1e8f5d7c5a8bb7f352c0b2e05e795 /lib
parent961a0f267083d11271429dd0833ff174c622cf9c (diff)
downloadllvm-d472ad7c7cb9378367bdc105dd208f80c7cd5998.tar.gz
llvm-d472ad7c7cb9378367bdc105dd208f80c7cd5998.tar.bz2
llvm-d472ad7c7cb9378367bdc105dd208f80c7cd5998.tar.xz
Debug dump error.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32743 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/MachineFunction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/MachineFunction.cpp b/lib/CodeGen/MachineFunction.cpp
index 030e893f8f..d26b3258fe 100644
--- a/lib/CodeGen/MachineFunction.cpp
+++ b/lib/CodeGen/MachineFunction.cpp
@@ -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";
}
}