Dan Scales
a83a558733
cmd/compile: fix export/import of range loop.
...
As with other recent issues, the Init field of a range loop was not
being handled properly. Generally, it is much better to explicitly
import/export the Init statements, else they are incorrectly added
before the associated node, rather than as the Init value of the node.
This was causing labels to not be correctly added to the range loop that
it is immediately preceding.
Made the ORANGE handling completely similar to the OFOR handling.
Fixes #48462
Change-Id: I999530e84f9357f81deaa3dda50660061f710e7c
Reviewed-on: https://go-review.googlesource.com/c/go/+/350911
Run-TryBot: Dan Scales <danscales@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Trust: Dan Scales <danscales@google.com>
2021-09-20 00:13:47 +00:00
..
2021-07-28 21:40:40 +00:00
2021-08-31 16:43:46 +00:00
2021-07-28 21:40:40 +00:00
2021-08-04 17:56:00 +00:00
2021-07-28 21:40:40 +00:00
2021-09-09 19:37:25 +00:00
2021-08-26 20:18:58 +00:00
2021-08-23 19:27:46 +00:00
2021-08-29 14:10:21 +00:00
2021-08-29 14:10:21 +00:00
2021-08-31 17:21:38 +00:00
2021-09-09 04:37:47 +00:00
2021-09-07 17:38:14 +00:00
2021-09-07 20:37:05 +00:00
2021-09-14 02:52:21 +00:00
2021-09-14 02:53:17 +00:00
2021-09-17 19:50:04 +00:00
2021-09-14 23:07:15 +00:00
2021-09-20 00:13:47 +00:00
2021-07-28 21:40:40 +00:00
2021-07-28 21:40:40 +00:00
2021-07-28 21:40:40 +00:00
2021-05-24 22:17:33 +00:00
2021-08-05 17:33:41 +00:00
2021-08-05 19:36:47 +00:00
2021-07-28 21:40:40 +00:00
2021-07-28 21:40:40 +00:00
2021-07-28 21:40:40 +00:00
2021-07-28 21:40:40 +00:00
2021-05-26 21:39:54 +00:00
2021-08-30 01:55:58 +00:00
2021-05-21 03:41:18 +00:00
2021-07-28 21:40:40 +00:00
2021-07-28 21:40:40 +00:00
2021-06-04 16:43:27 +00:00
2021-06-03 16:05:22 +00:00
2021-05-26 21:38:54 +00:00
2021-09-02 01:06:17 +00:00
2021-07-29 21:58:06 +00:00
2021-08-06 20:34:46 +00:00
2021-07-28 21:40:40 +00:00
2021-05-21 23:13:46 +00:00
2021-07-28 21:40:40 +00:00
2021-07-28 21:40:40 +00:00
2021-08-04 17:56:00 +00:00
2021-08-04 17:56:00 +00:00
2021-07-28 21:40:40 +00:00
2021-07-28 21:40:40 +00:00
2021-07-29 17:15:21 +00:00
2021-07-29 17:15:21 +00:00
2021-09-02 01:06:17 +00:00
2021-08-27 16:41:29 +00:00
2021-07-28 21:40:40 +00:00
2021-07-28 21:40:40 +00:00
2021-05-21 17:03:30 +00:00
2021-07-28 21:40:40 +00:00
2021-07-28 21:40:40 +00:00
2020-11-11 01:11:43 +00:00
2021-07-28 21:40:40 +00:00
2021-07-28 21:40:40 +00:00
2021-07-28 21:40:40 +00:00
2021-07-28 21:40:40 +00:00
2021-07-28 21:41:07 +00:00
2021-04-27 16:55:20 +00:00
2021-04-27 19:30:11 +00:00
2021-07-28 21:40:40 +00:00
2021-09-09 19:37:25 +00:00
2021-09-09 19:37:25 +00:00
2021-07-28 21:40:40 +00:00
2021-08-20 21:00:08 +00:00
2021-07-28 21:40:40 +00:00
2021-08-17 13:23:13 +00:00
2021-08-17 13:23:13 +00:00
2021-08-06 18:50:46 +00:00
2021-08-09 19:43:09 +00:00
2021-08-26 20:18:58 +00:00
2021-08-31 19:07:50 +00:00
2021-08-16 16:55:27 +00:00
2021-08-16 16:55:27 +00:00
2021-08-16 16:55:27 +00:00
2021-09-01 16:45:26 +00:00
2021-08-27 01:42:38 +00:00
2021-08-24 18:30:13 +00:00
2021-08-24 18:30:13 +00:00
2021-08-23 22:55:34 +00:00
2021-08-23 17:51:41 +00:00
2021-08-18 22:34:31 +00:00
2021-08-18 22:34:31 +00:00
2021-08-18 22:34:31 +00:00
2021-08-23 19:27:46 +00:00
2021-08-23 19:27:46 +00:00
2021-09-09 03:31:51 +00:00
2021-08-24 18:30:13 +00:00
2021-08-25 16:37:31 +00:00
2021-08-29 14:10:21 +00:00
2021-08-29 14:10:21 +00:00
2021-08-24 00:01:29 +00:00
2021-08-25 15:30:19 +00:00
2021-08-24 18:31:34 +00:00
2021-08-27 16:41:29 +00:00
2021-08-27 16:41:29 +00:00
2021-08-27 16:41:29 +00:00
2021-08-27 16:41:29 +00:00
2021-08-25 15:30:19 +00:00
2021-08-25 19:06:16 +00:00
2021-08-28 16:00:51 +00:00
2021-09-01 02:51:18 +00:00
2021-08-31 19:07:50 +00:00
2021-08-30 21:22:35 +00:00
2021-09-06 14:02:24 +00:00
2021-09-07 23:27:08 +00:00
2021-08-30 17:13:00 +00:00
2021-08-31 17:21:38 +00:00
2021-09-09 09:06:46 +00:00
2021-09-17 23:04:15 +00:00
2021-09-07 17:38:14 +00:00
2021-09-07 20:37:05 +00:00
2021-09-07 22:23:36 +00:00
2021-09-07 03:56:13 +00:00
2021-09-09 21:28:56 +00:00
2021-09-09 03:31:51 +00:00
2021-09-09 15:34:08 +00:00
2021-09-09 15:34:08 +00:00
2021-09-09 15:34:08 +00:00
2021-09-14 02:52:21 +00:00
2021-09-14 02:53:17 +00:00
2021-09-13 21:48:41 +00:00
2021-09-17 19:50:04 +00:00
2021-09-17 19:50:04 +00:00
2021-09-14 23:07:15 +00:00
2021-09-20 00:13:47 +00:00
2021-07-28 21:40:40 +00:00
2021-07-28 21:40:40 +00:00
2021-05-24 22:16:09 +00:00
2021-05-21 04:03:26 +00:00
2021-07-28 21:40:40 +00:00
2021-02-11 21:46:39 +00:00
2021-05-21 17:14:19 +00:00
2021-03-15 20:28:34 +00:00
2021-05-24 22:17:33 +00:00
2021-03-15 20:29:11 +00:00
2021-06-03 16:05:22 +00:00
2021-05-26 15:33:02 +00:00
2021-05-21 03:41:18 +00:00
2021-06-07 19:34:39 +00:00
2021-07-07 11:12:13 +00:00
2021-06-16 21:38:50 +00:00
2021-07-28 21:40:40 +00:00
2021-07-28 21:40:40 +00:00
2021-06-04 16:43:27 +00:00
2021-07-28 21:40:40 +00:00
2021-05-21 03:41:18 +00:00
2021-04-15 00:29:05 +00:00
2021-07-28 21:40:40 +00:00
2021-05-26 21:39:54 +00:00
2021-09-02 01:06:17 +00:00
2021-07-31 17:03:07 +00:00
2021-07-31 17:03:07 +00:00
2021-05-21 23:25:07 +00:00
2021-08-17 13:54:10 +00:00
2021-07-28 21:40:40 +00:00
2021-08-21 00:24:02 +00:00
2021-07-28 21:40:40 +00:00
2021-02-11 21:46:39 +00:00
2021-05-21 03:41:18 +00:00
2021-07-28 21:40:40 +00:00
2021-08-28 16:00:51 +00:00
2021-07-28 21:40:40 +00:00
2021-08-10 01:20:34 +00:00
2021-09-02 01:06:17 +00:00
2021-08-09 18:41:45 +00:00
2021-08-09 18:41:45 +00:00
2021-08-31 19:07:50 +00:00
2021-08-09 18:41:45 +00:00
2021-08-09 18:41:45 +00:00
2021-08-09 18:41:45 +00:00
2021-08-09 18:41:45 +00:00
2021-08-09 18:41:45 +00:00
2021-08-09 18:41:45 +00:00
2021-08-09 18:41:45 +00:00
2021-08-10 01:56:50 +00:00
2021-08-10 01:56:50 +00:00
2021-08-10 01:56:50 +00:00
2021-08-10 01:56:50 +00:00
2021-05-21 03:41:18 +00:00
2021-06-04 16:43:27 +00:00