Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fd80a31 has introduced a segfault during redundant boundary check elimination (nodejs#8208). The problem consists of two parts: 1. Abscense of instruction iterator in `EliminateRedundantBoundsChecks`. It was present in recent v8, but wasn't considered important at the time of backport. However, since the function is changing instructions order in block, it is important to not rely at `i->next()` at the end of the loop. 2. Too strict ASSERT in `MoveIndexIfNecessary`. It is essentially a backport of a45c96ab from v8's upstream. See v8/v8@a45c96ab for details. fix nodejs#8208
- Loading branch information