[llvm-branch-commits] [llvm-branch] r100539 - /llvm/branches/Apple/Morbo/lib/CodeGen/AsmPrinter/DwarfDebug.cpp

Bill Wendling isanbard at gmail.com
Tue Apr 6 11:22:40 PDT 2010


Author: void
Date: Tue Apr  6 13:22:39 2010
New Revision: 100539

URL: http://llvm.org/viewvc/llvm-project?rev=100539&view=rev
Log:
Asm change placing isLittleEndian in a different place hasn't been merged yet.

Modified:
    llvm/branches/Apple/Morbo/lib/CodeGen/AsmPrinter/DwarfDebug.cpp

Modified: llvm/branches/Apple/Morbo/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Morbo/lib/CodeGen/AsmPrinter/DwarfDebug.cpp?rev=100539&r1=100538&r2=100539&view=diff
==============================================================================
--- llvm/branches/Apple/Morbo/lib/CodeGen/AsmPrinter/DwarfDebug.cpp (original)
+++ llvm/branches/Apple/Morbo/lib/CodeGen/AsmPrinter/DwarfDebug.cpp Tue Apr  6 13:22:39 2010
@@ -1521,7 +1521,7 @@
           const char *FltPtr = (const char*)FltVal.getRawData();
 
           unsigned NumBytes = FltVal.getBitWidth() / 8; // 8 bits per byte.
-          bool LittleEndian = Asm->getTargetData().isLittleEndian();
+          bool LittleEndian = TD->isLittleEndian();
           int Incr = (LittleEndian ? 1 : -1);
           int Start = (LittleEndian ? 0 : NumBytes - 1);
           int Stop = (LittleEndian ? NumBytes : -1);





More information about the llvm-branch-commits mailing list