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:
Chris Lattner
2010-01-26 20:20:43 +00:00
parent b3732fbabd
commit 6a315c358c
7 changed files with 6 additions and 26 deletions

View File

@@ -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;
}