From d472ad7c7cb9378367bdc105dd208f80c7cd5998 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Fri, 22 Dec 2006 02:04:05 +0000 Subject: [PATCH] Debug dump error. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32743 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/MachineFunction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CodeGen/MachineFunction.cpp b/lib/CodeGen/MachineFunction.cpp index 030e893f8f0..d26b3258fe8 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"; } }