mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1134515 - Ensure SPSBaselineOSRMarker checks pseudostack size properly. r=shu
This commit is contained in:
parent
80a8e79f1f
commit
a8b6d60cdd
@ -358,7 +358,9 @@ SPSBaselineOSRMarker::SPSBaselineOSRMarker(JSRuntime *rt, bool hasSPSFrame
|
||||
: profiler(&rt->spsProfiler)
|
||||
{
|
||||
MOZ_GUARD_OBJECT_NOTIFIER_INIT;
|
||||
if (!hasSPSFrame || !profiler->enabled()) {
|
||||
if (!hasSPSFrame || !profiler->enabled() ||
|
||||
profiler->size() >= profiler->maxSize())
|
||||
{
|
||||
profiler = nullptr;
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user