aa650e53f5
AST-based flow graph builder has a heuristic logic on when to generate DebugStepCheck when assigning value to a variable. This logic depends on right-hand side expression. In order to replicate the same behavior with bytecode, bytecode generator would also implement this logic and generate explicit DebugCheck instructions instead of stopping on every StoreLocal/PopLocal/StoreContextVar. Change-Id: Ic10180673a324db9216e34459d9c0afaca6a11e6 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/111221 Reviewed-by: Régis Crelier <regis@google.com> Commit-Queue: Alexander Markov <alexmarkov@google.com>