diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2020-09-01 12:39:47 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-09-01 12:39:47 -0700 |
| commit | 4c13d020dbecbd7664b99765de33f230e98f3322 (patch) | |
| tree | a4e9adc1b9ee5ca6a2db85a1e23f74847f75f878 /lib/std/fmt/parse_float.zig | |
| parent | 717b0e827511b55375de82258f570709c07cc59d (diff) | |
| download | zig-4c13d020dbecbd7664b99765de33f230e98f3322.tar.gz zig-4c13d020dbecbd7664b99765de33f230e98f3322.zip | |
stage2: proper split of requireRuntimeBlock and requireFunctionBlock
* improve the ZIR generated of variable decls
- utilize the same ZIR for the type and init value when possible
- init value gets a result location with the variable type.
no manual coercion is required.
* no longer use return instructions to extract values out of comptime
blocks. Instead run the analysis and then look at the corresponding
analyzed instruction, relying on the comptime mechanism to report
errors when something could not be comptime evaluated.
Diffstat (limited to 'lib/std/fmt/parse_float.zig')
0 files changed, 0 insertions, 0 deletions
