Fixed sideexit coalescing code not checking global count (bug 496813, r=gal).

This commit is contained in:
David Anderson 2009-06-08 13:20:25 -07:00
Родитель 8677f6b0b8
Коммит 78276b0022
1 изменённых файлов: 1 добавлений и 0 удалений

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

@ -2437,6 +2437,7 @@ TraceRecorder::snapshot(ExitType exitType)
for (unsigned n = 0; n < nexits; ++n) {
VMSideExit* e = exits[n];
if (e->pc == pc && e->imacpc == fp->imacpc &&
ngslots == e->numGlobalSlots &&
!memcmp(getFullTypeMap(exits[n]), typemap, typemap_size)) {
AUDIT(mergedLoopExits);
return e;