Richard Smith
a10c79569e
Model Core.Int as a class type ( #4644 )
...
Instead of treating `Core.Int` as the toolchain's builtin `IntType`,
model it as a class that adapts the builtin type. This aligns us better
with the intended language model, gives an associated library for
`impl`s involving `Core.Int` to live within, and opens the door adding
member functions to `Core.Int` if we decide that is desirable.
Remarkably it also seems to make the formatted SemIR a little smaller,
because a call to a generic class generates less IR than a call to a
function.
2024-12-16 22:19:23 +00:00
..
2024-12-16 22:19:23 +00:00
2024-12-16 22:19:23 +00:00
2024-12-09 23:48:46 +00:00
2024-12-16 22:19:23 +00:00
2024-12-16 22:19:23 +00:00
2024-12-03 20:47:53 +00:00
2024-12-16 22:19:23 +00:00
2024-12-03 20:47:53 +00:00
2024-12-16 22:19:23 +00:00
2024-12-16 22:19:23 +00:00
2024-12-16 22:19:23 +00:00
2024-12-16 22:19:23 +00:00
2024-12-16 22:19:23 +00:00
2024-12-11 16:33:53 +00:00
2024-12-16 22:19:23 +00:00
2024-12-16 22:19:23 +00:00
2024-12-03 20:47:53 +00:00
2024-12-03 20:47:53 +00:00
2024-10-23 16:56:23 +00:00
2024-12-16 22:19:23 +00:00
2024-12-03 20:47:53 +00:00
2024-12-03 20:47:53 +00:00
2024-12-03 20:47:53 +00:00
2024-12-03 20:47:53 +00:00
2024-12-03 20:47:53 +00:00
2024-12-03 20:47:53 +00:00
2024-12-16 22:19:23 +00:00
2024-12-04 00:21:24 +00:00
2024-12-16 22:19:23 +00:00
2024-12-03 20:47:53 +00:00
2024-12-16 22:19:23 +00:00
2024-12-16 22:19:23 +00:00
2024-12-06 21:17:24 +00:00
2024-12-16 22:19:23 +00:00
2024-12-16 22:19:23 +00:00
2024-12-16 22:19:23 +00:00
2024-12-03 20:47:53 +00:00
2024-12-16 22:19:23 +00:00
2024-12-03 20:47:53 +00:00
2024-12-03 20:47:53 +00:00
2024-12-03 20:47:53 +00:00
2024-12-03 20:47:53 +00:00
2024-12-03 20:47:53 +00:00
2024-12-03 20:47:53 +00:00
2024-12-03 20:47:53 +00:00
2024-12-16 22:19:23 +00:00
2024-12-03 22:44:39 +00:00
2024-12-03 20:47:53 +00:00
2024-12-11 16:33:53 +00:00
2024-12-03 20:47:53 +00:00
2024-12-16 22:19:23 +00:00
2024-12-16 22:19:23 +00:00
2024-12-16 22:19:23 +00:00
2024-12-16 22:19:23 +00:00
2024-12-03 20:47:53 +00:00
2024-12-10 03:00:28 +00:00
2024-12-03 20:47:53 +00:00
2024-12-16 22:19:23 +00:00
2024-12-03 20:47:53 +00:00
2024-12-06 21:17:24 +00:00
2024-12-06 21:17:24 +00:00
2024-12-06 21:17:24 +00:00
2024-12-16 22:19:23 +00:00
2024-12-16 22:19:23 +00:00
2024-12-16 22:19:23 +00:00
2024-12-16 22:19:23 +00:00
2024-12-16 22:19:23 +00:00
2024-12-16 22:19:23 +00:00
2024-12-16 22:19:23 +00:00
2024-12-03 20:47:53 +00:00
2024-12-03 20:47:53 +00:00
2024-12-16 22:19:23 +00:00
2024-12-03 20:47:53 +00:00
2024-12-03 20:47:53 +00:00
2024-12-16 22:19:23 +00:00
2024-12-16 22:19:23 +00:00
2024-12-16 22:19:23 +00:00
2024-12-16 22:19:23 +00:00
2024-12-16 22:19:23 +00:00
2024-12-16 22:19:23 +00:00
2024-12-16 22:19:23 +00:00
2024-12-16 22:19:23 +00:00
2024-12-16 22:19:23 +00:00
2024-12-16 22:19:23 +00:00
2024-12-16 22:19:23 +00:00