| 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 "src/compiler/node.h" | 5 #include "src/compiler/node.h" |
| 6 #include "src/compiler/node-properties.h" | 6 #include "src/compiler/node-properties.h" |
| 7 #include "src/compiler/node-properties-inl.h" | 7 #include "src/compiler/node-properties-inl.h" |
| 8 #include "src/compiler/schedule.h" | 8 #include "src/compiler/schedule.h" |
| 9 #include "src/ostreams.h" | 9 #include "src/ostreams.h" |
| 10 | 10 |
| (...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 j != block->predecessors_end(); ++j) { | 267 j != block->predecessors_end(); ++j) { |
| 268 if (comma) os << ", "; | 268 if (comma) os << ", "; |
| 269 comma = true; | 269 comma = true; |
| 270 os << "B" << (*j)->id(); | 270 os << "B" << (*j)->id(); |
| 271 } | 271 } |
| 272 os << " ---\n"; | 272 os << " ---\n"; |
| 273 for (BasicBlock::const_iterator j = block->begin(); j != block->end(); | 273 for (BasicBlock::const_iterator j = block->begin(); j != block->end(); |
| 274 ++j) { | 274 ++j) { |
| 275 Node* node = *j; | 275 Node* node = *j; |
| 276 os << " " << *node; | 276 os << " " << *node; |
| 277 if (!NodeProperties::IsControl(node)) { | 277 if (NodeProperties::IsTyped(node)) { |
| 278 Bounds bounds = NodeProperties::GetBounds(node); | 278 Bounds bounds = NodeProperties::GetBounds(node); |
| 279 os << " : "; | 279 os << " : "; |
| 280 bounds.lower->PrintTo(os); | 280 bounds.lower->PrintTo(os); |
| 281 if (!bounds.upper->Is(bounds.lower)) { | 281 if (!bounds.upper->Is(bounds.lower)) { |
| 282 os << ".."; | 282 os << ".."; |
| 283 bounds.upper->PrintTo(os); | 283 bounds.upper->PrintTo(os); |
| 284 } | 284 } |
| 285 } | 285 } |
| 286 os << "\n"; | 286 os << "\n"; |
| 287 } | 287 } |
| (...skipping 15 matching lines...) Expand all Loading... |
| 303 } | 303 } |
| 304 os << "\n"; | 304 os << "\n"; |
| 305 } | 305 } |
| 306 } | 306 } |
| 307 return os; | 307 return os; |
| 308 } | 308 } |
| 309 | 309 |
| 310 } // namespace compiler | 310 } // namespace compiler |
| 311 } // namespace internal | 311 } // namespace internal |
| 312 } // namespace v8 | 312 } // namespace v8 |
| OLD | NEW |