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

Unified Diff: src/compiler.h

Issue 1531243003: Turn on wasm flags all the time, add a reference from wasm functions to the module. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: add missing file Created 5 years 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/compiler/wasm-compiler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler.h
diff --git a/src/compiler.h b/src/compiler.h
index 1e11e1762834848d49346e63fb1da0cd51c476fe..c7b822293c1a8ae685fba6ad605fb1b44ef1d309 100644
--- a/src/compiler.h
+++ b/src/compiler.h
@@ -269,8 +269,9 @@ class CompilationInfo {
bool is_first_compile() const { return GetFlag(kFirstCompile); }
bool IsCodePreAgingActive() const {
+ // TODO(bradnelson): Figure out why this breaks wasm.
return FLAG_optimize_for_size && FLAG_age_code && !will_serialize() &&
- !is_debug();
+ !is_debug() && !FLAG_expose_wasm;
}
void EnsureFeedbackVector();
« no previous file with comments | « no previous file | src/compiler/wasm-compiler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698