Index: src/IceAssemblerARM32.cpp |
diff --git a/src/IceAssemblerARM32.cpp b/src/IceAssemblerARM32.cpp |
index 746a39f799f068bce8e808f9d3013d0207bc4df2..bba8e16fbbea420e1d23e959408b046076e1969b 100644 |
--- a/src/IceAssemblerARM32.cpp |
+++ b/src/IceAssemblerARM32.cpp |
@@ -688,8 +688,7 @@ AssemblerARM32::createBlFixup(const ConstantRelocatable *BlTarget) { |
} |
void AssemblerARM32::bindCfgNodeLabel(const CfgNode *Node) { |
- GlobalContext *Ctx = Node->getCfg()->getContext(); |
- if (BuildDefs::dump() && !Ctx->getFlags().getDisableHybridAssembly()) { |
+ if (BuildDefs::dump() && !getFlags().getDisableHybridAssembly()) { |
// Generate label name so that branches can find it. |
constexpr SizeT InstSize = 0; |
emitTextInst(Node->getAsmName() + ":", InstSize); |