selfhost: graduate SK_* defs to skind enum

This commit is contained in:
2026-05-12 04:52:42 +09:00
parent 408ea2a322
commit 077d0f95ed
6 changed files with 137 additions and 131 deletions

View File

@@ -861,7 +861,7 @@ fn cgdot(c: *cgen, n: *node) void = {
};
};
// Module-qualified value reference: `mod.name` where `mod`
// is N_IDENT bound as SK_USE and the leaf isn't a local.
// is N_IDENT bound as skind.SK_USE and the leaf isn't a local.
// Treat as a SB symbol — `MOVQ leaf(SB), AX`. Same fallback
// the C cgen takes when bt is NULL/tyerr.
if (lhs != nil) {