1ca9a77095
Log FeedbackVectors for optimised code and show them in the code-panel. Drive-by-fixes: - Fix off-by-one in SourcePositionIteration, making sure we always show the last element - Ensure we process all SourcePositions in SourcePositionIteration - Fix first load error in script-panel - Allow expanding all text with SHIFT-click Bug: v8:10644 Change-Id: Ic40a36ea82f0dfa2386c3196f27ca6978cf23643 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3245931 Reviewed-by: Leszek Swirski <leszeks@chromium.org> Commit-Queue: Camillo Bruni <cbruni@chromium.org> Cr-Commit-Position: refs/heads/main@{#77567}
44 lines
1.2 KiB
HTML
44 lines
1.2 KiB
HTML
<!-- Copyright 2020 the V8 project authors. All rights reserved.
|
|
Use of this source code is governed by a BSD-style license that can be
|
|
found in the LICENSE file. -->
|
|
<head>
|
|
<link href="./index.css" rel="stylesheet">
|
|
</head>
|
|
|
|
<style>
|
|
#sourceCode {
|
|
white-space: pre-line;
|
|
}
|
|
.register {
|
|
border-bottom: 1px dashed;
|
|
border-radius: 2px;
|
|
}
|
|
.register:hover {
|
|
background-color: var(--border-color);
|
|
}
|
|
.register.selected {
|
|
color: var(--default-color);
|
|
background-color: var(--border-color);
|
|
}
|
|
</style>
|
|
|
|
<div class="panel">
|
|
<input type="checkbox" id="closer" class="panelCloserInput" checked>
|
|
<label class="panelCloserLabel" for="closer">▼</label>
|
|
<h2 class="title">Code Panel</h2>
|
|
<div class="selection">
|
|
<select id="codeSelect"></select>
|
|
<button id="selectedRelatedButton">Select Related Events</button>
|
|
</div>
|
|
<div class="panelBody">
|
|
<h3>Properties</h3>
|
|
<property-link-table id="properties"></property-link-table>
|
|
<h3>FeedbackVector</h3>
|
|
<property-link-table id="feedbackVector"></property-link-table>
|
|
<h3>Disassembly</h3>
|
|
<pre id="disassembly"></pre>
|
|
<h3>Source Code</h3>
|
|
<pre id="sourceCode"></pre>
|
|
</div>
|
|
</div>
|