commit ad197aca581f92f0e1954d808acfb2d54ac15881
parent b47d302a882c877ee7d0ef43425332b12f3a61bf
Author: Nazım Can Altınova <canaltinova@gmail.com>
Date: Mon, 22 Dec 2025 19:13:44 +0000
Bug 2007364 - Use the correct CodeBlock while calling sendToProfiler r=rhunt,jpages
Differential Revision: https://phabricator.services.mozilla.com/D277330
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/js/src/wasm/WasmCode.cpp b/js/src/wasm/WasmCode.cpp
@@ -528,9 +528,9 @@ bool Code::createManyLazyEntryStubs(const WriteGuard& guard,
}
}
- stubCodeBlock->sendToProfiler(*codeMeta_, *codeTailMeta_, codeMetaForAsmJS_,
- FuncIonPerfSpewerSpan(),
- FuncBaselinePerfSpewerSpan());
+ guard->blocks[*stubBlockIndex]->sendToProfiler(
+ *codeMeta_, *codeTailMeta_, codeMetaForAsmJS_, FuncIonPerfSpewerSpan(),
+ FuncBaselinePerfSpewerSpan());
return true;
}