Index: tools/turbolizer/turbo-visualizer.js |
diff --git a/tools/turbolizer/turbo-visualizer.js b/tools/turbolizer/turbo-visualizer.js |
index 0c553d48b5f029a785ba033c5ce0ad40646d1dde..f0cb9e25f5daab2d43ee1917d0d32d6724b00735 100644 |
--- a/tools/turbolizer/turbo-visualizer.js |
+++ b/tools/turbolizer/turbo-visualizer.js |
@@ -170,9 +170,10 @@ document.onload = (function(d3){ |
hideCurrentPhase(); |
+ selectionBroker.setNodePositionMap(jsonObj.nodePositions); |
+ |
sourceView.initializeCode(jsonObj.source, jsonObj.sourcePosition); |
- disassemblyView.initializeCode(jsonObj.source, jsonObj.sourcePosition); |
- schedule.setNodePositionMap(jsonObj.nodePositions); |
+ disassemblyView.initializeCode(jsonObj.source); |
var selectMenu = document.getElementById('display-selector'); |
var disassemblyPhase = null; |
@@ -195,7 +196,6 @@ document.onload = (function(d3){ |
eventMenu.add(optionElement, null); |
} |
disassemblyView.initializePerfProfile(jsonObj.eventCounts); |
- disassemblyView.setNodePositionMap(jsonObj.nodePositions); |
disassemblyView.show(disassemblyPhase.data, null); |
var initialPhaseIndex = +window.sessionStorage.getItem("lastSelectedPhase"); |