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

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

Issue 658543002: Better typing and type verification (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments 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/typer.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 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
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
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
OLDNEW
« no previous file with comments | « src/compiler/pipeline.cc ('k') | src/compiler/typer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698