зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1234845 part 8 - Remove JitProfilingFrameIterator special case for eval that's no longer needed. r=shu
This commit is contained in:
Родитель
9e47057422
Коммит
4cee719d8d
|
@ -2967,15 +2967,7 @@ JitProfilingFrameIterator::JitProfilingFrameIterator(
|
|||
return;
|
||||
}
|
||||
|
||||
// In some rare cases (e.g. baseline eval frame), the callee script may
|
||||
// not have a baselineScript. Treat this is an empty frame-sequence and
|
||||
// move on.
|
||||
if (!frameScript()->hasBaselineScript()) {
|
||||
type_ = JitFrame_Entry;
|
||||
fp_ = nullptr;
|
||||
returnAddressToFp_ = nullptr;
|
||||
return;
|
||||
}
|
||||
MOZ_ASSERT(frameScript()->hasBaselineScript());
|
||||
|
||||
// If nothing matches, for now just assume we are at the start of the last frame's
|
||||
// baseline jit code.
|
||||
|
|
Загрузка…
Ссылка в новой задаче