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

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

Issue 1221683006: [turbofan] Remove unused constructor function matching from typer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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 | « no previous file | src/compiler/typer.h » ('j') | 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 1037 matching lines...) Expand 10 before | Expand all | Expand 10 after
1048 // Print a replay of the initial graph. 1048 // Print a replay of the initial graph.
1049 GraphReplayPrinter::PrintReplay(data.graph()); 1049 GraphReplayPrinter::PrintReplay(data.graph());
1050 } 1050 }
1051 1051
1052 // Bailout here in case target architecture is not supported. 1052 // Bailout here in case target architecture is not supported.
1053 if (!SupportedTarget()) return Handle<Code>::null(); 1053 if (!SupportedTarget()) return Handle<Code>::null();
1054 1054
1055 SmartPointer<Typer> typer; 1055 SmartPointer<Typer> typer;
1056 if (info()->is_typing_enabled()) { 1056 if (info()->is_typing_enabled()) {
1057 // Type the graph. 1057 // Type the graph.
1058 typer.Reset(new Typer(isolate(), data.graph(), info()->function_type(), 1058 typer.Reset(new Typer(isolate(), data.graph(), info()->function_type()));
1059 info()->context()));
1060 Run<TyperPhase>(typer.get()); 1059 Run<TyperPhase>(typer.get());
1061 RunPrintAndVerify("Typed"); 1060 RunPrintAndVerify("Typed");
1062 } 1061 }
1063 1062
1064 BeginPhaseKind("lowering"); 1063 BeginPhaseKind("lowering");
1065 1064
1066 if (info()->is_typing_enabled()) { 1065 if (info()->is_typing_enabled()) {
1067 // Lower JSOperators where we can determine types. 1066 // Lower JSOperators where we can determine types.
1068 Run<TypedLoweringPhase>(); 1067 Run<TypedLoweringPhase>();
1069 RunPrintAndVerify("Lowered typed"); 1068 RunPrintAndVerify("Lowered typed");
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
1357 tcf << AsC1VRegisterAllocationData("CodeGen", 1356 tcf << AsC1VRegisterAllocationData("CodeGen",
1358 data->register_allocation_data()); 1357 data->register_allocation_data());
1359 } 1358 }
1360 1359
1361 data->DeleteRegisterAllocationZone(); 1360 data->DeleteRegisterAllocationZone();
1362 } 1361 }
1363 1362
1364 } // namespace compiler 1363 } // namespace compiler
1365 } // namespace internal 1364 } // namespace internal
1366 } // namespace v8 1365 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/compiler/typer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698