selfhost/cmd/wcc/typ: drop ty_ prefix underscore on tctx primitives

This commit is contained in:
2026-05-11 14:38:20 +09:00
parent 6204c4cd27
commit 7ed6b39744
5 changed files with 201 additions and 201 deletions

View File

@@ -1607,7 +1607,7 @@ fn cgexpr(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.
// Treat as a SB symbol — `MOVQ leaf(SB), AX`. Same fallback
// the C cgen takes when bt is NULL/ty_err.
// the C cgen takes when bt is NULL/tyerr.
if (lhs != nil) {
if (lhs.kind == N_IDENT) {
emitline("\tMOVQ\t");