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

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

Issue 1973323002: [turbofan] Remove SetExistsVirtualAllocate side-channel. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 7 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/escape-analysis-reducer.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 914 matching lines...) Expand 10 before | Expand all | Expand 10 after
925 struct EscapeAnalysisPhase { 925 struct EscapeAnalysisPhase {
926 static const char* phase_name() { return "escape analysis"; } 926 static const char* phase_name() { return "escape analysis"; }
927 927
928 void Run(PipelineData* data, Zone* temp_zone) { 928 void Run(PipelineData* data, Zone* temp_zone) {
929 EscapeAnalysis escape_analysis(data->graph(), data->jsgraph()->common(), 929 EscapeAnalysis escape_analysis(data->graph(), data->jsgraph()->common(),
930 temp_zone); 930 temp_zone);
931 escape_analysis.Run(); 931 escape_analysis.Run();
932 JSGraphReducer graph_reducer(data->jsgraph(), temp_zone); 932 JSGraphReducer graph_reducer(data->jsgraph(), temp_zone);
933 EscapeAnalysisReducer escape_reducer(&graph_reducer, data->jsgraph(), 933 EscapeAnalysisReducer escape_reducer(&graph_reducer, data->jsgraph(),
934 &escape_analysis, temp_zone); 934 &escape_analysis, temp_zone);
935 escape_reducer.SetExistsVirtualAllocate(
936 escape_analysis.ExistsVirtualAllocate());
937 AddReducer(data, &graph_reducer, &escape_reducer); 935 AddReducer(data, &graph_reducer, &escape_reducer);
938 graph_reducer.ReduceGraph(); 936 graph_reducer.ReduceGraph();
939 escape_reducer.VerifyReplacement(); 937 escape_reducer.VerifyReplacement();
940 } 938 }
941 }; 939 };
942 940
943 struct RepresentationSelectionPhase { 941 struct RepresentationSelectionPhase {
944 static const char* phase_name() { return "representation selection"; } 942 static const char* phase_name() { return "representation selection"; }
945 943
946 void Run(PipelineData* data, Zone* temp_zone) { 944 void Run(PipelineData* data, Zone* temp_zone) {
(...skipping 847 matching lines...) Expand 10 before | Expand all | Expand 10 after
1794 data->DeleteRegisterAllocationZone(); 1792 data->DeleteRegisterAllocationZone();
1795 } 1793 }
1796 1794
1797 CompilationInfo* PipelineImpl::info() const { return data_->info(); } 1795 CompilationInfo* PipelineImpl::info() const { return data_->info(); }
1798 1796
1799 Isolate* PipelineImpl::isolate() const { return info()->isolate(); } 1797 Isolate* PipelineImpl::isolate() const { return info()->isolate(); }
1800 1798
1801 } // namespace compiler 1799 } // namespace compiler
1802 } // namespace internal 1800 } // namespace internal
1803 } // namespace v8 1801 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/escape-analysis-reducer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698