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

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

Issue 1157023002: [turbofan] Change End to take a variable number of inputs. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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
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/js-graph.h" 5 #include "src/compiler/js-graph.h"
6 #include "src/compiler/js-typed-lowering.h" 6 #include "src/compiler/js-typed-lowering.h"
7 #include "src/compiler/machine-operator.h" 7 #include "src/compiler/machine-operator.h"
8 #include "src/compiler/node-properties.h" 8 #include "src/compiler/node-properties.h"
9 #include "src/compiler/opcodes.h" 9 #include "src/compiler/opcodes.h"
10 #include "src/compiler/operator-properties.h" 10 #include "src/compiler/operator-properties.h"
(...skipping 23 matching lines...) Expand all
34 binop(NULL), 34 binop(NULL),
35 unop(NULL), 35 unop(NULL),
36 javascript(main_zone()), 36 javascript(main_zone()),
37 machine(main_zone()), 37 machine(main_zone()),
38 simplified(main_zone()), 38 simplified(main_zone()),
39 common(main_zone()), 39 common(main_zone()),
40 graph(main_zone()), 40 graph(main_zone()),
41 typer(main_isolate(), &graph, MaybeHandle<Context>()), 41 typer(main_isolate(), &graph, MaybeHandle<Context>()),
42 context_node(NULL) { 42 context_node(NULL) {
43 graph.SetStart(graph.NewNode(common.Start(num_parameters))); 43 graph.SetStart(graph.NewNode(common.Start(num_parameters)));
44 graph.SetEnd(graph.NewNode(common.End())); 44 graph.SetEnd(graph.NewNode(common.End(1)));
45 typer.Run(); 45 typer.Run();
46 } 46 }
47 47
48 Isolate* isolate; 48 Isolate* isolate;
49 const Operator* binop; 49 const Operator* binop;
50 const Operator* unop; 50 const Operator* unop;
51 JSOperatorBuilder javascript; 51 JSOperatorBuilder javascript;
52 MachineOperatorBuilder machine; 52 MachineOperatorBuilder machine;
53 SimplifiedOperatorBuilder simplified; 53 SimplifiedOperatorBuilder simplified;
54 CommonOperatorBuilder common; 54 CommonOperatorBuilder common;
(...skipping 1207 matching lines...) Expand 10 before | Expand all | Expand 10 after
1262 CHECK_EQ(p1, r->InputAt(0)); 1262 CHECK_EQ(p1, r->InputAt(0));
1263 CHECK_EQ(p0, r->InputAt(1)); 1263 CHECK_EQ(p0, r->InputAt(1));
1264 } else { 1264 } else {
1265 CHECK_EQ(p0, r->InputAt(0)); 1265 CHECK_EQ(p0, r->InputAt(0));
1266 CHECK_EQ(p1, r->InputAt(1)); 1266 CHECK_EQ(p1, r->InputAt(1));
1267 } 1267 }
1268 } 1268 }
1269 } 1269 }
1270 } 1270 }
1271 } 1271 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698