From 2dbf66dd698601ae8aaee86d5ba6a9078dda0a8e Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Fri, 20 Dec 2024 20:18:22 -0800 Subject: wasm linker: implement stack pointer global --- src/Compilation.zig | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Compilation.zig') diff --git a/src/Compilation.zig b/src/Compilation.zig index 33868ef195..4dfae7c893 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -118,6 +118,8 @@ link_task_queue_safety: std.debug.SafetyLock = .{}, link_task_queue_postponed: std.ArrayListUnmanaged(link.Task) = .empty, /// Initialized with how many link input tasks are expected. After this reaches zero /// the linker will begin the prelink phase. +/// Initialized in the Compilation main thread before the pipeline; modified only in +/// the linker task thread. remaining_prelink_tasks: u32, work_queues: [ -- cgit v1.2.3