Index: src/IceInstMIPS32.h |
diff --git a/src/IceInstMIPS32.h b/src/IceInstMIPS32.h |
index 16bd5948ac0f160c4a24391602a2fa087e50b5bd..ca767a8acc89e18ec4d689ae9f12ac0e9f713c57 100644 |
--- a/src/IceInstMIPS32.h |
+++ b/src/IceInstMIPS32.h |
@@ -669,6 +669,14 @@ public: |
InstMIPS32Br(Func, TargetTrue, TargetFalse, Src0, NoLabel, Cond); |
} |
+ static InstMIPS32Br *create(Cfg *Func, CfgNode *TargetTrue, |
+ CfgNode *TargetFalse, Operand *Src0, |
+ Operand *Src1, const InstMIPS32Label *Label, |
+ CondMIPS32::Cond Cond) { |
+ return new (Func->allocate<InstMIPS32Br>()) |
+ InstMIPS32Br(Func, TargetTrue, TargetFalse, Src0, Src1, Label, Cond); |
+ } |
+ |
const CfgNode *getTargetTrue() const { return TargetTrue; } |
const CfgNode *getTargetFalse() const { return TargetFalse; } |
CondMIPS32::Cond getPredicate() const { return Predicate; } |