diff options
| author | Dan Gohman <gohman@apple.com> | 2008-11-03 18:22:42 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2008-11-03 18:22:42 +0000 |
| commit | ac41d9f5d81a28d9148411b03f556cc1e99880ca (patch) | |
| tree | 5e526e0adecb02355eea5051a993f67ad40744e3 /llvm/lib/Target/PIC16 | |
| parent | d7546abb8a25babb270912e6f1522956ad98b940 (diff) | |
| download | bcm5719-llvm-ac41d9f5d81a28d9148411b03f556cc1e99880ca.tar.gz bcm5719-llvm-ac41d9f5d81a28d9148411b03f556cc1e99880ca.zip | |
Refactor various TargetAsmInfo subclasses' TargetMachine members away
adding a TargetMachine member to the base TargetAsmInfo class instead.
llvm-svn: 58624
Diffstat (limited to 'llvm/lib/Target/PIC16')
| -rw-r--r-- | llvm/lib/Target/PIC16/PIC16TargetAsmInfo.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/Target/PIC16/PIC16TargetAsmInfo.cpp b/llvm/lib/Target/PIC16/PIC16TargetAsmInfo.cpp index 0a56a6e950c..91dcbe3e058 100644 --- a/llvm/lib/Target/PIC16/PIC16TargetAsmInfo.cpp +++ b/llvm/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 = ";"; |

