Files
sdk/runtime/vm
Martin Kustermann f20e6d3fa0 [vm] Remove complex logic in kernel loader for dealing with annotations
Instead of peeking into constant table and then delaying scanning of
constants by putting it in an array, which is walked again in some
future point, we simply read the annotation constants entirely without
requiring const evaluation. This works fine for pragma annotations the
VM is interested in - as there's no user-defined classes involved.

-> Loading kernel will no longer require constant evaluation to work.

Motivation for this is that [0] wants to make this delayed annotation
scanning logic even more complicated, so I prefer to remove it entirely.

[0] https://dart-review.googlesource.com/c/sdk/+/289027

TEST=ci

Change-Id: Ib859480107b6cf119d66035e66ec161ed11ddb32
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/290502
Reviewed-by: Slava Egorov <vegorov@google.com>
Commit-Queue: Martin Kustermann <kustermann@google.com>
2023-03-22 12:25:47 +00:00
..
2023-01-18 21:08:38 +00:00
2023-03-06 22:06:59 +00:00
2022-12-29 10:18:02 +00:00
2023-03-06 22:06:59 +00:00
2023-03-06 22:06:59 +00:00
2023-03-06 22:06:59 +00:00
2023-03-06 21:00:30 +00:00
2023-03-06 22:06:59 +00:00
2023-03-06 22:06:59 +00:00
2023-01-20 12:37:49 +00:00
2023-01-24 18:00:25 +00:00
2022-01-20 00:57:57 +00:00
2022-01-20 00:57:57 +00:00
2022-07-29 18:11:01 +00:00
2022-01-20 00:57:57 +00:00
2022-01-20 00:57:57 +00:00
2023-03-06 22:06:59 +00:00
2022-03-25 10:29:30 +00:00
2023-01-20 12:37:49 +00:00
2022-06-10 15:48:54 +00:00
2023-01-19 10:06:29 +00:00
2022-01-20 00:57:57 +00:00
2022-09-12 12:33:57 +00:00
2022-09-12 12:33:57 +00:00
2023-03-06 22:06:59 +00:00
2023-01-19 16:24:29 +00:00
2023-01-24 18:00:25 +00:00
2023-01-24 18:00:25 +00:00
2022-12-29 10:18:02 +00:00
2023-01-30 18:29:59 +00:00
2022-12-29 10:18:02 +00:00
2023-01-20 12:37:49 +00:00
2022-12-29 10:18:02 +00:00
2022-12-29 10:18:02 +00:00
2022-12-29 10:18:02 +00:00
2023-03-06 22:06:59 +00:00
2023-02-21 18:58:42 +00:00
2022-03-25 10:29:30 +00:00
2023-03-06 22:06:59 +00:00
2022-03-26 09:41:21 +00:00
2022-01-20 00:57:57 +00:00
2023-01-20 10:30:41 +00:00
2023-03-06 22:06:59 +00:00
2022-12-13 19:28:37 +00:00
2023-03-06 21:00:30 +00:00
2023-03-06 21:00:30 +00:00
2023-03-06 21:00:30 +00:00
2023-03-06 22:06:59 +00:00
2023-01-06 07:48:22 +00:00
2022-12-29 10:18:02 +00:00
2022-06-15 11:08:28 +00:00
2023-01-24 18:00:25 +00:00
2022-01-20 00:57:57 +00:00
2023-01-06 07:48:22 +00:00
2022-07-29 18:11:01 +00:00
2022-07-29 18:11:01 +00:00
2022-07-29 18:11:01 +00:00
2023-03-06 21:00:30 +00:00
2022-12-29 10:18:02 +00:00
2022-12-29 10:18:02 +00:00
2022-12-29 10:18:02 +00:00
2022-12-29 10:18:02 +00:00
2023-03-06 22:06:59 +00:00
2023-01-09 15:48:57 +00:00
2022-12-29 10:18:02 +00:00
2023-01-20 12:37:49 +00:00
2022-12-29 10:18:02 +00:00
2023-01-20 12:37:49 +00:00
2023-03-06 22:06:59 +00:00
2022-12-29 10:18:02 +00:00
2022-09-10 15:12:35 +00:00
2022-09-10 15:12:35 +00:00
2023-03-06 21:00:30 +00:00
2023-03-06 22:06:59 +00:00