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

Side by Side Diff: test/cctest/compiler/test-representation-change.cc

Issue 562203004: Avoid usage of temporary MachineOperatorBuilder. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « test/cctest/compiler/test-changes-lowering.cc ('k') | no next file » | 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 <limits> 5 #include <limits>
6 6
7 #include "src/v8.h" 7 #include "src/v8.h"
8 #include "test/cctest/cctest.h" 8 #include "test/cctest/cctest.h"
9 #include "test/cctest/compiler/graph-builder-tester.h" 9 #include "test/cctest/compiler/graph-builder-tester.h"
10 10
(...skipping 10 matching lines...) Expand all
21 21
22 class RepresentationChangerTester : public HandleAndZoneScope, 22 class RepresentationChangerTester : public HandleAndZoneScope,
23 public GraphAndBuilders { 23 public GraphAndBuilders {
24 public: 24 public:
25 explicit RepresentationChangerTester(int num_parameters = 0) 25 explicit RepresentationChangerTester(int num_parameters = 0)
26 : GraphAndBuilders(main_zone()), 26 : GraphAndBuilders(main_zone()),
27 typer_(main_zone()), 27 typer_(main_zone()),
28 javascript_(main_zone()), 28 javascript_(main_zone()),
29 jsgraph_(main_graph_, &main_common_, &javascript_, &typer_, 29 jsgraph_(main_graph_, &main_common_, &javascript_, &typer_,
30 &main_machine_), 30 &main_machine_),
31 changer_(&jsgraph_, &main_simplified_, &main_machine_, main_isolate()) { 31 changer_(&jsgraph_, &main_simplified_, main_isolate()) {
32 Node* s = graph()->NewNode(common()->Start(num_parameters)); 32 Node* s = graph()->NewNode(common()->Start(num_parameters));
33 graph()->SetStart(s); 33 graph()->SetStart(s);
34 } 34 }
35 35
36 Typer typer_; 36 Typer typer_;
37 JSOperatorBuilder javascript_; 37 JSOperatorBuilder javascript_;
38 JSGraph jsgraph_; 38 JSGraph jsgraph_;
39 RepresentationChanger changer_; 39 RepresentationChanger changer_;
40 40
41 Isolate* isolate() { return main_isolate(); } 41 Isolate* isolate() { return main_isolate(); }
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 // rW64 297 // rW64
298 // tIrW64 298 // tIrW64
299 // tUrW64 299 // tUrW64
300 // rF64 300 // rF64
301 // tIrF64 301 // tIrF64
302 // tUrF64 302 // tUrF64
303 // tArF64 303 // tArF64
304 // rT 304 // rT
305 // tArT 305 // tArT
306 } 306 }
OLDNEW
« no previous file with comments | « test/cctest/compiler/test-changes-lowering.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698