Index: src/IceInstX86Base.h |
diff --git a/src/IceInstX86Base.h b/src/IceInstX86Base.h |
index 655b38d36831fe47acf75e14ca419eedc11f6e9b..de7d2f712606666a063f12ad770573470bba6fe6 100644 |
--- a/src/IceInstX86Base.h |
+++ b/src/IceInstX86Base.h |
@@ -337,6 +337,7 @@ template <typename TraitsType> struct InstImpl { |
uint32_t getEmitInstCount() const override { return 0; } |
GlobalString getLabelName() const { return Name; } |
SizeT getLabelNumber() const { return LabelNumber; } |
+ bool isLabel() const override { return true; } |
void emit(const Cfg *Func) const override; |
void emitIAS(const Cfg *Func) const override; |
void dump(const Cfg *Func) const override; |
@@ -412,6 +413,7 @@ template <typename TraitsType> struct InstImpl { |
bool isUnconditionalBranch() const override { |
return !Label && Condition == Cond::Br_None; |
} |
+ const Inst *getIntraBlockBranchTarget() const override { return Label; } |
bool repointEdges(CfgNode *OldNode, CfgNode *NewNode) override; |
void emit(const Cfg *Func) const override; |
void emitIAS(const Cfg *Func) const override; |