diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-20 06:39:07 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-20 06:39:07 +0000 |
commit | 38caaf14c11aaef054cd60687d92c0248f7768f5 (patch) | |
tree | 048b2abe8091a464897c45d6b8115f5516807a68 /llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | |
parent | 2b4364fe030894b65eededb3c7cfba4f50da2d51 (diff) | |
download | bcm5719-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.cpp | 3 |
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; |