aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PIC16/PIC16TargetAsmInfo.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-11-03 18:22:42 +0000
committerDan Gohman <gohman@apple.com>2008-11-03 18:22:42 +0000
commita004d7b4de6421de04481229540e5397d25e05ab (patch)
tree80a1db4e72aaefe86e2c512f7bac67993fae7cfb /lib/Target/PIC16/PIC16TargetAsmInfo.cpp
parent296ab52c553487870d61008f65fd46c3bfd3ff69 (diff)
downloadexternal_llvm-a004d7b4de6421de04481229540e5397d25e05ab.zip
external_llvm-a004d7b4de6421de04481229540e5397d25e05ab.tar.gz
external_llvm-a004d7b4de6421de04481229540e5397d25e05ab.tar.bz2
Refactor various TargetAsmInfo subclasses' TargetMachine members away
adding a TargetMachine member to the base TargetAsmInfo class instead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58624 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PIC16/PIC16TargetAsmInfo.cpp')
-rw-r--r--lib/Target/PIC16/PIC16TargetAsmInfo.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Target/PIC16/PIC16TargetAsmInfo.cpp b/lib/Target/PIC16/PIC16TargetAsmInfo.cpp
index 0a56a6e..91dcbe3 100644
--- a/lib/Target/PIC16/PIC16TargetAsmInfo.cpp
+++ b/lib/Target/PIC16/PIC16TargetAsmInfo.cpp
@@ -12,12 +12,13 @@
//===----------------------------------------------------------------------===//
#include "PIC16TargetAsmInfo.h"
+#include "PIC16TargetMachine.h"
using namespace llvm;
PIC16TargetAsmInfo::
-PIC16TargetAsmInfo(const PIC16TargetMachine &TM)
-{
+PIC16TargetAsmInfo(const PIC16TargetMachine &TM)
+ : TargetAsmInfo(TM) {
Data16bitsDirective = "\t.half\t";
Data32bitsDirective = "\t.word\t";
CommentString = ";";