mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 03:17:55 +00:00
fa976d75be
Now that we have our own `dart:convert` implementations in dart2wasm targets (1) and the internal types are now internally public (2), this simplifies some of the string implementation code by using the implementation classes directly. Note: stringref patch can be ignored, it's currently unused and I'm only updating it to make it compile. It will be rewritten based on `JSStringImpl` in [3]. To keep the CLs as small as possible, this CL does not do any of the optimizations we can do now, such as optimizing `OneByteString._setRange` to Wasm `array.copy` instructions. These will be done in follow-up CLs. [1]: https://dart-review.googlesource.com/c/sdk/+/330781 [2]: https://dart-review.googlesource.com/c/sdk/+/330783 [3]: https://dart-review.googlesource.com/c/sdk/+/316628 Change-Id: I92918d58a565ad32f5a221430e02d81562f03b00 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/331040 Reviewed-by: Jackson Gardner <jacksongardner@google.com> Commit-Queue: Ömer Ağacan <omersa@google.com> |
||
---|---|---|
.. | ||
bin | ||
lib | ||
.gitignore | ||
api_readme.md | ||
BUILD.gn | ||
OWNERS |