mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
eliminate MCAsmInfo::NeedsSet: we now just use .set on any platform
that has it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94581 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -47,17 +47,6 @@ namespace llvm {
|
||||
/// emitted in Static relocation model.
|
||||
bool HasStaticCtorDtorReferenceInStaticMode; // Default is false.
|
||||
|
||||
/// NeedsSet - True if target asm treats expressions in data directives
|
||||
/// as linktime-relocatable. For assembly-time computation, we need to
|
||||
/// use a .set. Thus:
|
||||
/// .set w, x-y
|
||||
/// .long w
|
||||
/// is computed at assembly time, while
|
||||
/// .long x-y
|
||||
/// is relocated if the relative locations of x and y change at linktime.
|
||||
/// We want both these things in different places.
|
||||
bool NeedsSet; // Defaults to false.
|
||||
|
||||
/// MaxInstLength - This is the maximum possible length of an instruction,
|
||||
/// which is needed to compute the size of an inline asm.
|
||||
unsigned MaxInstLength; // Defaults to 4.
|
||||
@@ -321,9 +310,6 @@ namespace llvm {
|
||||
bool hasStaticCtorDtorReferenceInStaticMode() const {
|
||||
return HasStaticCtorDtorReferenceInStaticMode;
|
||||
}
|
||||
bool needsSet() const {
|
||||
return NeedsSet;
|
||||
}
|
||||
unsigned getMaxInstLength() const {
|
||||
return MaxInstLength;
|
||||
}
|
||||
|
Reference in New Issue
Block a user