commit 35f8d49dbb0f40291e97882025439f9add6b5cd9
parent d20174d0d0e9fb84e3bf2a241d85a895e229ca37
Author: Ben Visness <bvisness@mozilla.com>
Date: Mon, 5 Jan 2026 15:46:10 +0000
Bug 2007917: Add OSR attribute to OSR blocks. r=nbp
This will be useful for fixing this issue:
https://github.com/mozilla-spidermonkey/iongraph/issues/20
Differential Revision: https://phabricator.services.mozilla.com/D277602
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/js/src/jit/GraphSpewer.cpp b/js/src/jit/GraphSpewer.cpp
@@ -184,6 +184,9 @@ void GraphSpewer::spewMIR(MIRGraph* mir) {
if (block->isSplitEdge()) {
value("splitedge");
}
+ if (*block == mir->osrBlock()) {
+ value("osr");
+ }
}
endList();