Bug 1234845 part 8 - Remove JitProfilingFrameIterator special case for eval that's no longer needed. r=shu

This commit is contained in:
Jan de Mooij 2016-01-22 13:28:06 +01:00
Родитель 9e47057422
Коммит 4cee719d8d
1 изменённых файлов: 1 добавлений и 9 удалений

Просмотреть файл

@ -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.