dart-sdk/tests
Stephen Adams ff617b9505 [dart2js] Fix bug in load elimination with try-catch-finally
1. Make unwrapException pure. This allows it to be removed if the
exception is unused, and ensures that the catch does not unnecessarily
invalidate locations. This is helpful since, by itself, this change
causes some test failures due to the load elimination bug (#47166).

2. Invalidate locations on entry to catch and finally blocks. This is
a conservative fix for #47166.

Bug: 47166
Change-Id: If3b4113b538978095d59814c16bd8375bbd70696
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213414
Reviewed-by: Mayank Patke <fishythefish@google.com>
Commit-Queue: Stephen Adams <sra@google.com>
2021-09-15 19:34:23 +00:00
..
co19 [co19] Re-enable fixed tests 2021-09-06 17:30:57 +00:00
co19_2 [co19] LibTests/typed_data tests skipped for dart2js 2021-08-16 08:07:34 +00:00
corelib Fix bug in Duration.toString(). 2021-09-10 14:58:47 +00:00
corelib_2 Fix bug in Duration.toString(). 2021-09-10 14:58:47 +00:00
dartdevc [ddc] Unify pkg:js types and allow subtyping between them 2021-07-30 00:33:54 +00:00
dartdevc_2 [ddc] Unify pkg:js types and allow subtyping between them 2021-07-30 00:33:54 +00:00
ffi [vm/ffi] Adds FFI transform for Handle -> Pointer. 2021-09-15 12:47:35 +00:00
ffi_2 [vm/ffi] Adds param number in trampoline null error 2021-09-04 07:22:03 +00:00
language [dart2js] Fix bug in load elimination with try-catch-finally 2021-09-15 19:34:23 +00:00
language_2 master branch to main 2021-09-15 06:22:23 +00:00
lib Optimize js_util callConstructor for 0-4 arguments. 2021-09-13 22:43:10 +00:00
lib_2 Optimize js_util callConstructor for 0-4 arguments. 2021-09-13 22:43:10 +00:00
modular [ddc] Fix private class exposed by typedef 2021-04-05 18:54:56 +00:00
standalone [io/http] Add a HTTP Client parameter on WebSocket.connect to allow a custom HTTP Client for web socket connections. 2021-09-15 18:06:42 +00:00
standalone_2 [io/http] Add a HTTP Client parameter on WebSocket.connect to allow a custom HTTP Client for web socket connections. 2021-09-15 18:06:42 +00:00
web [dart2js] Improve type inference for createSentinel. 2021-09-13 21:59:20 +00:00
web_2 Remove obsolete internal dart2js annotations 2021-08-04 23:27:18 +00:00
legacy_status_dart2js.csv [dart2js] Remove obsolete unittests. 2020-05-12 17:16:39 +00:00
README.md

This directory contains tests of the language and core library implementations. For more information, see https://github.com/dart-lang/sdk/wiki/Testing.