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

Side by Side Diff: src/compiler/scheduler.cc

Issue 683243005: convert BitVector to use pointer size blocks (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 1 month 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/frame.h ('k') | src/compiler/verifier.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 #include <deque> 5 #include <deque>
6 #include <queue> 6 #include <queue>
7 7
8 #include "src/compiler/scheduler.h" 8 #include "src/compiler/scheduler.h"
9 9
10 #include "src/bit-vector.h"
10 #include "src/compiler/graph.h" 11 #include "src/compiler/graph.h"
11 #include "src/compiler/graph-inl.h" 12 #include "src/compiler/graph-inl.h"
12 #include "src/compiler/node.h" 13 #include "src/compiler/node.h"
13 #include "src/compiler/node-properties.h" 14 #include "src/compiler/node-properties.h"
14 #include "src/compiler/node-properties-inl.h" 15 #include "src/compiler/node-properties-inl.h"
15 #include "src/data-flow.h"
16 16
17 namespace v8 { 17 namespace v8 {
18 namespace internal { 18 namespace internal {
19 namespace compiler { 19 namespace compiler {
20 20
21 static inline void Trace(const char* msg, ...) { 21 static inline void Trace(const char* msg, ...) {
22 if (FLAG_trace_turbo_scheduler) { 22 if (FLAG_trace_turbo_scheduler) {
23 va_list arguments; 23 va_list arguments;
24 va_start(arguments, msg); 24 va_start(arguments, msg);
25 base::OS::VPrint(msg, arguments); 25 base::OS::VPrint(msg, arguments);
(...skipping 1345 matching lines...) Expand 10 before | Expand all | Expand 10 after
1371 for (NodeVectorIter i = nodes->begin(); i != nodes->end(); ++i) { 1371 for (NodeVectorIter i = nodes->begin(); i != nodes->end(); ++i) {
1372 schedule_->SetBlockForNode(to, *i); 1372 schedule_->SetBlockForNode(to, *i);
1373 scheduled_nodes_[to->id().ToSize()].push_back(*i); 1373 scheduled_nodes_[to->id().ToSize()].push_back(*i);
1374 } 1374 }
1375 nodes->clear(); 1375 nodes->clear();
1376 } 1376 }
1377 1377
1378 } // namespace compiler 1378 } // namespace compiler
1379 } // namespace internal 1379 } // namespace internal
1380 } // namespace v8 1380 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/frame.h ('k') | src/compiler/verifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698