Bug 921470 - Remove hasFallbackStub_ check in resetMonitorStubChain. r=djvj

This commit is contained in:
Jan de Mooij 2013-12-10 09:31:53 +01:00
Родитель 789fd7e109
Коммит 4aac24245b
1 изменённых файлов: 2 добавлений и 4 удалений

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

@ -496,10 +496,8 @@ ICTypeMonitor_Fallback::resetMonitorStubChain(Zone *zone)
// We are removing edges from monitored stubs to gcthings (IonCode).
// Perform one final trace of all monitor stubs for incremental GC,
// as it must know about those edges.
if (hasFallbackStub_) {
for (ICStub *s = firstMonitorStub_; !s->isTypeMonitor_Fallback(); s = s->next())
s->trace(zone->barrierTracer());
}
for (ICStub *s = firstMonitorStub_; !s->isTypeMonitor_Fallback(); s = s->next())
s->trace(zone->barrierTracer());
}
firstMonitorStub_ = this;