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

Side by Side Diff: src/compiler/pipeline.cc

Issue 2135973003: [interpreter] Widen set of applied binary op reductions. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_turbofan-checkpoint-typed-lowering-6
Patch Set: Created 4 years, 5 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 unified diff | Download patch
« no previous file with comments | « src/compiler/js-typed-lowering.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/compiler/pipeline.h" 5 #include "src/compiler/pipeline.h"
6 6
7 #include <fstream> // NOLINT(readability/streams) 7 #include <fstream> // NOLINT(readability/streams)
8 #include <sstream> 8 #include <sstream>
9 9
10 #include "src/base/adapters.h" 10 #include "src/base/adapters.h"
(...skipping 866 matching lines...) Expand 10 before | Expand all | Expand 10 after
877 data->info()->is_native_context_specializing() 877 data->info()->is_native_context_specializing()
878 ? handle(data->info()->closure()->literals(), data->isolate()) 878 ? handle(data->info()->closure()->literals(), data->isolate())
879 : MaybeHandle<LiteralsArray>(); 879 : MaybeHandle<LiteralsArray>();
880 JSCreateLowering create_lowering( 880 JSCreateLowering create_lowering(
881 &graph_reducer, data->info()->dependencies(), data->jsgraph(), 881 &graph_reducer, data->info()->dependencies(), data->jsgraph(),
882 literals_array, temp_zone); 882 literals_array, temp_zone);
883 JSTypedLowering::Flags typed_lowering_flags = JSTypedLowering::kNoFlags; 883 JSTypedLowering::Flags typed_lowering_flags = JSTypedLowering::kNoFlags;
884 if (data->info()->is_deoptimization_enabled()) { 884 if (data->info()->is_deoptimization_enabled()) {
885 typed_lowering_flags |= JSTypedLowering::kDeoptimizationEnabled; 885 typed_lowering_flags |= JSTypedLowering::kDeoptimizationEnabled;
886 } 886 }
887 if (data->info()->shared_info()->HasBytecodeArray()) { 887 if (data->info()->is_optimizing_from_bytecode()) {
888 typed_lowering_flags |= JSTypedLowering::kDisableBinaryOpReduction; 888 typed_lowering_flags |= JSTypedLowering::kDisableIntegerBinaryOpReduction;
889 } 889 }
890 if (data->info()->is_type_feedback_enabled()) { 890 if (data->info()->is_type_feedback_enabled()) {
891 typed_lowering_flags |= JSTypedLowering::kTypeFeedbackEnabled; 891 typed_lowering_flags |= JSTypedLowering::kTypeFeedbackEnabled;
892 } 892 }
893 JSTypedLowering typed_lowering(&graph_reducer, data->info()->dependencies(), 893 JSTypedLowering typed_lowering(&graph_reducer, data->info()->dependencies(),
894 typed_lowering_flags, data->jsgraph(), 894 typed_lowering_flags, data->jsgraph(),
895 temp_zone); 895 temp_zone);
896 JSIntrinsicLowering intrinsic_lowering( 896 JSIntrinsicLowering intrinsic_lowering(
897 &graph_reducer, data->jsgraph(), 897 &graph_reducer, data->jsgraph(),
898 data->info()->is_deoptimization_enabled() 898 data->info()->is_deoptimization_enabled()
(...skipping 936 matching lines...) Expand 10 before | Expand all | Expand 10 after
1835 data->DeleteRegisterAllocationZone(); 1835 data->DeleteRegisterAllocationZone();
1836 } 1836 }
1837 1837
1838 CompilationInfo* PipelineImpl::info() const { return data_->info(); } 1838 CompilationInfo* PipelineImpl::info() const { return data_->info(); }
1839 1839
1840 Isolate* PipelineImpl::isolate() const { return info()->isolate(); } 1840 Isolate* PipelineImpl::isolate() const { return info()->isolate(); }
1841 1841
1842 } // namespace compiler 1842 } // namespace compiler
1843 } // namespace internal 1843 } // namespace internal
1844 } // namespace v8 1844 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/js-typed-lowering.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698