diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-08-19 20:26:46 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-19 20:26:46 -0400 |
| commit | e5e6eb983159df0a089e7d1c8efcea9006e253a9 (patch) | |
| tree | 80611a8b7faca0d150bcb66c4d8403134a339a49 /src/Sema.zig | |
| parent | 39f43fea8d0f6aa1c69cb7c3209f57f5ce00b273 (diff) | |
| parent | b75eeae5951f2dc4ff19f795ebd856c134722375 (diff) | |
| download | zig-e5e6eb983159df0a089e7d1c8efcea9006e253a9.tar.gz zig-e5e6eb983159df0a089e7d1c8efcea9006e253a9.zip | |
Merge pull request #12368 from ziglang/stage3-default
make self-hosted the default compiler
Diffstat (limited to 'src/Sema.zig')
| -rw-r--r-- | src/Sema.zig | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/Sema.zig b/src/Sema.zig index 091b88e719..aa02288df7 100644 --- a/src/Sema.zig +++ b/src/Sema.zig @@ -27358,9 +27358,6 @@ pub fn resolveTypeLayout( src: LazySrcLoc, ty: Type, ) CompileError!void { - if (build_options.omit_stage2) - @panic("sadly stage2 is omitted from this build to save memory on the CI server"); - switch (ty.zigTypeTag()) { .Struct => return sema.resolveStructLayout(block, src, ty), .Union => return sema.resolveUnionLayout(block, src, ty), @@ -27699,8 +27696,6 @@ fn resolveUnionFully( } pub fn resolveTypeFields(sema: *Sema, block: *Block, src: LazySrcLoc, ty: Type) CompileError!Type { - if (build_options.omit_stage2) - @panic("sadly stage2 is omitted from this build to save memory on the CI server"); switch (ty.tag()) { .@"struct" => { const struct_obj = ty.castTag(.@"struct").?.data; @@ -29323,8 +29318,6 @@ fn typePtrOrOptionalPtrTy( /// TODO merge these implementations together with the "advanced"/sema_kit pattern seen /// elsewhere in value.zig pub fn typeRequiresComptime(sema: *Sema, block: *Block, src: LazySrcLoc, ty: Type) CompileError!bool { - if (build_options.omit_stage2) - @panic("sadly stage2 is omitted from this build to save memory on the CI server"); return switch (ty.tag()) { .u1, .u8, |
