From 003b5c8472362a72a1f55bc6cc9c521744cec749 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 19 Jan 2010 22:42:28 +0000 Subject: 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 --- llvm/lib/MC/MCAsmInfoDarwin.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'llvm/lib/MC/MCAsmInfoDarwin.cpp') 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 = "_"; -- cgit v1.2.3