Index: src/IceInst.h |
diff --git a/src/IceInst.h b/src/IceInst.h |
index c72af35f439abb6a7a51cc1539407d67e2a09daa..dfb873c50d30e35d814fa89156a89b41cd6d797e 100644 |
--- a/src/IceInst.h |
+++ b/src/IceInst.h |
@@ -624,6 +624,7 @@ public: |
Operand *getOperandForTarget(CfgNode *Target) const; |
void clearOperandForTarget(CfgNode *Target); |
CfgNode *getLabel(SizeT Index) const { return Labels[Index]; } |
+ void setLabel(SizeT Index, CfgNode *Label) { Labels[Index] = Label; } |
void livenessPhiOperand(LivenessBV &Live, CfgNode *Target, |
Liveness *Liveness); |
Inst *lower(Cfg *Func); |