diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-19 22:42:28 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-19 22:42:28 +0000 |
commit | 003b5c8472362a72a1f55bc6cc9c521744cec749 (patch) | |
tree | 423975b4b113b6213c764291956833ee710546b8 /llvm/lib/MC/MCAsmInfoDarwin.cpp | |
parent | 5d7aa7fa0ae5154c8ca7fe8851b0cafcf8d61700 (diff) | |
download | bcm5719-llvm-003b5c8472362a72a1f55bc6cc9c521744cec749.tar.gz bcm5719-llvm-003b5c8472362a72a1f55bc6cc9c521744cec749.zip |
give MCAsmInfo a 'has little endian' bit. This is unfortunate, but
I really want clients of the streamer to be able to say "emit this
64-bit integer" and have it get broken down right by the streamer.
I may change this in the future, we'll see how it works out.
llvm-svn: 93934
Diffstat (limited to 'llvm/lib/MC/MCAsmInfoDarwin.cpp')
-rw-r--r-- | llvm/lib/MC/MCAsmInfoDarwin.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCAsmInfoDarwin.cpp b/llvm/lib/MC/MCAsmInfoDarwin.cpp index 664a55c0888..f024a1668c6 100644 --- a/llvm/lib/MC/MCAsmInfoDarwin.cpp +++ b/llvm/lib/MC/MCAsmInfoDarwin.cpp @@ -15,7 +15,8 @@ #include "llvm/MC/MCAsmInfoDarwin.h" using namespace llvm; -MCAsmInfoDarwin::MCAsmInfoDarwin() { +MCAsmInfoDarwin::MCAsmInfoDarwin(bool isLittleEndian) + : MCAsmInfo(isLittleEndian) { // Common settings for all Darwin targets. // Syntax: GlobalPrefix = "_"; |