projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bffef3
)
Endianness can be gotten from the DataLayout which we already
author
Eric Christopher
<echristo@gmail.com>
Sat, 21 Feb 2015 08:32:22 +0000
(08:32 +0000)
committer
Eric Christopher
<echristo@gmail.com>
Sat, 21 Feb 2015 08:32:22 +0000
(08:32 +0000)
have. Also, the subtarget is invalid at this point.
llvm-svn: 230131
llvm/lib/Target/Mips/MipsAsmPrinter.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/Mips/MipsAsmPrinter.cpp
b/llvm/lib/Target/Mips/MipsAsmPrinter.cpp
index
30350a9
..
aeee5e5
100644
(file)
--- a/
llvm/lib/Target/Mips/MipsAsmPrinter.cpp
+++ b/
llvm/lib/Target/Mips/MipsAsmPrinter.cpp
@@
-888,7
+888,7
@@
void MipsAsmPrinter::EmitFPCallStub(
const char *Symbol, const Mips16HardFloatInfo::FuncSignature *Signature) {
MCSymbol *MSymbol = OutContext.GetOrCreateSymbol(StringRef(Symbol));
using namespace Mips16HardFloatInfo;
- bool LE =
Subtarget->isLittle
();
+ bool LE =
getDataLayout().isLittleEndian
();
//
// .global xxxx
//