Vyacheslav Egorov
3b86f823d0
[vm/corelib] Remove GrowableArrayMarker hack.
...
GrowableArrayMarker was a class that implemented int and was used to
enable implementation of default List factory constructor in pure Dart:
factory List([int length = GROWABLE_ARRAY_MARKER]) {
return identical(length, GROWABLE_ARRAY_MARKER) ? new _GrowableList<E>(0)
: new _List<E>(length);
}
Its existence complicated all kinds of things in the VM and it is finally
time to remove it.
Instead we build List factory body directly in IL.
This CL also provides inlining rule for `new List(n)` case.
Change-Id: I870751658a4ac17fce649c9ac70395ff88a5436c
Reviewed-on: https://dart-review.googlesource.com/57262
Commit-Queue: Vyacheslav Egorov <vegorov@google.com >
Reviewed-by: Martin Kustermann <kustermann@google.com >
2018-05-30 13:44:43 +00:00
..
2018-05-30 13:44:43 +00:00
2018-05-30 13:44:43 +00:00
2017-12-07 13:09:55 +00:00
2018-02-02 15:50:16 +00:00
2017-08-14 21:54:36 -07:00
2017-07-18 13:29:40 -07:00
2018-05-07 21:38:30 +00:00
2018-02-28 12:26:53 +00:00
2017-10-05 14:05:50 +00:00
2017-07-13 08:08:37 -07:00
2017-11-01 15:16:04 +00:00
2017-02-16 17:43:42 +01:00
2017-10-05 14:05:50 +00:00
2018-03-06 12:50:21 +00:00
2017-08-14 21:54:36 -07:00
2018-05-09 08:00:08 +00:00
2018-05-29 12:34:25 +00:00
2017-08-14 21:54:36 -07:00
2018-02-07 06:12:53 +00:00
2018-01-29 18:12:34 +00:00
2017-11-14 12:59:14 +00:00
2017-07-13 08:08:37 -07:00
2017-10-05 14:05:50 +00:00
2018-03-13 22:24:19 +00:00
2017-07-18 13:29:40 -07:00
2018-03-13 22:24:19 +00:00
2018-04-12 13:16:49 +00:00
2017-11-09 16:58:38 +00:00
2018-01-22 18:22:28 +00:00
2018-05-16 09:09:08 +00:00
2017-09-04 13:13:26 +02:00
2017-10-05 14:05:50 +00:00
2017-10-05 14:05:50 +00:00
2017-12-13 16:04:34 +00:00
2018-04-18 13:44:25 +00:00
2017-09-04 15:15:18 +00:00
2017-12-07 13:09:55 +00:00
2017-10-05 14:05:50 +00:00
2018-05-09 08:00:08 +00:00
2018-05-07 13:56:10 +00:00
2017-07-17 12:20:17 -07:00
2018-01-22 18:22:28 +00:00
2018-05-03 23:51:36 +00:00
2017-08-14 21:54:36 -07:00
2018-05-14 14:34:58 +00:00
2017-09-28 00:27:24 +00:00
2018-02-08 14:11:50 +00:00
2017-08-14 21:54:36 -07:00
2018-05-16 18:13:22 +00:00
2017-10-05 14:05:50 +00:00
2017-09-04 15:15:18 +00:00
2018-03-13 12:57:49 +00:00
2018-05-23 13:06:25 +00:00
2017-08-14 21:54:36 -07:00
2017-07-13 08:08:37 -07:00
2017-10-05 14:05:50 +00:00
2018-05-29 22:01:01 +00:00
2017-11-01 15:16:04 +00:00
2017-08-14 21:54:36 -07:00
2018-05-29 22:01:01 +00:00
2017-10-05 14:05:50 +00:00
2017-10-31 22:01:08 +00:00
2018-05-10 17:06:42 +00:00
2017-10-05 14:05:50 +00:00
2017-08-14 21:54:36 -07:00
2017-07-13 08:08:37 -07:00
2018-03-13 22:24:19 +00:00
2018-02-01 09:56:47 +00:00
2017-07-13 08:08:37 -07:00
2018-01-18 16:38:54 +00:00
2017-07-13 08:08:37 -07:00
2017-07-18 13:29:40 -07:00
2017-10-05 14:05:50 +00:00
2017-02-09 15:39:44 -08:00
2017-10-05 14:05:50 +00:00
2017-07-13 08:08:37 -07:00
2017-10-05 14:05:50 +00:00
2018-01-18 10:37:15 +00:00
2017-10-24 11:43:48 +00:00
2017-11-01 15:16:04 +00:00
2017-09-19 23:29:55 +00:00
2018-03-13 22:24:19 +00:00
2018-02-08 10:16:00 +00:00
2017-10-05 14:05:50 +00:00
2017-10-10 23:46:09 +00:00
2018-05-09 08:00:08 +00:00
2017-08-14 21:54:36 -07:00
2017-07-13 10:08:45 -07:00
2017-11-14 12:59:14 +00:00
2017-03-15 13:11:05 -07:00
2017-08-14 21:54:36 -07:00
2018-05-01 01:57:41 +00:00
2017-07-13 08:08:37 -07:00
2017-10-05 14:05:50 +00:00