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

Unified Diff: src/compiler/pipeline.cc

Issue 1403223003: [turbofan] Make native context specialization dependent on the typed 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 | « src/compiler/js-inlining.cc ('k') | no next file » | 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 214db695224523eeba1f7195244da478a17fe570..a8d40cd9f7cf8da94165740afbf0e2049cd4bde9 100644
--- a/src/compiler/pipeline.cc
+++ b/src/compiler/pipeline.cc
@@ -505,15 +505,11 @@ struct NativeContextSpecializationPhase {
data->common());
CommonOperatorReducer common_reducer(&graph_reducer, data->graph(),
data->common(), data->machine());
- JSGlobalSpecialization::Flags flags = JSGlobalSpecialization::kNoFlags;
- if (data->info()->is_deoptimization_enabled()) {
- flags |= JSGlobalSpecialization::kDeoptimizationEnabled;
- }
- if (data->info()->is_typing_enabled()) {
- flags |= JSGlobalSpecialization::kTypingEnabled;
- }
JSGlobalSpecialization global_specialization(
- &graph_reducer, data->jsgraph(), flags,
+ &graph_reducer, data->jsgraph(),
+ data->info()->is_deoptimization_enabled()
+ ? JSGlobalSpecialization::kDeoptimizationEnabled
+ : JSGlobalSpecialization::kNoFlags,
handle(data->info()->global_object(), data->isolate()),
data->info()->dependencies());
AddReducer(data, &graph_reducer, &dead_code_elimination);
« no previous file with comments | « src/compiler/js-inlining.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698