diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-01-18 19:29:23 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-01-18 19:29:53 -0700 |
| commit | 7e56028bc7c00b884c92e2948728cbc47e5a8a09 (patch) | |
| tree | 660b8f5e027066e728fbd88db5e58385940aa2d7 /src/Module.zig | |
| parent | 6c7e66613d57aec2f2949c065ea6431ff6c31f88 (diff) | |
| parent | ecc246efa2c133aaab73032a18fed5b2c15e08ce (diff) | |
| download | zig-7e56028bc7c00b884c92e2948728cbc47e5a8a09.tar.gz zig-7e56028bc7c00b884c92e2948728cbc47e5a8a09.zip | |
Merge branch 'stage2: rework ZIR/TZIR for optionals and error unions'
closes #7730
closes #7662
Diffstat (limited to 'src/Module.zig')
| -rw-r--r-- | src/Module.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Module.zig b/src/Module.zig index d75c1d2a0d..747e60f970 100644 --- a/src/Module.zig +++ b/src/Module.zig @@ -2453,7 +2453,7 @@ pub fn analyzeIsNull( return self.constBool(scope, src, bool_value); } const b = try self.requireRuntimeBlock(scope, src); - const inst_tag: Inst.Tag = if (invert_logic) .isnonnull else .isnull; + const inst_tag: Inst.Tag = if (invert_logic) .is_non_null else .is_null; return self.addUnOp(b, src, Type.initTag(.bool), inst_tag, operand); } |
