Index: src/IceAssemblerARM32.h |
diff --git a/src/IceAssemblerARM32.h b/src/IceAssemblerARM32.h |
index 0bfcac60aa144efbe3a2cc83d05f9b0b62b19b7b..e3f9b4c6a4980666a8d3e6045c86dca280f4d6f8 100644 |
--- a/src/IceAssemblerARM32.h |
+++ b/src/IceAssemblerARM32.h |
@@ -147,10 +147,8 @@ public: |
return getOrCreateLabel(Number, LocalLabels); |
} |
- void bindLocalLabel(const Cfg *Func, const InstARM32Label *InstL, |
- SizeT Number) { |
- if (BuildDefs::dump() && |
- !Func->getContext()->getFlags().getDisableHybridAssembly()) { |
+ void bindLocalLabel(const InstARM32Label *InstL, SizeT Number) { |
+ if (BuildDefs::dump() && !getFlags().getDisableHybridAssembly()) { |
constexpr SizeT InstSize = 0; |
emitTextInst(InstL->getLabelName() + ":", InstSize); |
} |