Ben Clayton
7b6bcb6e0b
Fix AST declaration order when cloning Programs
...
Change 41302 correctly fixed up Module::Clone(), but this wasn't actually called by the CloneContext, as Module::Clone() returns a new Module, where as the CloneContext needs to clone into an existing Module.
Refactor the code so that this duplicated logic is moved into a single Module::Copy() method.
Fixed: 1177275
Change-Id: Ia8c45ef05e03b2891b5785ee6f425dd01cb989c6
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/41542
Reviewed-by: James Price <jrprice@google.com>
Reviewed-by: dan sinclair <dsinclair@chromium.org>
Commit-Queue: dan sinclair <dsinclair@chromium.org>
2021-02-11 20:23:03 +00:00
..
2020-11-30 23:30:58 +00:00
2020-10-29 13:36:32 +00:00
2021-01-29 11:22:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 11:22:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 10:55:40 +00:00
2020-12-02 18:19:28 +00:00
2020-12-10 18:42:41 +00:00
2021-01-29 11:22:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 11:22:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 11:22:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 11:22:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 11:22:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 11:22:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 11:22:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 11:22:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 10:55:40 +00:00
2021-02-02 15:27:15 +00:00
2021-02-02 15:27:15 +00:00
2021-01-29 11:22:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 11:22:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 11:22:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 11:22:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 10:55:40 +00:00
2020-12-12 01:38:13 +00:00
2020-12-12 01:38:13 +00:00
2021-01-29 11:22:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 10:55:40 +00:00
2020-12-14 22:30:57 +00:00
2020-12-02 18:19:28 +00:00
2020-11-30 23:30:58 +00:00
2021-01-29 11:22:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 11:22:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 16:43:41 +00:00
2021-01-29 16:43:41 +00:00
2021-01-29 11:22:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 11:22:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 10:55:40 +00:00
2020-12-02 18:19:28 +00:00
2020-11-30 23:30:58 +00:00
2021-02-03 16:43:20 +00:00
2021-02-03 16:43:20 +00:00
2021-02-03 16:43:20 +00:00
2021-01-29 11:22:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 11:22:40 +00:00
2021-01-29 10:55:40 +00:00
2021-02-03 22:26:36 +00:00
2021-01-29 11:22:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-26 16:57:10 +00:00
2020-12-12 01:35:43 +00:00
2020-12-12 01:35:43 +00:00
2021-02-03 20:28:26 +00:00
2021-02-03 17:19:59 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 11:22:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 11:22:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 11:22:40 +00:00
2021-01-29 10:55:40 +00:00
2021-02-03 23:55:56 +00:00
2021-02-11 20:23:03 +00:00
2021-02-09 21:26:21 +00:00
2021-02-11 20:23:03 +00:00
2021-02-11 20:23:03 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 11:22:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 10:55:40 +00:00
2020-03-02 15:47:43 -05:00
2020-03-02 15:47:43 -05:00
2021-01-29 11:22:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 11:22:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 11:22:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 11:22:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 10:55:40 +00:00
2020-12-12 11:58:44 +00:00
2020-12-14 19:48:47 +00:00
2021-01-18 21:06:34 +00:00
2021-01-18 21:06:34 +00:00
2020-12-14 22:30:57 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 10:55:40 +00:00
2020-12-02 18:19:28 +00:00
2020-11-30 23:30:58 +00:00
2020-12-02 18:19:28 +00:00
2020-12-10 18:42:41 +00:00
2020-12-14 22:30:57 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 11:22:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 11:22:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 11:22:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 11:22:40 +00:00
2021-01-29 11:22:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 10:55:40 +00:00
2020-12-02 18:19:28 +00:00
2020-12-10 18:42:41 +00:00
2021-01-29 11:22:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 11:22:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 10:55:40 +00:00
2020-03-02 15:47:43 -05:00
2020-03-02 15:47:43 -05:00
2021-01-29 11:22:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 10:55:40 +00:00
2020-12-02 18:19:28 +00:00
2020-12-10 18:42:41 +00:00
2021-02-03 17:51:09 +00:00
2021-02-03 17:51:09 +00:00
2021-02-03 17:51:09 +00:00
2021-01-29 11:22:40 +00:00
2021-01-29 10:55:40 +00:00
2021-01-29 10:55:40 +00:00