pyos
c3a91efea3
JVM_IR: fix primitive comparison optimizations
...
1. the `primitive == object?.something` fusion should not apply to
`primitive.equals(object?.something)` because it can't;
2. coercions to Int are there for a reason - don't remove them;
3. better optimize `primitive == object?.something` -- the result
should be subject to if-null fusion, so it needs to have a specific
pattern that resembles safe calls.
#KT-47597 Fixed
2021-07-05 18:13:09 +03:00
..
2021-06-09 15:42:39 +03:00
2021-07-02 15:39:29 +03:00
2021-07-01 22:10:47 +03:00
2021-05-18 22:20:12 +03:00
2021-07-05 18:13:09 +03:00
2021-05-25 22:29:58 +03:00
2021-04-30 17:59:38 +03:00
2021-05-25 19:23:30 +03:00
2021-07-02 15:39:29 +03:00
2021-04-19 16:05:12 +02:00
2021-05-18 22:20:12 +03:00
2021-06-30 14:04:22 +03:00
2021-02-20 10:31:26 +03:00
2021-05-14 15:38:09 +03:00
2021-06-17 13:24:12 +03:00
2021-05-18 22:20:12 +03:00
2021-02-11 13:50:08 +01:00
2021-01-25 17:08:31 +03:00
2021-06-17 21:40:30 +03:00
2021-06-11 16:42:31 +03:00
2021-07-01 17:40:41 +03:00
2021-05-21 22:28:54 +03:00
2021-06-04 20:54:01 +03:00
2021-05-20 17:24:15 +03:00
2021-07-01 17:49:39 +03:00
2021-05-19 00:52:25 +03:00
2021-05-18 22:20:12 +03:00
2021-03-12 14:36:53 +03:00
2021-07-01 17:40:41 +03:00
2021-03-05 23:46:57 +03:00
2021-04-11 13:54:13 +02:00
2021-06-01 16:22:14 +02:00
2021-02-26 12:51:53 +01:00
2021-05-25 11:38:48 +03:00
2021-05-21 13:53:55 +03:00
2021-07-02 17:55:20 +03:00
2021-05-07 00:53:31 +03:00
2021-02-11 13:50:08 +01:00
2021-07-01 17:40:41 +03:00
2021-07-02 15:39:29 +03:00
2021-05-18 22:20:12 +03:00
2021-03-29 16:17:22 +03:00
2021-06-29 17:00:31 +03:00
2021-07-01 17:40:41 +03:00
2021-06-24 12:17:45 +03:00
2021-02-11 13:50:09 +01:00
2021-04-23 17:58:16 +02:00
2021-06-21 19:17:54 +03:00
2021-02-20 10:59:22 +03:00
2021-04-21 16:18:21 +03:00
2021-05-11 16:26:04 +02:00
2021-05-18 22:20:12 +03:00
2021-05-21 12:49:58 +03:00
2021-07-02 15:39:29 +03:00
2021-02-18 14:44:44 +03:00
2021-05-19 00:52:31 +03:00
2021-06-11 21:54:04 +03:00
2021-02-10 13:02:06 +03:00
2021-05-18 22:20:12 +03:00
2021-05-20 13:46:27 +03:00
2021-05-27 12:24:22 +02:00
2021-05-18 22:20:12 +03:00
2021-02-10 13:02:06 +03:00
2021-06-03 16:14:41 +03:00
2021-05-31 21:12:35 +03:00
2021-05-18 22:20:12 +03:00
2021-06-07 20:02:24 +03:00
2021-04-27 18:39:10 +03:00
2021-06-28 21:07:54 +03:00
2021-02-18 14:44:44 +03:00
2021-07-01 19:33:56 +02:00
2021-06-21 19:17:54 +03:00
2021-07-02 15:39:29 +03:00
2021-06-22 21:13:56 +03:00
2021-06-16 14:27:14 +05:00
2021-04-29 00:33:34 +03:00
2021-02-09 16:04:39 +03:00
2021-07-02 15:39:29 +03:00
2021-06-29 21:03:29 +03:00
2021-02-26 12:27:07 +03:00
2021-05-18 22:20:12 +03:00
2021-06-26 06:10:16 +02:00
2021-07-02 15:39:29 +03:00
2021-06-21 19:17:54 +03:00
2021-02-11 13:50:08 +01:00
2021-02-18 14:44:44 +03:00
2021-05-18 22:20:12 +03:00
2021-03-31 15:57:03 +03:00
2021-06-07 15:25:55 +03:00
2021-05-21 13:53:55 +03:00
2021-07-02 15:39:29 +03:00
2021-04-15 07:59:24 +00:00
2021-07-02 15:39:29 +03:00
2021-06-23 20:11:24 +03:00