aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PIC16/PIC16MCAsmInfo.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-19 22:42:28 +0000
committerChris Lattner <sabre@nondot.org>2010-01-19 22:42:28 +0000
commita918216872b12caa3613c08266cfd59a1849c7af (patch)
tree8ea6af8d6d1776b8e40c0feed7d63c85f182ae57 /lib/Target/PIC16/PIC16MCAsmInfo.cpp
parent01d211b53845ee5fbd6ec74d541e439b5c57dc7c (diff)
downloadexternal_llvm-a918216872b12caa3613c08266cfd59a1849c7af.zip
external_llvm-a918216872b12caa3613c08266cfd59a1849c7af.tar.gz
external_llvm-a918216872b12caa3613c08266cfd59a1849c7af.tar.bz2
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93934 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PIC16/PIC16MCAsmInfo.cpp')
-rw-r--r--lib/Target/PIC16/PIC16MCAsmInfo.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/PIC16/PIC16MCAsmInfo.cpp b/lib/Target/PIC16/PIC16MCAsmInfo.cpp
index 827315e..a6331e6 100644
--- a/lib/Target/PIC16/PIC16MCAsmInfo.cpp
+++ b/lib/Target/PIC16/PIC16MCAsmInfo.cpp
@@ -20,7 +20,8 @@
#include "PIC16ISelLowering.h"
using namespace llvm;
-PIC16MCAsmInfo::PIC16MCAsmInfo(const Target &T, const StringRef &TT) {
+PIC16MCAsmInfo::PIC16MCAsmInfo(const Target &T, const StringRef &TT)
+: MCAsmInfo(true) {
CommentString = ";";
GlobalPrefix = PAN::getTagName(PAN::PREFIX_SYMBOL);
GlobalDirective = "\tglobal\t";