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

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

Issue 663333003: [turbofan] use ZonePool in most places in the compiler pipeline a temp zone is used. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: rebase 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/js-inlining.h » ('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(Linkage* linkage, 16 InstructionSelector::InstructionSelector(Zone* local_zone, Linkage* linkage,
17 InstructionSequence* sequence, 17 InstructionSequence* sequence,
18 Schedule* schedule, 18 Schedule* schedule,
19 SourcePositionTable* source_positions, 19 SourcePositionTable* source_positions,
20 Features features) 20 Features features)
21 : zone_(sequence->isolate()), 21 : zone_(local_zone),
22 linkage_(linkage), 22 linkage_(linkage),
23 sequence_(sequence), 23 sequence_(sequence),
24 source_positions_(source_positions), 24 source_positions_(source_positions),
25 features_(features), 25 features_(features),
26 schedule_(schedule), 26 schedule_(schedule),
27 current_block_(NULL), 27 current_block_(NULL),
28 instructions_(zone()), 28 instructions_(zone()),
29 defined_(sequence->node_count(), false, zone()), 29 defined_(sequence->node_count(), false, zone()),
30 used_(sequence->node_count(), false, zone()) {} 30 used_(sequence->node_count(), false, zone()) {}
31 31
(...skipping 1007 matching lines...) Expand 10 before | Expand all | Expand 10 after
1039 void InstructionSelector::VisitBranch(Node* branch, BasicBlock* tbranch, 1039 void InstructionSelector::VisitBranch(Node* branch, BasicBlock* tbranch,
1040 BasicBlock* fbranch) { 1040 BasicBlock* fbranch) {
1041 UNIMPLEMENTED(); 1041 UNIMPLEMENTED();
1042 } 1042 }
1043 1043
1044 #endif // !V8_TURBOFAN_BACKEND 1044 #endif // !V8_TURBOFAN_BACKEND
1045 1045
1046 } // namespace compiler 1046 } // namespace compiler
1047 } // namespace internal 1047 } // namespace internal
1048 } // namespace v8 1048 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/instruction-selector.h ('k') | src/compiler/js-inlining.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698