Bug 1245152 - Ensure enough ballast space in RangeAnalysis::addRangeAssertions. r=h4writer

This commit is contained in:
Nicolas B. Pierron 2016-02-11 17:50:53 +00:00
parent 9cb9b4ea4c
commit f9ef51418a

View File

@ -2311,6 +2311,8 @@ RangeAnalysis::addRangeAssertions()
if (ins->isRecoveredOnBailout())
continue;
if (!alloc().ensureBallast())
return false;
MAssertRange* guard = MAssertRange::New(alloc(), ins, new(alloc()) Range(r));
// Beta nodes and interrupt checks are required to be located at the