mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-17 03:30:28 +00:00
8f092252d3
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
28 lines
847 B
C++
28 lines
847 B
C++
//===-- PIC16TargetAsmInfo.cpp - PIC16 asm properties ---------------------===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This file contains the declarations of the PIC16TargetAsmInfo properties.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "PIC16TargetAsmInfo.h"
|
|
#include "PIC16TargetMachine.h"
|
|
|
|
using namespace llvm;
|
|
|
|
PIC16TargetAsmInfo::
|
|
PIC16TargetAsmInfo(const PIC16TargetMachine &TM)
|
|
: TargetAsmInfo(TM) {
|
|
Data16bitsDirective = "\t.half\t";
|
|
Data32bitsDirective = "\t.word\t";
|
|
CommentString = ";";
|
|
COMMDirective = "\t";
|
|
COMMDirectiveTakesAlignment = 0;
|
|
}
|