Index: src/IceFixups.cpp |
diff --git a/src/IceFixups.cpp b/src/IceFixups.cpp |
index 3d3b1b437c7dbb405c390a4ec668316ad2e37629..b7e8031bddf771f6552bacb37fbf67a8ab2b10f1 100644 |
--- a/src/IceFixups.cpp |
+++ b/src/IceFixups.cpp |
@@ -58,8 +58,7 @@ size_t AssemblerFixup::emit(GlobalContext *Ctx, const Assembler &Asm) const { |
Str << Symbol; |
assert(!ValueIsSymbol); |
if (const auto *CR = llvm::dyn_cast<ConstantRelocatable>(ConstValue)) { |
- if (!Asm.fixupIsPCRel(kind()) && |
- GlobalContext::getFlags().getUseNonsfi() && |
+ if (!Asm.fixupIsPCRel(kind()) && getFlags().getUseNonsfi() && |
CR->getName().toString() != GlobalOffsetTable) { |
Str << "@GOTOFF"; |
} |