aboutsummaryrefslogtreecommitdiff
path: root/src-self-hosted
diff options
context:
space:
mode:
authorVexu <git@vexu.eu>2020-05-08 18:21:15 +0300
committerGitHub <noreply@github.com>2020-05-08 18:21:15 +0300
commitf2d326607505f1f16d4964a824444aaa0da2c259 (patch)
tree27e1bcdd67522c073dfbd2764e10b0d09549c58c /src-self-hosted
parentf1e5a4f1639d4c571bfc26610593a15f9e0e2cf3 (diff)
parent10abffcd98f2f1ac9e8532c53820d7c1eea6d88f (diff)
downloadzig-f2d326607505f1f16d4964a824444aaa0da2c259.tar.gz
zig-f2d326607505f1f16d4964a824444aaa0da2c259.zip
Merge pull request #4932 from Qix-/fix-private-access
Fix private access
Diffstat (limited to 'src-self-hosted')
-rw-r--r--src-self-hosted/ir/text.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-self-hosted/ir/text.zig b/src-self-hosted/ir/text.zig
index e1efb40fe5..1efcd6f599 100644
--- a/src-self-hosted/ir/text.zig
+++ b/src-self-hosted/ir/text.zig
@@ -236,7 +236,7 @@ pub const Inst = struct {
@"comptime_int",
@"comptime_float",
- fn toType(self: BuiltinType) Type {
+ pub fn toType(self: BuiltinType) Type {
return switch (self) {
.@"isize" => Type.initTag(.@"isize"),
.@"usize" => Type.initTag(.@"usize"),