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

Unified Diff: test/cctest/cctest.h

Issue 49633004: Add --optimize_for_size to tests flag matrix. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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 | tools/run-tests.py » ('j') | tools/run-tests.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/cctest.h
diff --git a/test/cctest/cctest.h b/test/cctest/cctest.h
index 7f84c259f0c4cb1b135ae6a73d465d631d858e31..36621714153d0e81a9a7231aa0fe2402736b5006 100644
--- a/test/cctest/cctest.h
+++ b/test/cctest/cctest.h
@@ -324,7 +324,8 @@ static inline v8::Local<v8::Value> CompileRunWithOrigin(const char* source,
// Pick a slightly different port to allow tests to be run in parallel.
static inline int FlagDependentPortOffset() {
return ::v8::internal::FLAG_crankshaft == false ? 100 :
- ::v8::internal::FLAG_always_opt ? 200 : 0;
+ ::v8::internal::FLAG_always_opt ? 200 :
+ ::v8::internal::FLAG_optimize_for_size ? 300 : 0;
}
« no previous file with comments | « no previous file | tools/run-tests.py » ('j') | tools/run-tests.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698