dart-sdk/sdk/lib
Tess Strickland 904354f108 [vm/compiler] Convert index checks in TypedData methods to CheckBound.
Create a _typedDataIndexCheck abstraction for the conditional throwing
of IndexError in TypedData indexing operations. Recognize that
abstraction in the inliner and replace it with the equivalent CheckBound
instruction.

Do the same for byte offset checking in ByteData operations.

TEST=vm/dart/typed_list_index_checkbound

Change-Id: Ia6c4a3b7ae4667af69aa5bf214d4f187557dac06
Cq-Include-Trybots: luci.dart.try:vm-aot-linux-debug-x64-try,vm-aot-linux-release-x64-try,vm-linux-debug-x64-try,vm-eager-optimization-linux-release-x64-try
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/330800
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Tess Strickland <sstrickl@google.com>
2023-11-17 15:35:42 +00:00
..
_http Revert "Call the HttpClient constructor when connecting a WebSocket to allow HttpOverrides to work." 2023-11-14 16:32:50 +00:00
_internal [vm/compiler] Convert index checks in TypedData methods to CheckBound. 2023-11-17 15:35:42 +00:00
_wasm Reland "[dart2wasm] Use DataView in JS typed arrays" 2023-11-09 10:23:31 +00:00
async Remove some now unnecessary casts 2023-10-24 19:09:22 +00:00
cli [vm] Disable dart:cli waitFor by default 2023-09-14 10:08:29 +00:00
collection Unify splay tree iterators and interables constructor argument names. 2023-10-19 14:07:37 +00:00
convert Refer to unnamed constructors in doc comments with '.new' 2023-10-17 14:42:38 +00:00
core String.fromCharCodes allows start and end after end of iterable. 2023-11-17 13:34:22 +00:00
developer [vm/compiler] Tag non-ffi force-optimized functions idempotent. 2023-08-18 18:27:58 +00:00
ffi Revert "[vm/ffi] Optimize @Native calls" 2023-11-03 09:04:24 +00:00
html [vm] Mark NativeFieldWrapperClasses as base 2023-10-31 10:23:12 +00:00
indexed_db web_audio is not part sky_engine 2023-09-14 10:33:17 +00:00
internal Hide the existence of EfficientLengthIterable better. 2023-09-12 11:08:42 +00:00
io Document FileSystemEntity.delete when the type of object on the file system does not match the FileSystemEntity type. 2023-11-13 20:09:08 +00:00
isolate Refer to unnamed constructors in doc comments with '.new' 2023-10-17 14:42:38 +00:00
js Reland "[pkg:js/dart:js_interop] Move annotations to dart:_js_annotations" 2023-05-02 15:24:18 +00:00
js_interop [dart:js_interop] Add/fix some js_interop helpers 2023-09-23 18:32:59 +00:00
js_interop_unsafe [dart2wasm] Fix various null toExternRef calls for JS interop 2023-11-09 21:58:33 +00:00
js_util [js_util] Make callMethod take an Object method. 2023-03-23 00:23:00 +00:00
math Adding class modifiers to dart:math. 2023-03-13 14:01:26 +00:00
mirrors [sdk docs] update sdk libraries to use triple slash docs 2023-03-14 19:10:25 +00:00
svg web_audio is not part sky_engine 2023-09-14 10:33:17 +00:00
typed_data Revert "[typed_data] Deprecate unmodifiable views" 2023-10-27 15:22:54 +00:00
vmservice [vm] Pass offset and script uri for expression compilation 2023-10-12 10:22:38 +00:00
web_audio web_audio is not part sky_engine 2023-09-14 10:33:17 +00:00
web_gl web_audio is not part sky_engine 2023-09-14 10:33:17 +00:00
web_sql web_audio is not part sky_engine 2023-09-14 10:33:17 +00:00
analysis_options.yaml [vm/ffi] Support varargs 2023-01-20 10:30:41 +00:00
libraries.json [dart2wasm] Remove stringref target 2023-11-10 09:49:37 +00:00
libraries.yaml [dart2wasm] Remove stringref target 2023-11-10 09:49:37 +00:00
PRESUBMIT.py
vmservice_libraries.json
vmservice_libraries.yaml