summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-20 06:39:07 +0000
committerChris Lattner <sabre@nondot.org>2010-01-20 06:39:07 +0000
commit38caaf14c11aaef054cd60687d92c0248f7768f5 (patch)
tree048b2abe8091a464897c45d6b8115f5516807a68 /llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
parent2b4364fe030894b65eededb3c7cfba4f50da2d51 (diff)
downloadbcm5719-llvm-38caaf14c11aaef054cd60687d92c0248f7768f5.tar.gz
bcm5719-llvm-38caaf14c11aaef054cd60687d92c0248f7768f5.zip
give createAsmStreamer an 'isLittleEndian' argument.
llvm-svn: 93986
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index e230affbb21..d439fb6e3c1 100644
--- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@ -58,7 +58,8 @@ AsmPrinter::AsmPrinter(formatted_raw_ostream &o, TargetMachine &tm,
OutContext(*new MCContext()),
// FIXME: Pass instprinter to streamer.
- OutStreamer(*createAsmStreamer(OutContext, O, *T, 0)),
+ OutStreamer(*createAsmStreamer(OutContext, O, *T,
+ TM.getTargetData()->isLittleEndian(), 0)),
LastMI(0), LastFn(0), Counter(~0U), PrevDLT(NULL) {
DW = 0; MMI = 0;
OpenPOWER on IntegriCloud