Tess Strickland
da9b3409e6
[vm/compiler] Make TemplateLoadField::CanCallDart more precise.
...
Only return true if the stub being invoked will call the
initializer function directly. Notably, return false if the stub
just calls the runtime.
This removes some write barriers in legacy code that were added
after 37d45743 .
TEST=New asserts that check CanCallDart() is false when calling runtime
and is true when calling stubs that call initializer functions
directly, combined with legacy code tests that use non-late fields.
Change-Id: I4118968b6ea42371d068c35d50339574939556e5
Bug: b/208619946
Cq-Include-Trybots: luci.dart.try:vm-kernel-linux-release-simarm-try,vm-kernel-linux-release-simarm64-try,vm-kernel-linux-release-ia32-try,vm-kernel-linux-release-x64-try,vm-kernel-nnbd-linux-release-ia32-try,vm-kernel-nnbd-linux-release-simarm-try,vm-kernel-nnbd-linux-release-simarm64-try,vm-kernel-nnbd-linux-release-x64-try,vm-kernel-precomp-linux-release-simarm-try,vm-kernel-precomp-linux-release-simarm64-try,vm-kernel-precomp-linux-release-simarm_x64-try,vm-kernel-precomp-linux-release-x64-try,vm-kernel-precomp-nnbd-linux-release-simarm64-try,vm-kernel-precomp-nnbd-linux-release-simarm_x64-try,vm-kernel-precomp-nnbd-linux-release-x64-try
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/221943
Reviewed-by: Alexander Markov <alexmarkov@google.com >
Reviewed-by: Martin Kustermann <kustermann@google.com >
Commit-Queue: Tess Strickland <sstrickl@google.com >
2021-12-08 12:32:30 +00:00
..
2021-12-08 12:32:30 +00:00
2021-11-26 15:52:53 +00:00
2021-11-18 19:45:26 +00:00
2021-07-29 16:55:55 +00:00
2021-08-10 21:10:01 +00:00
2021-11-24 13:03:52 +00:00
2021-10-05 16:32:40 +00:00
2021-10-14 00:10:12 +00:00
2021-03-19 15:29:57 +00:00
2021-07-13 01:55:45 +00:00
2021-02-11 16:14:13 +00:00
2021-07-05 10:45:47 +00:00
2021-07-13 01:55:45 +00:00
2021-06-14 20:45:18 +00:00
2021-11-29 17:38:04 +00:00
2021-09-08 16:29:19 +00:00
2021-12-03 18:10:58 +00:00
2021-05-05 23:43:14 +00:00
2021-07-27 20:54:07 +00:00
2021-03-02 16:28:12 +00:00
2021-10-20 16:31:02 +00:00
2021-05-05 23:43:14 +00:00
2021-11-29 17:38:04 +00:00
2021-08-13 20:00:41 +00:00
2021-07-13 19:28:50 +00:00
2021-11-17 11:02:01 +00:00
2021-11-17 11:02:01 +00:00
2021-02-02 11:35:00 +00:00
2021-02-02 11:35:00 +00:00
2021-09-08 13:39:34 +00:00
2021-11-10 17:52:03 +00:00
2021-11-10 17:52:03 +00:00
2021-02-02 11:35:00 +00:00
2021-09-10 22:21:36 +00:00
2021-11-24 13:03:52 +00:00
2021-09-10 22:21:36 +00:00
2021-11-24 13:03:52 +00:00
2021-09-10 22:21:36 +00:00
2021-02-04 17:36:47 +00:00
2021-09-10 22:21:36 +00:00
2021-11-24 13:03:52 +00:00
2021-02-04 17:36:47 +00:00
2021-09-10 12:02:57 +00:00
2021-06-24 19:47:58 +00:00
2021-12-01 08:51:49 +00:00
2021-07-02 19:06:45 +00:00
2021-12-01 08:51:49 +00:00
2021-06-14 20:45:18 +00:00
2021-12-01 08:51:49 +00:00
2021-07-02 19:06:45 +00:00
2021-12-01 08:51:49 +00:00
2021-03-17 13:08:01 +00:00
2021-10-12 18:49:52 +00:00
2021-10-12 18:49:52 +00:00
2021-09-27 23:45:45 +00:00
2021-09-27 23:45:45 +00:00
2021-08-11 16:32:17 +00:00
2021-07-02 19:06:45 +00:00
2021-07-02 19:06:45 +00:00
2021-07-02 19:06:45 +00:00
2021-07-02 19:06:45 +00:00
2021-07-02 19:06:45 +00:00
2021-07-02 19:06:45 +00:00
2021-07-02 19:06:45 +00:00
2021-11-11 01:25:04 +00:00
2021-11-18 00:54:20 +00:00
2021-10-06 16:30:19 +00:00
2021-07-29 16:55:55 +00:00
2021-10-14 00:10:12 +00:00
2021-10-14 00:10:12 +00:00
2021-11-24 13:03:52 +00:00
2021-08-18 13:31:43 +00:00
2021-11-30 19:28:05 +00:00
2021-11-18 00:54:20 +00:00
2021-04-26 07:52:47 +00:00
2021-07-08 14:22:54 +00:00
2021-08-03 19:48:50 +00:00
2021-09-10 12:02:57 +00:00
2021-03-19 20:24:48 +00:00
2021-03-19 20:24:48 +00:00
2021-03-19 20:24:48 +00:00
2021-03-19 20:24:48 +00:00
2021-09-24 01:20:38 +00:00
2021-10-20 09:29:01 +00:00
2021-09-15 22:32:04 +00:00
2021-01-15 23:32:02 +00:00
2021-01-15 23:32:02 +00:00
2021-09-01 16:57:59 +00:00
2021-09-01 16:57:59 +00:00
2021-11-10 17:52:03 +00:00
2021-07-09 13:48:25 +00:00
2021-09-28 17:23:32 +00:00
2021-11-16 16:23:36 +00:00
2021-11-29 09:34:23 +00:00
2021-11-08 15:51:32 +00:00
2021-11-11 08:28:31 +00:00
2021-11-10 12:51:46 +00:00
2021-09-08 01:16:57 +00:00
2021-07-15 15:26:26 +00:00
2021-07-15 15:26:26 +00:00
2021-11-30 08:10:25 +00:00
2021-11-01 17:41:41 +00:00
2021-01-15 23:32:02 +00:00
2021-02-16 18:27:39 +00:00
2021-11-17 11:02:01 +00:00
2021-01-15 23:32:02 +00:00
2021-01-15 23:32:02 +00:00
2021-01-15 23:32:02 +00:00
2021-10-14 00:10:12 +00:00
2021-10-14 00:10:12 +00:00
2021-10-14 00:10:12 +00:00
2021-10-07 06:43:53 +00:00
2021-11-16 13:55:31 +00:00
2021-09-27 22:01:43 +00:00
2021-04-20 11:17:36 +00:00
2021-11-24 13:03:52 +00:00
2021-11-24 13:03:52 +00:00
2021-01-15 23:32:02 +00:00
2021-02-25 21:09:57 +00:00
2021-04-19 09:42:00 +00:00
2021-01-15 23:32:02 +00:00
2021-02-25 21:09:57 +00:00
2021-04-19 09:42:00 +00:00
2021-02-25 21:09:57 +00:00
2021-04-19 14:11:38 +00:00
2021-09-22 14:20:16 +00:00
2021-10-28 17:16:49 +00:00
2021-09-28 18:30:52 +00:00
2021-11-02 17:42:52 +00:00
2021-12-01 23:40:06 +00:00
2021-11-15 17:35:43 +00:00
2021-11-25 10:28:33 +00:00
2021-11-25 10:28:33 +00:00
2021-06-03 13:14:14 +00:00
2021-05-04 11:08:31 +00:00
2021-10-13 11:31:16 +00:00
2021-10-14 00:10:12 +00:00
2021-09-10 12:02:57 +00:00
2021-09-23 14:01:54 +00:00
2021-09-08 13:39:34 +00:00
2021-05-18 06:12:03 +00:00
2021-05-04 11:08:31 +00:00
2021-05-10 09:13:09 +00:00
2021-03-02 13:11:42 +00:00
2021-09-30 13:19:42 +00:00
2021-09-30 13:19:42 +00:00
2021-09-30 13:19:42 +00:00
2021-09-16 19:40:05 +00:00
2021-09-16 17:18:37 +00:00
2021-12-08 00:25:10 +00:00
2021-07-16 20:50:58 +00:00
2021-12-08 00:25:10 +00:00
2021-04-14 21:50:31 +00:00
2021-01-15 23:32:02 +00:00
2021-08-18 18:22:53 +00:00
2021-08-18 18:22:53 +00:00
2021-10-11 16:27:20 +00:00
2021-09-03 19:08:37 +00:00
2021-12-01 23:40:06 +00:00
2021-12-01 23:40:06 +00:00
2021-10-14 00:10:12 +00:00
2021-08-18 18:22:53 +00:00
2021-07-02 19:06:45 +00:00
2021-01-15 23:32:02 +00:00
2021-01-15 23:32:02 +00:00
2021-06-07 08:59:32 +00:00
2021-09-02 14:14:35 +00:00
2021-07-29 16:55:55 +00:00
2021-07-02 19:06:45 +00:00
2021-07-02 19:06:45 +00:00
2021-07-02 19:06:45 +00:00
2021-07-02 19:06:45 +00:00
2021-07-02 19:06:45 +00:00
2021-01-15 23:32:02 +00:00
2021-11-03 13:36:35 +00:00
2021-09-03 19:08:37 +00:00
2021-07-07 23:12:53 +00:00
2021-09-30 16:50:58 +00:00
2021-07-07 23:12:53 +00:00
2021-01-15 23:32:02 +00:00
2021-10-28 11:02:48 +00:00
2021-11-24 13:03:52 +00:00
2021-01-15 23:32:02 +00:00
2021-11-17 11:02:01 +00:00
2021-12-01 08:51:49 +00:00
2021-10-15 09:23:42 +00:00
2021-01-15 23:32:02 +00:00
2021-12-02 12:10:27 +00:00
2021-11-29 17:38:04 +00:00
2021-07-02 19:06:45 +00:00
2021-07-02 19:06:45 +00:00
2021-07-02 19:06:45 +00:00
2021-07-02 19:06:45 +00:00
2021-10-06 17:46:29 +00:00
2021-07-02 19:06:45 +00:00
2021-03-31 20:51:32 +00:00
2021-10-06 17:46:29 +00:00
2021-07-02 19:06:45 +00:00
2021-07-02 19:06:45 +00:00
2021-09-13 19:30:30 +00:00
2021-10-20 16:54:32 +00:00
2021-07-02 19:06:45 +00:00
2021-07-19 17:11:29 +00:00
2021-05-05 23:43:14 +00:00
2021-03-03 09:31:53 +00:00
2021-03-03 09:31:53 +00:00
2021-03-09 20:27:00 +00:00
2021-08-05 20:46:12 +00:00
2021-07-13 19:04:20 +00:00
2021-07-02 19:06:45 +00:00
2021-07-02 19:06:45 +00:00
2021-11-18 19:45:26 +00:00
2021-11-18 19:45:26 +00:00
2021-10-14 00:10:12 +00:00
2021-11-18 19:45:26 +00:00
2021-09-16 13:58:45 +00:00
2021-11-24 13:03:52 +00:00
2021-08-24 16:49:23 +00:00
2021-02-04 11:12:47 +00:00
2021-02-04 11:12:47 +00:00
2021-11-24 13:03:52 +00:00
2021-07-13 01:55:45 +00:00
2021-11-24 13:03:52 +00:00
2021-11-24 13:03:52 +00:00
2021-09-02 19:22:16 +00:00
2021-08-20 16:19:16 +00:00
2021-06-23 08:51:44 +00:00
2021-01-15 23:32:02 +00:00
2021-09-08 01:16:57 +00:00
2021-09-02 19:22:16 +00:00
2021-01-15 23:32:02 +00:00
2021-07-02 14:26:04 +00:00
2021-06-09 02:50:50 +00:00
2021-01-15 23:32:02 +00:00
2021-07-02 14:26:04 +00:00
2021-09-16 19:40:05 +00:00
2021-11-24 13:03:52 +00:00
2021-04-13 02:36:16 +00:00
2021-05-12 15:41:40 +00:00
2021-09-01 16:57:59 +00:00
2021-11-10 15:29:13 +00:00
2021-10-14 00:10:12 +00:00
2021-05-11 11:15:53 +00:00
2021-08-24 16:02:17 +00:00
2021-07-19 17:11:29 +00:00
2021-11-29 21:45:04 +00:00
2021-07-16 20:50:58 +00:00
2021-10-14 00:10:12 +00:00
2021-02-03 18:23:42 +00:00
2021-07-29 16:55:55 +00:00
2021-11-29 21:45:04 +00:00
2021-11-25 10:28:33 +00:00
2021-08-16 11:11:04 +00:00
2021-08-16 11:11:04 +00:00
2021-08-16 11:11:04 +00:00
2021-10-20 16:54:32 +00:00
2021-08-16 11:11:04 +00:00
2021-08-16 11:11:04 +00:00
2021-11-24 13:03:52 +00:00
2021-11-24 13:03:52 +00:00
2021-09-27 23:45:45 +00:00
2021-09-16 00:13:34 +00:00
2021-09-15 22:32:04 +00:00
2021-07-29 16:55:55 +00:00
2021-12-01 20:04:41 +00:00
2021-12-01 20:04:41 +00:00
2021-12-01 20:04:41 +00:00
2021-07-02 19:06:45 +00:00
2021-07-02 19:06:45 +00:00
2020-12-14 16:22:48 +00:00
2021-09-08 13:39:34 +00:00
2021-07-02 19:06:45 +00:00
2021-11-24 13:03:52 +00:00
2021-06-17 16:05:02 +00:00
2021-07-19 17:11:29 +00:00
2021-02-22 10:46:28 +00:00
2021-01-20 20:08:25 +00:00
2021-01-20 20:08:25 +00:00
2021-01-20 20:08:25 +00:00
2021-12-01 08:51:49 +00:00
2021-01-15 23:32:02 +00:00
2021-01-20 20:08:25 +00:00
2021-11-24 13:03:52 +00:00
2021-08-16 13:02:34 +00:00
2021-11-10 15:29:13 +00:00
2021-11-16 12:39:11 +00:00
2021-09-06 06:28:59 +00:00
2021-06-14 20:45:18 +00:00
2021-06-14 20:45:18 +00:00
2021-11-02 17:42:52 +00:00
2021-11-02 17:42:52 +00:00
2021-08-16 11:11:04 +00:00
2021-10-20 16:54:32 +00:00
2021-10-20 16:54:32 +00:00
2021-10-20 16:54:32 +00:00
2021-10-20 16:54:32 +00:00
2021-10-20 16:54:32 +00:00
2021-10-20 16:54:32 +00:00
2021-10-20 16:54:32 +00:00
2021-11-18 00:54:20 +00:00
2020-12-08 00:36:38 +00:00
2021-02-04 11:45:22 +00:00
2021-10-14 00:10:12 +00:00
2021-10-14 00:10:12 +00:00
2021-10-14 00:10:12 +00:00
2021-10-04 18:57:19 +00:00
2021-11-29 09:34:23 +00:00
2021-07-02 19:06:45 +00:00
2021-07-02 19:06:45 +00:00
2021-07-02 19:06:45 +00:00
2021-07-02 19:06:45 +00:00
2021-07-02 19:06:45 +00:00
2021-11-10 23:58:54 +00:00
2021-10-06 16:30:19 +00:00
2021-10-05 16:32:40 +00:00
2021-10-05 16:32:40 +00:00
2021-04-14 10:04:48 +00:00
2021-04-14 10:04:48 +00:00
2021-06-14 20:45:18 +00:00
2021-06-14 20:45:18 +00:00
2021-09-27 10:57:18 +00:00
2021-11-24 13:03:52 +00:00
2021-09-27 10:57:18 +00:00
2021-09-10 12:02:57 +00:00
2021-07-07 18:22:34 +00:00
2021-07-08 14:22:54 +00:00
2021-10-21 19:39:15 +00:00
2021-09-02 21:46:35 +00:00
2021-10-15 23:22:10 +00:00
2021-10-07 17:13:12 +00:00
2021-08-31 00:10:08 +00:00
2021-10-25 17:30:50 +00:00
2021-12-08 01:22:49 +00:00
2021-09-08 01:16:57 +00:00
2021-10-25 17:30:50 +00:00
2021-02-22 19:58:49 +00:00
2021-10-25 17:30:50 +00:00
2021-04-05 17:43:16 +00:00
2021-09-16 00:13:34 +00:00
2021-10-14 00:10:12 +00:00
2021-10-14 00:10:12 +00:00
2021-10-14 00:10:12 +00:00