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

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

Issue 1197703002: Use big-boy Types to annotate interface descriptor parameters (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Latest Created 5 years, 6 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/linkage-impl.h ('k') | 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 1032 matching lines...) Expand 10 before | Expand all | Expand 10 after
1043 // Print a replay of the initial graph. 1043 // Print a replay of the initial graph.
1044 GraphReplayPrinter::PrintReplay(data.graph()); 1044 GraphReplayPrinter::PrintReplay(data.graph());
1045 } 1045 }
1046 1046
1047 // Bailout here in case target architecture is not supported. 1047 // Bailout here in case target architecture is not supported.
1048 if (!SupportedTarget()) return Handle<Code>::null(); 1048 if (!SupportedTarget()) return Handle<Code>::null();
1049 1049
1050 SmartPointer<Typer> typer; 1050 SmartPointer<Typer> typer;
1051 if (info()->is_typing_enabled()) { 1051 if (info()->is_typing_enabled()) {
1052 // Type the graph. 1052 // Type the graph.
1053 typer.Reset(new Typer(isolate(), data.graph(), info()->context())); 1053 typer.Reset(new Typer(isolate(), data.graph(), info()->function_type(),
1054 info()->context()));
1054 Run<TyperPhase>(typer.get()); 1055 Run<TyperPhase>(typer.get());
1055 RunPrintAndVerify("Typed"); 1056 RunPrintAndVerify("Typed");
1056 } 1057 }
1057 1058
1058 BeginPhaseKind("lowering"); 1059 BeginPhaseKind("lowering");
1059 1060
1060 if (info()->is_typing_enabled()) { 1061 if (info()->is_typing_enabled()) {
1061 // Lower JSOperators where we can determine types. 1062 // Lower JSOperators where we can determine types.
1062 Run<TypedLoweringPhase>(); 1063 Run<TypedLoweringPhase>();
1063 RunPrintAndVerify("Lowered typed"); 1064 RunPrintAndVerify("Lowered typed");
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
1351 tcf << AsC1VRegisterAllocationData("CodeGen", 1352 tcf << AsC1VRegisterAllocationData("CodeGen",
1352 data->register_allocation_data()); 1353 data->register_allocation_data());
1353 } 1354 }
1354 1355
1355 data->DeleteRegisterAllocationZone(); 1356 data->DeleteRegisterAllocationZone();
1356 } 1357 }
1357 1358
1358 } // namespace compiler 1359 } // namespace compiler
1359 } // namespace internal 1360 } // namespace internal
1360 } // namespace v8 1361 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/linkage-impl.h ('k') | src/compiler/typer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698