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

Side by Side Diff: test/cctest/compiler/test-js-typed-lowering.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
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 20 matching lines...) Expand all
31 public: 31 public:
32 explicit JSTypedLoweringTester(int num_parameters = 0) 32 explicit JSTypedLoweringTester(int num_parameters = 0)
33 : isolate(main_isolate()), 33 : isolate(main_isolate()),
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, nullptr, MaybeHandle<Context>()), 41 typer(main_isolate(), &graph),
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(1))); 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;
(...skipping 1206 matching lines...) Expand 10 before | Expand all | Expand 10 after
1258 CHECK_EQ(p1, r->InputAt(0)); 1258 CHECK_EQ(p1, r->InputAt(0));
1259 CHECK_EQ(p0, r->InputAt(1)); 1259 CHECK_EQ(p0, r->InputAt(1));
1260 } else { 1260 } else {
1261 CHECK_EQ(p0, r->InputAt(0)); 1261 CHECK_EQ(p0, r->InputAt(0));
1262 CHECK_EQ(p1, r->InputAt(1)); 1262 CHECK_EQ(p1, r->InputAt(1));
1263 } 1263 }
1264 } 1264 }
1265 } 1265 }
1266 } 1266 }
1267 } 1267 }
OLDNEW
« no previous file with comments | « test/cctest/compiler/test-js-constant-cache.cc ('k') | test/cctest/compiler/test-machine-operator-reducer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698