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

Side by Side Diff: src/compiler/schedule.h

Issue 669613002: [turbofan] remove schedule from 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/pipeline.cc ('k') | src/compiler/schedule.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 #ifndef V8_COMPILER_SCHEDULE_H_ 5 #ifndef V8_COMPILER_SCHEDULE_H_
6 #define V8_COMPILER_SCHEDULE_H_ 6 #define V8_COMPILER_SCHEDULE_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 175
176 Successors successors_; 176 Successors successors_;
177 Predecessors predecessors_; 177 Predecessors predecessors_;
178 Id id_; 178 Id id_;
179 179
180 DISALLOW_COPY_AND_ASSIGN(BasicBlock); 180 DISALLOW_COPY_AND_ASSIGN(BasicBlock);
181 }; 181 };
182 182
183 std::ostream& operator<<(std::ostream& os, const BasicBlock::Control& c); 183 std::ostream& operator<<(std::ostream& os, const BasicBlock::Control& c);
184 std::ostream& operator<<(std::ostream& os, const BasicBlock::Id& id); 184 std::ostream& operator<<(std::ostream& os, const BasicBlock::Id& id);
185 std::ostream& operator<<(std::ostream& os, const BasicBlock::RpoNumber& rpo);
185 186
186 typedef ZoneVector<BasicBlock*> BasicBlockVector; 187 typedef ZoneVector<BasicBlock*> BasicBlockVector;
187 typedef BasicBlockVector::iterator BasicBlockVectorIter; 188 typedef BasicBlockVector::iterator BasicBlockVectorIter;
188 typedef BasicBlockVector::reverse_iterator BasicBlockVectorRIter; 189 typedef BasicBlockVector::reverse_iterator BasicBlockVectorRIter;
189 190
190 // A schedule represents the result of assigning nodes to basic blocks 191 // A schedule represents the result of assigning nodes to basic blocks
191 // and ordering them within basic blocks. Prior to computing a schedule, 192 // and ordering them within basic blocks. Prior to computing a schedule,
192 // a graph has no notion of control flow ordering other than that induced 193 // a graph has no notion of control flow ordering other than that induced
193 // by the graph's dependencies. A schedule is required to generate code. 194 // by the graph's dependencies. A schedule is required to generate code.
194 class Schedule FINAL : public ZoneObject { 195 class Schedule FINAL : public ZoneObject {
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 BasicBlock* end_; 258 BasicBlock* end_;
258 }; 259 };
259 260
260 std::ostream& operator<<(std::ostream& os, const Schedule& s); 261 std::ostream& operator<<(std::ostream& os, const Schedule& s);
261 262
262 } // namespace compiler 263 } // namespace compiler
263 } // namespace internal 264 } // namespace internal
264 } // namespace v8 265 } // namespace v8
265 266
266 #endif // V8_COMPILER_SCHEDULE_H_ 267 #endif // V8_COMPILER_SCHEDULE_H_
OLDNEW
« no previous file with comments | « src/compiler/pipeline.cc ('k') | src/compiler/schedule.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698