Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fd80a31e0697d6317ce8c2d289575399f4e06d21 has introduced a segfault during redundant boundary check elimination (#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 a45c96a from v8's upstream. See v8@a45c96ab for details. fix #8208 Signed-off-by: Jeroen Ooms <[email protected]>
- Loading branch information