Commit 284d3182 authored by Danylo Boiko's avatar Danylo Boiko Committed by V8 LUCI CQ

[turbolizer] Bytecode view constant pool fix

Bug: v8:7327
Change-Id: I6991579e2b165a4218935be6588ded269ace1e27
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3865150Reviewed-by: 's avatarNico Hartmann <nicohartmann@chromium.org>
Commit-Queue: Danylo Boiko <danielboyko02@gmail.com>
Cr-Commit-Position: refs/heads/main@{#82823}
parent f30f3815
......@@ -79,7 +79,7 @@ export class BytecodeSourceView extends View {
}
codePre.appendChild(sourceList);
if (view.source.constantPool.length === 0) return;
if (!view.source.constantPool) return;
const constantList = createElement("ol", "linenums constants");
const constantListHeader = createElement("li", "");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment