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

Unified Diff: tools/turbolizer/node.js

Issue 2225683009: [turbolizer] Show operator properties and arity in tooltip. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@t-base
Patch Set: OP_PROP_LIST -> OPERATOR_PROPERTY_LIST 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 | « src/compiler/operator.cc ('k') | no next file » | 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 f5612cc4a0a64e15c37faa7b38cf22c959e898fc..304b29492409570bb7f99b0b43af442e791ec1b5 100644
--- a/tools/turbolizer/node.js
+++ b/tools/turbolizer/node.js
@@ -48,7 +48,15 @@ var Node = {
return Math.max(inputWidth, this.width);
},
getTitle: function() {
- return this.title;
+ var propsString;
+ if (this.properties === undefined) {
+ propsString = "";
+ } else if (this.properties === "") {
+ propsString = "no properties";
+ } else {
+ propsString = "[" + this.properties + "]";
+ }
+ return this.title + "\n" + propsString + "\n" + this.opinfo;
},
getDisplayLabel: function() {
var result = this.id + ":" + this.label;
« no previous file with comments | « src/compiler/operator.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698