| OLD | NEW |
| 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/bit-vector.h" |
| 11 #include "src/compiler/control-equivalence.h" | 11 #include "src/compiler/control-equivalence.h" |
| 12 #include "src/compiler/graph.h" | 12 #include "src/compiler/graph.h" |
| 13 #include "src/compiler/graph-inl.h" | 13 #include "src/compiler/graph-inl.h" |
| 14 #include "src/compiler/node.h" | 14 #include "src/compiler/node.h" |
| 15 #include "src/compiler/node-properties.h" | 15 #include "src/compiler/node-marker.h" |
| 16 #include "src/compiler/node-properties-inl.h" | 16 #include "src/compiler/node-properties-inl.h" |
| 17 | 17 |
| 18 namespace v8 { | 18 namespace v8 { |
| 19 namespace internal { | 19 namespace internal { |
| 20 namespace compiler { | 20 namespace compiler { |
| 21 | 21 |
| 22 static inline void Trace(const char* msg, ...) { | 22 static inline void Trace(const char* msg, ...) { |
| 23 if (FLAG_trace_turbo_scheduler) { | 23 if (FLAG_trace_turbo_scheduler) { |
| 24 va_list arguments; | 24 va_list arguments; |
| 25 va_start(arguments, msg); | 25 va_start(arguments, msg); |
| (...skipping 1448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1474 for (NodeVectorIter i = nodes->begin(); i != nodes->end(); ++i) { | 1474 for (NodeVectorIter i = nodes->begin(); i != nodes->end(); ++i) { |
| 1475 schedule_->SetBlockForNode(to, *i); | 1475 schedule_->SetBlockForNode(to, *i); |
| 1476 scheduled_nodes_[to->id().ToSize()].push_back(*i); | 1476 scheduled_nodes_[to->id().ToSize()].push_back(*i); |
| 1477 } | 1477 } |
| 1478 nodes->clear(); | 1478 nodes->clear(); |
| 1479 } | 1479 } |
| 1480 | 1480 |
| 1481 } // namespace compiler | 1481 } // namespace compiler |
| 1482 } // namespace internal | 1482 } // namespace internal |
| 1483 } // namespace v8 | 1483 } // namespace v8 |
| OLD | NEW |