ExpandedExceptionVisitor memory error
Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
parent
2163a5c6b9
commit
26be60906c
|
|
@ -2159,6 +2159,7 @@ ExpandedExceptionVisitor::expandThru(ExceptionFrom *expanded_from,
|
||||||
ExceptionThruSeq::Iterator &thru_iter,
|
ExceptionThruSeq::Iterator &thru_iter,
|
||||||
ExceptionThruSeq *expanded_thrus)
|
ExceptionThruSeq *expanded_thrus)
|
||||||
{
|
{
|
||||||
|
if (exception_->thrus()) {
|
||||||
if (thru_iter.hasNext()) {
|
if (thru_iter.hasNext()) {
|
||||||
ExceptionThru *thru = thru_iter.next();
|
ExceptionThru *thru = thru_iter.next();
|
||||||
const RiseFallBoth *rf = thru->transition();
|
const RiseFallBoth *rf = thru->transition();
|
||||||
|
|
@ -2193,6 +2194,7 @@ ExpandedExceptionVisitor::expandThru(ExceptionFrom *expanded_from,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
// End of thrus tail recursion.
|
// End of thrus tail recursion.
|
||||||
expandTo(expanded_from, expanded_thrus);
|
expandTo(expanded_from, expanded_thrus);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue