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

Unified Diff: src/IceCfgNode.h

Issue 1197223002: Subzero: Use C++11 member initializers where practical. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Rebase Created 5 years, 6 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
« no previous file with comments | « src/IceCfg.cpp ('k') | src/IceCfgNode.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceCfgNode.h
diff --git a/src/IceCfgNode.h b/src/IceCfgNode.h
index 473c47e7c9514de4ebe2bd2d90c157732e3ba2ab..3afc446d2bc9dbaaed7f1dccad45e9f319fabc4b 100644
--- a/src/IceCfgNode.h
+++ b/src/IceCfgNode.h
@@ -96,15 +96,16 @@ public:
private:
CfgNode(Cfg *Func, SizeT LabelIndex);
Cfg *const Func;
- SizeT Number; // label index
- Cfg::IdentifierIndexType NameIndex; // index into Cfg::NodeNames table
- bool HasReturn; // does this block need an epilog?
- bool NeedsPlacement;
- InstNumberT InstCountEstimate; // rough instruction count estimate
- NodeList InEdges; // in no particular order
- NodeList OutEdges; // in no particular order
- PhiList Phis; // unordered set of phi instructions
- InstList Insts; // ordered list of non-phi instructions
+ SizeT Number; // label index
+ Cfg::IdentifierIndexType NameIndex =
+ Cfg::IdentifierIndexInvalid; // index into Cfg::NodeNames table
+ bool HasReturn = false; // does this block need an epilog?
+ bool NeedsPlacement = false;
+ InstNumberT InstCountEstimate = 0; // rough instruction count estimate
+ NodeList InEdges; // in no particular order
+ NodeList OutEdges; // in no particular order
+ PhiList Phis; // unordered set of phi instructions
+ InstList Insts; // ordered list of non-phi instructions
};
} // end of namespace Ice
« no previous file with comments | « src/IceCfg.cpp ('k') | src/IceCfgNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698