aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2010-12-22 21:51:29 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2010-12-22 21:51:29 +0000
commit90a5a0cd7c353651c953020b1e41b4c6e2f21883 (patch)
tree6b506f646c7515ef6d8afc262e34497df49ac878 /include
parent72123334adfa1b020aa7aecf05ce6d135f9c7ffa (diff)
downloadexternal_llvm-90a5a0cd7c353651c953020b1e41b4c6e2f21883.zip
external_llvm-90a5a0cd7c353651c953020b1e41b4c6e2f21883.tar.gz
external_llvm-90a5a0cd7c353651c953020b1e41b4c6e2f21883.tar.bz2
Rename NeedsSetToChangeDiffSize to HasAggressiveSymbolFolding which is a much
better name and matches what is used in the MachO writer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122443 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/MC/MCAsmInfo.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/llvm/MC/MCAsmInfo.h b/include/llvm/MC/MCAsmInfo.h
index 0e6c4e7..fb80cc4 100644
--- a/include/llvm/MC/MCAsmInfo.h
+++ b/include/llvm/MC/MCAsmInfo.h
@@ -197,12 +197,12 @@ namespace llvm {
/// HasSetDirective - True if the assembler supports the .set directive.
bool HasSetDirective; // Defaults to true.
- /// NeedsSetToChangeDiffSize - True if the assembler requires that we do
+ /// HasAggressiveSymbolFolding - False if the assembler requires that we use
/// Lc = a - b
/// .long Lc
- /// instead of doing
+ /// instead of
/// .long a - b
- bool NeedsSetToChangeDiffSize; // Defaults to false.
+ bool HasAggressiveSymbolFolding; // Defaults to true.
/// HasLCOMMDirective - This is true if the target supports the .lcomm
/// directive.
@@ -407,7 +407,9 @@ namespace llvm {
return ExternDirective;
}
bool hasSetDirective() const { return HasSetDirective; }
- bool needsSetToChangeDiffSize() const { return NeedsSetToChangeDiffSize; }
+ bool hasAggressiveSymbolFolding() const {
+ return HasAggressiveSymbolFolding;
+ }
bool hasLCOMMDirective() const { return HasLCOMMDirective; }
bool hasDotTypeDotSizeDirective() const {return HasDotTypeDotSizeDirective;}
bool getCOMMDirectiveAlignmentIsInBytes() const {