aboutsummaryrefslogtreecommitdiff
path: root/src/Module.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-05-07 20:03:27 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-05-07 20:03:27 -0700
commitd577654e66e3a69592df2a37817260b59a2a190b (patch)
tree77573b1d6986362eafadc5b93f009b155c351392 /src/Module.zig
parent81d5104e228dc30184b31158c1b36ec0ec371b0b (diff)
downloadzig-d577654e66e3a69592df2a37817260b59a2a190b.tar.gz
zig-d577654e66e3a69592df2a37817260b59a2a190b.zip
stage2: fix stack overflow in `@setEvalBranchQuota` test case
Some of the reworkings in this branch put us over the limit, on Linux, where the kernel disregards the fact that we ask for 16 MiB in the ELF file. So we ask for more stack space in `main`.
Diffstat (limited to 'src/Module.zig')
-rw-r--r--src/Module.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Module.zig b/src/Module.zig
index 0601245db3..4a4f0206d7 100644
--- a/src/Module.zig
+++ b/src/Module.zig
@@ -1088,7 +1088,7 @@ pub const Scope = struct {
/// for the one that will be the same for all Block instances.
src_decl: *Decl,
instructions: ArrayListUnmanaged(*ir.Inst),
- label: ?Label = null,
+ label: ?*Label = null,
inlining: ?*Inlining,
is_comptime: bool,