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

Unified Diff: tools/turbolizer/disassembly-view.js

Issue 2234523002: [turbolizer] Fix selection bugs and performance problems (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
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 | « no previous file | tools/turbolizer/text-view.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/turbolizer/disassembly-view.js
diff --git a/tools/turbolizer/disassembly-view.js b/tools/turbolizer/disassembly-view.js
index 8c1352b3ed02d2ba5956784ef732dafb4f16f2bd..737437c16d175a79a6947b57fbf137cad7b70e75 100644
--- a/tools/turbolizer/disassembly-view.js
+++ b/tools/turbolizer/disassembly-view.js
@@ -7,10 +7,6 @@
class DisassemblyView extends TextView {
constructor(id, broker, sortedPositionList) {
super(id, broker, null, false);
- this.pos_start = -1;
- this.pos_lines = null;
- this.addr_event_counts = null;
- this.total_event_counts = null;
let view = this;
let ADDRESS_STYLE = {
@@ -153,6 +149,9 @@ class DisassemblyView extends TextView {
initializeCode(sourceText, sourcePosition) {
let view = this;
+ view.pos_start = -1;
+ view.addr_event_counts = null;
+ view.total_event_counts = null;
view.pos_lines = new Array();
// Comment lines for line 0 include sourcePosition already, only need to
// add sourcePosition for lines > 0.
« no previous file with comments | « no previous file | tools/turbolizer/text-view.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698