mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-01 22:07:41 +00:00
Bug 1022321 - IonMonkey: Relax an overzealous assert. r=nbp
This commit is contained in:
parent
55694940f4
commit
a0e460baf1
@ -91,6 +91,9 @@ class MBasicBlock : public TempObject, public InlineListNode<MBasicBlock>
|
||||
// Mark this block (and only this block) as unreachable.
|
||||
void setUnreachable() {
|
||||
JS_ASSERT(!unreachable_);
|
||||
setUnreachableUnchecked();
|
||||
}
|
||||
void setUnreachableUnchecked() {
|
||||
unreachable_ = true;
|
||||
}
|
||||
bool unreachable() const {
|
||||
|
@ -1053,7 +1053,7 @@ MBeta::computeRange(TempAllocator &alloc)
|
||||
Range *range = Range::intersect(alloc, &opRange, comparison_, &emptyRange);
|
||||
if (emptyRange) {
|
||||
IonSpew(IonSpew_Range, "Marking block for inst %d unreachable", id());
|
||||
block()->setUnreachable();
|
||||
block()->setUnreachableUnchecked();
|
||||
} else {
|
||||
setRange(range);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user