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

Side by Side Diff: test/cctest/compiler/test-js-typed-lowering.cc

Issue 2223873002: [turbofan] Assign proper types to Parameter nodes. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE and fix. Created 4 years, 1 month 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/typer.cc ('k') | test/unittests/compiler/graph-unittest.cc » ('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/compilation-dependencies.h" 5 #include "src/compilation-dependencies.h"
6 #include "src/compiler/js-graph.h" 6 #include "src/compiler/js-graph.h"
7 #include "src/compiler/js-typed-lowering.h" 7 #include "src/compiler/js-typed-lowering.h"
8 #include "src/compiler/machine-operator.h" 8 #include "src/compiler/machine-operator.h"
9 #include "src/compiler/node-properties.h" 9 #include "src/compiler/node-properties.h"
10 #include "src/compiler/opcodes.h" 10 #include "src/compiler/opcodes.h"
(...skipping 20 matching lines...) Expand all
31 JSTypedLowering::Flags flags = JSTypedLowering::kDeoptimizationEnabled) 31 JSTypedLowering::Flags flags = JSTypedLowering::kDeoptimizationEnabled)
32 : isolate(main_isolate()), 32 : isolate(main_isolate()),
33 binop(NULL), 33 binop(NULL),
34 unop(NULL), 34 unop(NULL),
35 javascript(main_zone()), 35 javascript(main_zone()),
36 machine(main_zone()), 36 machine(main_zone()),
37 simplified(main_zone()), 37 simplified(main_zone()),
38 common(main_zone()), 38 common(main_zone()),
39 deps(main_isolate(), main_zone()), 39 deps(main_isolate(), main_zone()),
40 graph(main_zone()), 40 graph(main_zone()),
41 typer(main_isolate(), &graph), 41 typer(main_isolate(), Typer::kNoFlags, &graph),
42 context_node(NULL), 42 context_node(NULL),
43 flags(flags) { 43 flags(flags) {
44 graph.SetStart(graph.NewNode(common.Start(num_parameters))); 44 graph.SetStart(graph.NewNode(common.Start(num_parameters)));
45 graph.SetEnd(graph.NewNode(common.End(1), graph.start())); 45 graph.SetEnd(graph.NewNode(common.End(1), graph.start()));
46 typer.Run(); 46 typer.Run();
47 } 47 }
48 48
49 Isolate* isolate; 49 Isolate* isolate;
50 const Operator* binop; 50 const Operator* binop;
51 const Operator* unop; 51 const Operator* unop;
(...skipping 1193 matching lines...) Expand 10 before | Expand all | Expand 10 after
1245 CHECK_EQ(p1, r->InputAt(1)); 1245 CHECK_EQ(p1, r->InputAt(1));
1246 } 1246 }
1247 } 1247 }
1248 } 1248 }
1249 } 1249 }
1250 } 1250 }
1251 1251
1252 } // namespace compiler 1252 } // namespace compiler
1253 } // namespace internal 1253 } // namespace internal
1254 } // namespace v8 1254 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/typer.cc ('k') | test/unittests/compiler/graph-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698