c26cececd3
Add `final` to PredecessorAt and PredecessorCount on the six concrete BlockEntryInstr subclasses (GraphEntry, JoinEntry, TargetEntry, FunctionEntry, OsrEntry, CatchBlockEntry), so the compiler can devirtualize the calls. Measured on a naive 49 KLOC generated lexer with --huge_method_cutoff gates lifted and with synchronous compilation: JIT compile drops from ~30.6s to ~27.4s (about 10%). Work towards https://github.com/dart-lang/sdk/issues/63230 TEST=ci Change-Id: Ia2ef2761646a4c94748bcd7dfe0591262d93cd69 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/505401 Reviewed-by: Martin Kustermann <kustermann@google.com> Commit-Queue: Slava Egorov <vegorov@google.com> Reviewed-by: Slava Egorov <vegorov@google.com> Auto-Submit: Modestas Valauskas <valauskasmodestas@gmail.com>