mirror of
https://github.com/ziglang/zig.git
synced 2026-02-12 20:37:54 +00:00
wasm-linker: add updateFunc log
This commit is contained in:
parent
7b255235d6
commit
220af3f446
@ -3069,6 +3069,10 @@ pub fn updateFunc(wasm: *Wasm, pt: Zcu.PerThread, func_index: InternPool.Index,
|
||||
try wasm.functions.ensureUnusedCapacity(gpa, 1);
|
||||
try wasm.zcu_funcs.ensureUnusedCapacity(gpa, 1);
|
||||
|
||||
const ip = &zcu.intern_pool;
|
||||
const owner_nav = zcu.funcInfo(func_index).owner_nav;
|
||||
log.debug("updateFunc {}", .{ip.getNav(owner_nav).fqn.fmt(ip)});
|
||||
|
||||
const zds: ZcuDataStarts = .init(wasm);
|
||||
|
||||
// This converts AIR to MIR but does not yet lower to wasm code.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user