aboutsummaryrefslogtreecommitdiff
path: root/src-self-hosted
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-06-11 00:09:58 -0400
committerAndrew Kelley <andrew@ziglang.org>2019-06-11 00:09:58 -0400
commit33371ab55c01d896b91df13eafe6e5c601400a07 (patch)
tree879666e7729aaef2273e8c336b425909df3d2022 /src-self-hosted
parentd504318f2e0f3054c772abbd34f938f2cefa6ccc (diff)
parent34a22a85ca8d4371fe9b8f921cce858ab4351cca (diff)
downloadzig-33371ab55c01d896b91df13eafe6e5c601400a07.tar.gz
zig-33371ab55c01d896b91df13eafe6e5c601400a07.zip
Merge remote-tracking branch 'origin/master' into copy-elision-3
Diffstat (limited to 'src-self-hosted')
-rw-r--r--src-self-hosted/compilation.zig2
-rw-r--r--src-self-hosted/value.zig2
2 files changed, 2 insertions, 2 deletions
diff --git a/src-self-hosted/compilation.zig b/src-self-hosted/compilation.zig
index 5171b80ddc..bd20442d4b 100644
--- a/src-self-hosted/compilation.zig
+++ b/src-self-hosted/compilation.zig
@@ -160,7 +160,7 @@ pub const Compilation = struct {
/// it uses an optional pointer so that tombstone removals are possible
fn_link_set: event.Locked(FnLinkSet),
- pub const FnLinkSet = std.LinkedList(?*Value.Fn);
+ pub const FnLinkSet = std.TailQueue(?*Value.Fn);
windows_subsystem_windows: bool,
windows_subsystem_console: bool,
diff --git a/src-self-hosted/value.zig b/src-self-hosted/value.zig
index 328646d2cd..6908307c56 100644
--- a/src-self-hosted/value.zig
+++ b/src-self-hosted/value.zig
@@ -186,7 +186,7 @@ pub const Value = struct {
/// Path to the object file that contains this function
containing_object: Buffer,
- link_set_node: *std.LinkedList(?*Value.Fn).Node,
+ link_set_node: *std.TailQueue(?*Value.Fn).Node,
/// Creates a Fn value with 1 ref
/// Takes ownership of symbol_name