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(); |