Index: src/IceInst.h |
diff --git a/src/IceInst.h b/src/IceInst.h |
index 4fb74ae93d58010a513793bc44fa644bdd642900..cd4c152c9a21962dad4e2ebc15588f4516328056 100644 |
--- a/src/IceInst.h |
+++ b/src/IceInst.h |
@@ -623,6 +623,7 @@ public: |
void addArgument(Operand *Source, CfgNode *Label); |
Operand *getOperandForTarget(CfgNode *Target) const; |
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); |