]> granicus.if.org Git - llvm/commitdiff
doesSetDirectiveSuppressesReloc -> doesSetDirectiveSuppressReloc, the
authorJoerg Sonnenberger <joerg@bec.de>
Sat, 18 Jun 2016 23:25:37 +0000 (23:25 +0000)
committerJoerg Sonnenberger <joerg@bec.de>
Sat, 18 Jun 2016 23:25:37 +0000 (23:25 +0000)
former is grammatically incorrect.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@273100 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/MC/MCAsmInfo.h
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/MC/MCStreamer.cpp
lib/Target/X86/X86MCInstLower.cpp

index 73974bbca92e6237a07d50095fc4757a74bf21cf..41f78e970ac66d1840d0b2ab3f55d950729c01a9 100644 (file)
@@ -497,7 +497,7 @@ public:
   bool getAlignmentIsInBytes() const { return AlignmentIsInBytes; }
   unsigned getTextAlignFillValue() const { return TextAlignFillValue; }
   const char *getGlobalDirective() const { return GlobalDirective; }
-  bool doesSetDirectiveSuppressesReloc() const {
+  bool doesSetDirectiveSuppressReloc() const {
     return SetDirectiveSuppressesReloc;
   }
   bool hasAggressiveSymbolFolding() const { return HasAggressiveSymbolFolding; }
index 02640f55fa2340515e28f125efab18670f93f00a..ad2f216f5047c8cb622142e95ae6a711fd1b8d9b 100644 (file)
@@ -1412,7 +1412,7 @@ void AsmPrinter::EmitJumpTableInfo() {
     // For the EK_LabelDifference32 entry, if using .set avoids a relocation,
     /// emit a .set directive for each unique entry.
     if (MJTI->getEntryKind() == MachineJumpTableInfo::EK_LabelDifference32 &&
-        MAI->doesSetDirectiveSuppressesReloc()) {
+        MAI->doesSetDirectiveSuppressReloc()) {
       SmallPtrSet<const MachineBasicBlock*, 16> EmittedSets;
       const TargetLowering *TLI = MF->getSubtarget().getTargetLowering();
       const MCExpr *Base = TLI->getPICJumpTableRelocBaseExpr(MF,JTI,OutContext);
@@ -1493,7 +1493,7 @@ void AsmPrinter::EmitJumpTableEntry(const MachineJumpTableInfo *MJTI,
     // If the .set directive avoids relocations, this is emitted as:
     //      .set L4_5_set_123, LBB123 - LJTI1_2
     //      .word L4_5_set_123
-    if (MAI->doesSetDirectiveSuppressesReloc()) {
+    if (MAI->doesSetDirectiveSuppressReloc()) {
       Value = MCSymbolRefExpr::create(GetJTSetSymbol(UID, MBB->getNumber()),
                                       OutContext);
       break;
index c3dee8f927f7477ac03af6a8d3488a0f3dde7257..9ef96695e89a3e1dc2591a56d28162b2e44e6e28 100644 (file)
@@ -734,7 +734,7 @@ void MCStreamer::emitAbsoluteSymbolDiff(const MCSymbol *Hi, const MCSymbol *Lo,
                               MCSymbolRefExpr::create(Lo, Context), Context);
 
   const MCAsmInfo *MAI = Context.getAsmInfo();
-  if (!MAI->doesSetDirectiveSuppressesReloc()) {
+  if (!MAI->doesSetDirectiveSuppressReloc()) {
     EmitValue(Diff, Size);
     return;
   }
index 86bae3e08db08db65093d8421f70e06d5d144b1a..4fc7ae5b4d5cabf279dedb3381178c7f7a845cd1 100644 (file)
@@ -245,7 +245,7 @@ MCOperand X86MCInstLower::LowerSymbolOperand(const MachineOperand &MO,
                             MCSymbolRefExpr::create(MF.getPICBaseSymbol(), Ctx),
                                    Ctx);
     if (MO.isJTI()) {
-      assert(MAI.doesSetDirectiveSuppressesReloc());
+      assert(MAI.doesSetDirectiveSuppressReloc());
       // If .set directive is supported, use it to reduce the number of
       // relocations the assembler will generate for differences between
       // local labels. This is only safe when the symbols are in the same