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

Unified Diff: tools/turbolizer/node.js

Issue 2226293002: [turbolizer] Visualize also the dead nodes. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@t-p2
Patch Set: Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/turbolizer/live.png ('k') | tools/turbolizer/turbo-visualizer.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/turbolizer/node.js
diff --git a/tools/turbolizer/node.js b/tools/turbolizer/node.js
index 304b29492409570bb7f99b0b43af442e791ec1b5..18b74d021882709a6934e89f8e038422f385979d 100644
--- a/tools/turbolizer/node.js
+++ b/tools/turbolizer/node.js
@@ -21,6 +21,9 @@ var Node = {
isInput: function() {
return this.opcode == 'Parameter' || this.opcode.endsWith('Constant');
},
+ isLive: function() {
+ return this.live;
+ },
isJavaScript: function() {
return this.opcode.startsWith('JS');
},
« no previous file with comments | « tools/turbolizer/live.png ('k') | tools/turbolizer/turbo-visualizer.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698