Change the interface to the type legalization method
[oota-llvm.git] / lib / Target / PIC16 / PIC16TargetAsmInfo.h
1 //=====-- PIC16TargetAsmInfo.h - PIC16 asm properties ---------*- C++ -*--====//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source 
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file contains the declaration of the PIC16TargetAsmInfo class.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #ifndef PIC16TARGETASMINFO_H
15 #define PIC16TARGETASMINFO_H
16
17 #include "llvm/Target/TargetAsmInfo.h"
18
19 namespace llvm {
20
21   // Forward declaration.
22   class PIC16TargetMachine;
23
24   struct PIC16TargetAsmInfo : public TargetAsmInfo {
25     PIC16TargetAsmInfo(const PIC16TargetMachine &TM);
26     const char *UDataSectionStartSuffix;
27     const char *RomDataSectionStartSuffix;
28     public :
29     const char *getUDataSectionStartSuffix() const {
30       return UDataSectionStartSuffix;
31     }
32     const char *getRomDataSectionStartSuffix() const {
33       return RomDataSectionStartSuffix;
34     }
35
36
37   };
38
39 } // namespace llvm
40
41 #endif