[llvm-commits] [llvm] r93777 - /llvm/trunk/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp
Chris Lattner
clattner at apple.com
Mon Jan 18 14:07:12 PST 2010
On Jan 18, 2010, at 2:01 PM, Jim Grosbach wrote:
> Author: grosbach
> Date: Mon Jan 18 16:01:39 2010
> New Revision: 93777
>
> URL: http://llvm.org/viewvc/llvm-project?rev=93777&view=rev
> Log:
> Minor cleanup for jump table printing. Need a reference, not a
> pointer, for
> printing via <<. Otherwise we just print the pointer value.
My bug, sorry about that, thanks for fixing it!
-Chris
>
> Modified:
> llvm/trunk/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp
>
> Modified: llvm/trunk/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp?rev=93777&r1=93776&r2=93777&view=diff
>
> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
> --- llvm/trunk/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp (original)
> +++ llvm/trunk/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp Mon Jan
> 18 16:01:39 2010
> @@ -968,7 +968,7 @@
> else if (HalfWordOffset)
> O << MAI->getData16bitsDirective();
> if (ByteOffset || HalfWordOffset) {
> - O << '(' << GetMBBSymbol(MBB->getNumber());
> + O << '(' << *GetMBBSymbol(MBB->getNumber());
> O << "-" << MAI->getPrivateGlobalPrefix() << "JTI" <<
> getFunctionNumber()
> << '_' << JTI << '_' << MO2.getImm() << ")/2";
> } else {
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list