Jubilee Young
8abff35b41
compiler: compare and hash ExternAbi like its string
...
Directly map each ExternAbi variant to its string and back again.
This has a few advantages:
- By making the ABIs compare equal to their strings, we can easily
lexicographically sort them and use that sorted slice at runtime.
- We no longer need a workaround to make sure the hashes remain stable,
as they already naturally are (by being the hashes of unique strings).
- The compiler can carry around less &str wide pointers
2025-02-11 20:18:01 -08:00
..
2025-02-11 20:18:01 -08:00
2025-02-10 16:38:23 +01:00
2025-02-11 20:18:01 -08:00
2025-02-11 18:55:48 -08:00
2025-02-06 10:50:05 +00:00
2025-02-08 22:12:13 +00:00
2025-02-08 22:12:13 +00:00
2025-02-11 10:17:02 +00:00
2025-02-10 16:38:26 +01:00
2025-02-10 11:19:02 -08:00
2025-02-11 01:02:41 -05:00
2025-02-11 02:53:44 +01:00
2025-02-11 18:04:44 +01:00
2025-02-08 22:12:13 +00:00
2025-02-11 20:18:01 -08:00
2025-02-10 04:36:49 +08:00
2025-02-11 18:04:49 +01:00
2025-02-11 02:53:42 +01:00
2025-02-11 02:53:44 +01:00
2025-02-08 22:12:13 +00:00
2025-02-11 18:55:48 -08:00
2025-02-11 02:53:42 +01:00
2025-02-08 22:12:13 +00:00
2025-02-11 02:53:43 +01:00
2025-02-08 22:12:13 +00:00
2025-02-08 22:12:13 +00:00
2025-02-08 22:12:13 +00:00
2025-02-09 15:44:16 +00:00
2025-02-08 22:12:13 +00:00
2025-02-09 19:44:53 +01:00
2025-02-05 19:09:33 +08:00
2025-02-10 16:38:23 +01:00
2025-02-08 22:12:13 +00:00
2025-02-08 22:12:13 +00:00
2025-02-11 18:04:49 +01:00
2025-02-08 22:12:13 +00:00
2025-02-08 22:12:13 +00:00
2025-02-11 18:04:42 +01:00
2025-02-09 15:44:16 +00:00
2025-02-08 22:12:13 +00:00
2025-02-10 19:51:26 +00:00
2025-02-08 22:12:13 +00:00
2025-02-11 18:04:44 +01:00
2025-02-05 17:56:06 +01:00
2025-02-11 18:55:48 -08:00
2025-02-11 18:04:28 +01:00
2025-02-11 18:04:22 +01:00
2025-02-08 22:12:13 +00:00
2025-02-11 02:53:44 +01:00
2025-02-11 18:55:48 -08:00
2025-02-11 02:53:44 +01:00
2025-02-08 05:44:29 +01:00
2025-02-10 11:04:31 -08:00
2025-02-11 14:59:13 +11:00
2025-02-08 22:12:13 +00:00
2025-02-08 22:28:21 +00:00