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

Unified Diff: src/compiler/pipeline.cc

Issue 2276273002: [turbofan] Disable LoadElimination completely for asm.js. (Closed)
Patch Set: Created 4 years, 4 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 | test/mjsunit/asm/load-elimination.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/pipeline.cc
diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc
index 957cfb9b7e37bb2ce75808af2ef2aafecb62890e..ba7aa9608522e7aa705a66865229e156fb9c1858 100644
--- a/src/compiler/pipeline.cc
+++ b/src/compiler/pipeline.cc
@@ -1534,7 +1534,7 @@ bool PipelineImpl::CreateGraph() {
RunPrintAndVerify("Escape Analysed");
}
- if (FLAG_turbo_load_elimination) {
+ if (!info()->shared_info()->asm_function() && FLAG_turbo_load_elimination) {
Run<LoadEliminationPhase>();
RunPrintAndVerify("Load eliminated");
}
« no previous file with comments | « no previous file | test/mjsunit/asm/load-elimination.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698