Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(674)

Unified Diff: src/IceInstX86Base.h

Issue 2177033002: Subzero: Local variable splitting. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Cleanup Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/IceInstX86Base.h
diff --git a/src/IceInstX86Base.h b/src/IceInstX86Base.h
index 655b38d36831fe47acf75e14ca419eedc11f6e9b..ac1cd87e079fc0d8ee3d7cd662985bdb5e6de9ab 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 *isIntraBlockBranch() 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;

Powered by Google App Engine
This is Rietveld 408576698