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/IceCfg.h

Issue 620373004: Subzero: Add a few performance measurement tools. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Improve the use of containers Created 6 years, 2 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 | « no previous file | src/IceCfg.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceCfg.h
diff --git a/src/IceCfg.h b/src/IceCfg.h
index 4766d47f13a37d46b751c641e4e3c3ef042926f7..e2aef4601cc47de9e641870c3482d1ba6f81d25f 100644
--- a/src/IceCfg.h
+++ b/src/IceCfg.h
@@ -96,6 +96,8 @@ public:
return getContext()->getFlags().UseIntegratedAssembler;
}
bool hasComputedFrame() const;
+ bool getFocusedTiming() const { return FocusedTiming; }
+ void setFocusedTiming() { FocusedTiming = true; }
// Passes over the CFG.
void translate();
@@ -165,6 +167,7 @@ private:
Type ReturnType;
bool IsInternalLinkage;
bool HasError;
+ bool FocusedTiming;
IceString ErrorMessage;
CfgNode *Entry; // entry basic block
NodeList Nodes; // linearized node list; Entry should be first
« no previous file with comments | « no previous file | src/IceCfg.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698