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

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

Issue 2394783002: [turbofan] Properly specialize JSCreateIterResultObject map. (Closed)
Patch Set: Fix typo. Created 4 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 unified diff | Download patch
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 <memory> 8 #include <memory>
9 #include <sstream> 9 #include <sstream>
10 10
(...skipping 896 matching lines...) Expand 10 before | Expand all | Expand 10 after
907 data->info()->is_deoptimization_enabled() 907 data->info()->is_deoptimization_enabled()
908 ? JSBuiltinReducer::kDeoptimizationEnabled 908 ? JSBuiltinReducer::kDeoptimizationEnabled
909 : JSBuiltinReducer::kNoFlags, 909 : JSBuiltinReducer::kNoFlags,
910 data->info()->dependencies()); 910 data->info()->dependencies());
911 MaybeHandle<LiteralsArray> literals_array = 911 MaybeHandle<LiteralsArray> literals_array =
912 data->info()->is_native_context_specializing() 912 data->info()->is_native_context_specializing()
913 ? handle(data->info()->closure()->literals(), data->isolate()) 913 ? handle(data->info()->closure()->literals(), data->isolate())
914 : MaybeHandle<LiteralsArray>(); 914 : MaybeHandle<LiteralsArray>();
915 JSCreateLowering create_lowering( 915 JSCreateLowering create_lowering(
916 &graph_reducer, data->info()->dependencies(), data->jsgraph(), 916 &graph_reducer, data->info()->dependencies(), data->jsgraph(),
917 literals_array, temp_zone); 917 literals_array, data->native_context(), temp_zone);
918 JSTypedLowering::Flags typed_lowering_flags = JSTypedLowering::kNoFlags; 918 JSTypedLowering::Flags typed_lowering_flags = JSTypedLowering::kNoFlags;
919 if (data->info()->is_deoptimization_enabled()) { 919 if (data->info()->is_deoptimization_enabled()) {
920 typed_lowering_flags |= JSTypedLowering::kDeoptimizationEnabled; 920 typed_lowering_flags |= JSTypedLowering::kDeoptimizationEnabled;
921 } 921 }
922 JSTypedLowering typed_lowering(&graph_reducer, data->info()->dependencies(), 922 JSTypedLowering typed_lowering(&graph_reducer, data->info()->dependencies(),
923 typed_lowering_flags, data->jsgraph(), 923 typed_lowering_flags, data->jsgraph(),
924 temp_zone); 924 temp_zone);
925 TypedOptimization typed_optimization( 925 TypedOptimization typed_optimization(
926 &graph_reducer, data->info()->dependencies(), 926 &graph_reducer, data->info()->dependencies(),
927 data->info()->is_deoptimization_enabled() 927 data->info()->is_deoptimization_enabled()
(...skipping 1014 matching lines...) Expand 10 before | Expand all | Expand 10 after
1942 data->DeleteRegisterAllocationZone(); 1942 data->DeleteRegisterAllocationZone();
1943 } 1943 }
1944 1944
1945 CompilationInfo* PipelineImpl::info() const { return data_->info(); } 1945 CompilationInfo* PipelineImpl::info() const { return data_->info(); }
1946 1946
1947 Isolate* PipelineImpl::isolate() const { return info()->isolate(); } 1947 Isolate* PipelineImpl::isolate() const { return info()->isolate(); }
1948 1948
1949 } // namespace compiler 1949 } // namespace compiler
1950 } // namespace internal 1950 } // namespace internal
1951 } // namespace v8 1951 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/js-create-lowering.cc ('k') | test/unittests/compiler/js-create-lowering-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698