caf311f681
Write barrier elimination applies when there is no potential Dart call between a StoreFieldInstr and an AllocateObjectInstr. But the control flow between all potentially throwing instructions in a try block and the corresponding catch block is not explicitly repreresented in the flow graph, so the writer barrier elimination pass needs to handle catch entries specially. TEST=vm/dart/write_barrier_catch_entry_test Bug: https://github.com/dart-lang/sdk/issues/60836 Change-Id: I96d5999433320e87da095f85e4a7438bcf5e134f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/432880 Reviewed-by: Alexander Aprelev <aam@google.com> Commit-Queue: Ryan Macnak <rmacnak@google.com>