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

Unified Diff: src/compiler.cc

Issue 1401923004: [turbofan] Disable native context specialization for the asm.js pipeline. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler.cc
diff --git a/src/compiler.cc b/src/compiler.cc
index 4f4a40afb5a60c40235d80f9b32037a49c05d1fb..53e2fd3a7bf2e2c95ed30d1afeda0a5d6c1d63f2 100644
--- a/src/compiler.cc
+++ b/src/compiler.cc
@@ -439,6 +439,9 @@ OptimizedCompileJob::Status OptimizedCompileJob::CreateGraph() {
if (info()->shared_info()->asm_function()) {
if (info()->osr_frame()) info()->MarkAsFrameSpecializing();
info()->MarkAsFunctionContextSpecializing();
+ } else if (info()->has_global_object() &&
+ FLAG_native_context_specialization) {
+ info()->MarkAsNativeContextSpecializing();
} else if (FLAG_turbo_type_feedback) {
info()->MarkAsTypeFeedbackEnabled();
info()->EnsureFeedbackVector();
@@ -447,9 +450,6 @@ OptimizedCompileJob::Status OptimizedCompileJob::CreateGraph() {
FLAG_turbo_asm_deoptimization) {
info()->MarkAsDeoptimizationEnabled();
}
- if (info()->has_global_object() && FLAG_native_context_specialization) {
- info()->MarkAsNativeContextSpecializing();
- }
Timer t(this, &time_taken_to_create_graph_);
compiler::Pipeline pipeline(info());
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698