zig/test/behavior
Andrew Kelley a2abbeef90 stage2: rework a lot of stuff
AstGen:
 * rename the known_has_bits flag to known_non_opv to make it better
   reflect what it actually means.
 * add a known_comptime_only flag.
 * make the flags take advantage of identifiers of primitives and the
   fact that zig has no shadowing.
 * correct the known_non_opv flag for function bodies.

Sema:
 * Rename `hasCodeGenBits` to `hasRuntimeBits` to better reflect what it
   does.
   - This function got a bit more complicated in this commit because of
     the duality of function bodies: on one hand they have runtime bits,
     but on the other hand they require being comptime known.
 * WipAnonDecl now takes a LazySrcDecl parameter and performs the type
   resolutions that it needs during finish().
 * Implement comptime `@ptrToInt`.

Codegen:
 * Improved handling of lowering decl_ref; make it work for
   comptime-known ptr-to-int values.
   - This same change had to be made many different times; perhaps we
     should look into merging the implementations of `genTypedValue`
     across x86, arm, aarch64, and riscv.
2022-01-24 21:53:57 -07:00
..
2022-01-20 16:17:16 -07:00
2021-10-26 16:43:18 -07:00
2021-10-28 17:33:05 -07:00
2022-01-10 21:01:00 +01:00
2022-01-24 21:53:57 -07:00
2022-01-08 14:30:11 -05:00
2022-01-08 14:30:11 -05:00
2021-11-27 00:27:52 -07:00
2022-01-19 20:01:23 +01:00
2022-01-07 00:06:06 -05:00
2021-11-27 00:27:52 -07:00
2021-11-26 23:17:01 -07:00
2022-01-07 00:06:06 -05:00
2021-07-26 20:05:48 -04:00
2022-01-08 14:01:28 +01:00
2022-01-17 20:45:55 -07:00
2022-01-03 02:09:54 +01:00
2022-01-03 02:09:54 +01:00
2021-11-27 00:27:52 -07:00
2021-12-28 23:22:09 -07:00
2022-01-17 20:45:55 -07:00
2022-01-07 00:06:06 -05:00