diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-07-05 13:05:03 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-07-05 13:05:03 -0700 |
| commit | 9b0868776646934bdec84888dabebbb2b8d9924e (patch) | |
| tree | 3639f84c9895f4a16687296ced79ebde232bd9b5 /src/stage1/util.cpp | |
| parent | b7da1b2d45bc42a56eea3a143e4237a0712c4769 (diff) | |
| download | zig-9b0868776646934bdec84888dabebbb2b8d9924e.tar.gz zig-9b0868776646934bdec84888dabebbb2b8d9924e.zip | |
stage1: recursively resolve lazy values before hashing
When putting ZigValues into a hash map. The hash of a lazy value
and a fully resolved value must equal, and so we must resolve
the lazy values prior. The hash function asserts that none of
the values are lazy.
Diffstat (limited to 'src/stage1/util.cpp')
0 files changed, 0 insertions, 0 deletions
