dart-sdk/runtime
Liam Appelbe 929fec660b Reland "[vm] Refactor StubCodeCompiler to be a real class."
This is a reland of commit afdf640866

Original change's description:
> [vm] Refactor StubCodeCompiler to be a real class.
>
> Previously, StubCodeCompiler was just a set of static methods, all of
> which take an assembler as their first arg. This makes it hard to pass
> additional state to the ~160 stub macro defined stub generators.
>
> This refactor makes StubCodeCompiler a real class, with assembler as a
> field. So we can easily add new fields to the class later, to pass new
> state without having to update every stub generator.
>
> assembler is declared as a public field for a few reasons:
> - There's one place where it needs to be accessed by a non-member
>   function (in the ia32 file).
> - If it's private, it has to be named assembler_, which would mean a lot
>   more insignificant diffs.
> - Non-member functions that take assembler would have to take assembler_,
>   for consistency with the __ macro, which would be weird.
>
> Change-Id: I142f0803a07c7839753188065c69c334d4d1798a
> TEST=CI
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/289924
> Reviewed-by: Ryan Macnak <rmacnak@google.com>
> Commit-Queue: Liam Appelbe <liama@google.com>

Change-Id: Ib5be28c46a0a80b84e31aea60893ab5bbc02e2ea
TEST=CI, including all sanitizers and architectures
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/290681
Reviewed-by: Ryan Macnak <rmacnak@google.com>
Commit-Queue: Liam Appelbe <liama@google.com>
2023-03-22 23:48:56 +00:00
..
bin [CLI] Add help message about --timeline-recorder to dart run --help 2023-03-14 18:00:43 +00:00
docs [vm] Timeline docs. 2023-03-06 21:33:24 +00:00
include [vm] Fix Dart_CObject_Type breaking change 2023-02-20 11:59:19 +00:00
lib [vm/regexp] Name generated Regexp function with actual expression. 2023-03-09 03:49:58 +00:00
observatory [ Service ] Allow for case insensitive URI mappings on Windows and MacOS 2023-03-20 17:21:27 +00:00
observatory_2 [ Service ] Allow for case insensitive URI mappings on Windows and MacOS 2023-03-20 17:21:27 +00:00
platform [vm] Make VM strict about min required Mac OS X version. 2023-03-08 09:08:39 +00:00
tests Reland "[vm/ffi] Add class modifiers" 2023-03-21 15:25:10 +00:00
third_party Spelling pkg analyzer lib 2023-01-25 14:08:27 +00:00
tools [analyzer] Move 3 more HintCodes to be WarningCodes, UNNECESSARY_N* 2023-03-16 18:52:18 +00:00
vm Reland "[vm] Refactor StubCodeCompiler to be a real class." 2023-03-22 23:48:56 +00:00
.clang-tidy
.gitignore
BUILD.gn [vm] Remove malloc profiler. 2023-03-06 21:00:30 +00:00
codereview.settings
configs.gni [vm/ffi] FfiNative process lookup 2022-10-25 10:57:07 +00:00
CPPLINT.cfg [cpplint] Disable runtime/references lint 2023-01-23 18:21:48 +00:00
OWNERS [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00
PRESUBMIT.py Revert "[VM] Begin supporting Perfetto file recorder" 2023-02-28 12:41:00 +00:00
runtime_args.gni [vm] Remove malloc profiler. 2023-03-06 21:00:30 +00:00