Index: src/IceCfgNode.cpp |
diff --git a/src/IceCfgNode.cpp b/src/IceCfgNode.cpp |
index f6c63797d87d761fe50f558facc168c5fa140953..71a0384c674e31881206f8c99474eb6aefa3e241 100644 |
--- a/src/IceCfgNode.cpp |
+++ b/src/IceCfgNode.cpp |
@@ -1184,7 +1184,7 @@ void CfgNode::emitIAS(Cfg *Func) const { |
// TODO(stichnot): When sandboxing, defer binding the node label until just |
// before the first instruction is emitted, to reduce the chance that a |
// padding nop is a branch target. |
- Asm->bindCfgNodeLabel(getIndex()); |
+ Asm->bindCfgNodeLabel(this); |
for (const Inst &I : Phis) { |
if (I.isDeleted()) |
continue; |