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

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

Issue 509343002: Better typing and type verification (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Drop typedness from graph 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
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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 j != predecessors.end(); ++j) { 47 j != predecessors.end(); ++j) {
48 if (comma) os << ", "; 48 if (comma) os << ", ";
49 comma = true; 49 comma = true;
50 os << "B" << (*j)->id(); 50 os << "B" << (*j)->id();
51 } 51 }
52 os << " ---\n"; 52 os << " ---\n";
53 for (BasicBlock::const_iterator j = block->begin(); j != block->end(); 53 for (BasicBlock::const_iterator j = block->begin(); j != block->end();
54 ++j) { 54 ++j) {
55 Node* node = *j; 55 Node* node = *j;
56 os << " " << *node; 56 os << " " << *node;
57 if (!NodeProperties::IsControl(node)) { 57 if (NodeProperties::IsTyped(node)) {
58 Bounds bounds = NodeProperties::GetBounds(node); 58 Bounds bounds = NodeProperties::GetBounds(node);
59 os << " : "; 59 os << " : ";
60 bounds.lower->PrintTo(os); 60 bounds.lower->PrintTo(os);
61 if (!bounds.upper->Is(bounds.lower)) { 61 if (!bounds.upper->Is(bounds.lower)) {
62 os << ".."; 62 os << "..";
63 bounds.upper->PrintTo(os); 63 bounds.upper->PrintTo(os);
64 } 64 }
65 } 65 }
66 os << "\n"; 66 os << "\n";
67 } 67 }
(...skipping 15 matching lines...) Expand all
83 os << "B" << (*j)->id(); 83 os << "B" << (*j)->id();
84 } 84 }
85 os << "\n"; 85 os << "\n";
86 } 86 }
87 } 87 }
88 return os; 88 return os;
89 } 89 }
90 } // namespace compiler 90 } // namespace compiler
91 } // namespace internal 91 } // namespace internal
92 } // namespace v8 92 } // namespace v8
OLDNEW
« src/compiler/js-graph.cc ('K') | « src/compiler/pipeline.cc ('k') | src/compiler/typer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698