mirror of
https://github.com/ziglang/zig.git
synced 2024-12-04 02:48:50 +00:00
9cf8a7661f
In a `memoized_call`, store how many backwards braches the call performs. Add this to `sema.branch_count` when using a memoized call. If this exceeds the quota, perform a non-memoized call to get a correct "exceeded X backwards branches" error. Also, do not memoize calls which do `@setEvalBranchQuota` or similar, as this affects global state which must apply to the caller. Change some eval branch quotas so that the compiler itself still builds correctly. This commit manually changes a file in Aro which is automatically generated. The sources which generate the file are not in this repo. Upstream Aro should make the suitable changes on their end before the next sync of Aro sources into the Zig repo. |
||
---|---|---|
.. | ||
aro | ||
aro_translate_c | ||
reduce | ||
resinator | ||
aro_translate_c.zig | ||
build_runner.zig | ||
fmt.zig | ||
libc.zig | ||
objcopy.zig | ||
reduce.zig | ||
std-docs.zig | ||
test_runner.zig |