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

Unified Diff: src/IceClFlags.h

Issue 1848873002: Force sequential parsing when threads=0. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 4 years, 9 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/IceGlobalContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceClFlags.h
diff --git a/src/IceClFlags.h b/src/IceClFlags.h
index 59be15899ced819f4dd7f45605e5e6a9667b1196..9434841601e29e13fa14d27c812715ad36687276 100644
--- a/src/IceClFlags.h
+++ b/src/IceClFlags.h
@@ -130,6 +130,9 @@ private:
public:
bool isSequential() const { return NumTranslationThreads == 0; }
+ bool isParseParallel() {
Jim Stichnoth 2016/03/31 18:05:09 const
+ return getParseParallel() && !isSequential() && getBuildOnRead();
+ }
std::string getAppName() const { return AppName; }
void setAppName(const std::string &Value) { AppName = Value; }
« no previous file with comments | « no previous file | src/IceGlobalContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698