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

Side by Side Diff: src/compiler/instruction-selector.cc

Issue 664123002: [turbofan] cleanup InstructionSequence (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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 | « src/compiler/instruction-selector.h ('k') | src/compiler/pipeline.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/compiler/instruction-selector.h" 5 #include "src/compiler/instruction-selector.h"
6 6
7 #include "src/compiler/instruction-selector-impl.h" 7 #include "src/compiler/instruction-selector-impl.h"
8 #include "src/compiler/node-matchers.h" 8 #include "src/compiler/node-matchers.h"
9 #include "src/compiler/node-properties-inl.h" 9 #include "src/compiler/node-properties-inl.h"
10 #include "src/compiler/pipeline.h" 10 #include "src/compiler/pipeline.h"
11 11
12 namespace v8 { 12 namespace v8 {
13 namespace internal { 13 namespace internal {
14 namespace compiler { 14 namespace compiler {
15 15
16 InstructionSelector::InstructionSelector(InstructionSequence* sequence, 16 InstructionSelector::InstructionSelector(Linkage* linkage,
17 InstructionSequence* sequence,
17 Schedule* schedule, 18 Schedule* schedule,
18 SourcePositionTable* source_positions, 19 SourcePositionTable* source_positions,
19 Features features) 20 Features features)
20 : zone_(sequence->isolate()), 21 : zone_(sequence->isolate()),
22 linkage_(linkage),
21 sequence_(sequence), 23 sequence_(sequence),
22 source_positions_(source_positions), 24 source_positions_(source_positions),
23 features_(features), 25 features_(features),
24 schedule_(schedule), 26 schedule_(schedule),
25 current_block_(NULL), 27 current_block_(NULL),
26 instructions_(zone()), 28 instructions_(zone()),
27 defined_(sequence->node_count(), false, zone()), 29 defined_(sequence->node_count(), false, zone()),
28 used_(sequence->node_count(), false, zone()) {} 30 used_(sequence->node_count(), false, zone()) {}
29 31
30 32
(...skipping 1006 matching lines...) Expand 10 before | Expand all | Expand 10 after
1037 void InstructionSelector::VisitBranch(Node* branch, BasicBlock* tbranch, 1039 void InstructionSelector::VisitBranch(Node* branch, BasicBlock* tbranch,
1038 BasicBlock* fbranch) { 1040 BasicBlock* fbranch) {
1039 UNIMPLEMENTED(); 1041 UNIMPLEMENTED();
1040 } 1042 }
1041 1043
1042 #endif // !V8_TURBOFAN_BACKEND 1044 #endif // !V8_TURBOFAN_BACKEND
1043 1045
1044 } // namespace compiler 1046 } // namespace compiler
1045 } // namespace internal 1047 } // namespace internal
1046 } // namespace v8 1048 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/instruction-selector.h ('k') | src/compiler/pipeline.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698