wcc/cgen: drop underscore from cgen_*.ww filenames
This commit is contained in:
1
.claude/scheduled_tasks.lock
Normal file
1
.claude/scheduled_tasks.lock
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{"sessionId":"f73c16cb-8fcd-4610-9196-44abc02a48a0","pid":10509,"procStart":"497429865","acquiredAt":1778482151930}
|
||||||
12
Makefile
12
Makefile
@@ -109,9 +109,9 @@ $(BIN)/wwdump_ww: selfhost/cmd/wwdump/main.ww \
|
|||||||
lib/ww/lex.ww lib/ww/tok.ww lib/ww/ast.ww \
|
lib/ww/lex.ww lib/ww/tok.ww lib/ww/ast.ww \
|
||||||
lib/ww/parse.ww lib/ww/typ.ww lib/ww/sym.ww \
|
lib/ww/parse.ww lib/ww/typ.ww lib/ww/sym.ww \
|
||||||
selfhost/cmd/wcc/mem.ww selfhost/cmd/wcc/check.ww \
|
selfhost/cmd/wcc/mem.ww selfhost/cmd/wcc/check.ww \
|
||||||
selfhost/cmd/wcc/cgen.ww selfhost/cmd/wcc/cgen_expr.ww \
|
selfhost/cmd/wcc/cgen.ww selfhost/cmd/wcc/cgenexpr.ww \
|
||||||
selfhost/cmd/wcc/cgen_stmt.ww selfhost/cmd/wcc/cgen_util.ww \
|
selfhost/cmd/wcc/cgenstmt.ww selfhost/cmd/wcc/cgenutil.ww \
|
||||||
selfhost/cmd/wcc/cgen_decl.ww \
|
selfhost/cmd/wcc/cgendecl.ww \
|
||||||
lib/os/os.ww lib/strconv/strconv.ww \
|
lib/os/os.ww lib/strconv/strconv.ww \
|
||||||
$(BIN)/ww $(BIN)/w6c $(BIN)/w6a $(BIN)/w6l \
|
$(BIN)/ww $(BIN)/w6c $(BIN)/w6a $(BIN)/w6l \
|
||||||
$(LIB)/libwwrt.a | $(BIN)
|
$(LIB)/libwwrt.a | $(BIN)
|
||||||
@@ -128,9 +128,9 @@ $(BIN)/w6c_ww: selfhost/cmd/w6c/main.ww \
|
|||||||
lib/ww/lex.ww lib/ww/tok.ww lib/ww/ast.ww \
|
lib/ww/lex.ww lib/ww/tok.ww lib/ww/ast.ww \
|
||||||
lib/ww/parse.ww lib/ww/typ.ww lib/ww/sym.ww \
|
lib/ww/parse.ww lib/ww/typ.ww lib/ww/sym.ww \
|
||||||
selfhost/cmd/wcc/mem.ww selfhost/cmd/wcc/check.ww \
|
selfhost/cmd/wcc/mem.ww selfhost/cmd/wcc/check.ww \
|
||||||
selfhost/cmd/wcc/cgen.ww selfhost/cmd/wcc/cgen_expr.ww \
|
selfhost/cmd/wcc/cgen.ww selfhost/cmd/wcc/cgenexpr.ww \
|
||||||
selfhost/cmd/wcc/cgen_stmt.ww selfhost/cmd/wcc/cgen_util.ww \
|
selfhost/cmd/wcc/cgenstmt.ww selfhost/cmd/wcc/cgenutil.ww \
|
||||||
selfhost/cmd/wcc/cgen_decl.ww \
|
selfhost/cmd/wcc/cgendecl.ww \
|
||||||
lib/os/os.ww \
|
lib/os/os.ww \
|
||||||
$(BIN)/ww $(BIN)/w6c $(BIN)/w6a $(BIN)/w6l \
|
$(BIN)/ww $(BIN)/w6c $(BIN)/w6a $(BIN)/w6l \
|
||||||
$(LIB)/libwwrt.a | $(BIN)
|
$(LIB)/libwwrt.a | $(BIN)
|
||||||
|
|||||||
@@ -3638,7 +3638,7 @@ export fn checkfile(c: *checker, file: *node) void = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// MODULE: wcc
|
// MODULE: wcc
|
||||||
// selfhost/cmd/wcc/cgen_util.ww — split out of cgen.ww.
|
// selfhost/cmd/wcc/cgenutil.ww — split out of cgen.ww.
|
||||||
//
|
//
|
||||||
// General helpers used across cgen_expr / cgen_stmt / cgen_decl:
|
// General helpers used across cgen_expr / cgen_stmt / cgen_decl:
|
||||||
// - pushargsrev: per-call arg pushing
|
// - pushargsrev: per-call arg pushing
|
||||||
@@ -3650,7 +3650,7 @@ export fn checkfile(c: *checker, file: *node) void = {
|
|||||||
// - rhs helpers: rhstargetname, taggedvariantindex
|
// - rhs helpers: rhstargetname, taggedvariantindex
|
||||||
//
|
//
|
||||||
// Bundler pulls this in transitively via cgen.ww; consumers don't
|
// Bundler pulls this in transitively via cgen.ww; consumers don't
|
||||||
// need to `use cgen_util;` directly.
|
// need to `use cgenutil;` directly.
|
||||||
|
|
||||||
use os;
|
use os;
|
||||||
use mem;
|
use mem;
|
||||||
@@ -4504,7 +4504,7 @@ fn taggedvariantindex(c: *cgen, tagged: *node, rhs: *node) i32 = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// MODULE: wcc
|
// MODULE: wcc
|
||||||
// selfhost/cmd/wcc/cgen_expr.ww — split out of cgen.ww.
|
// selfhost/cmd/wcc/cgenexpr.ww — split out of cgen.ww.
|
||||||
//
|
//
|
||||||
// cgexpr is a thin dispatcher over n.kind; each non-trivial branch
|
// cgexpr is a thin dispatcher over n.kind; each non-trivial branch
|
||||||
// lives in a per-kind helper (cgstrlit, cgident, cgindex, cgmatch,
|
// lives in a per-kind helper (cgstrlit, cgident, cgindex, cgmatch,
|
||||||
@@ -4515,7 +4515,7 @@ fn taggedvariantindex(c: *cgen, tagged: *node, rhs: *node) i32 = {
|
|||||||
// primitives, the collect* tables, FFI/module maps) and cgen_stmt.ww
|
// primitives, the collect* tables, FFI/module maps) and cgen_stmt.ww
|
||||||
// (cgstmt).
|
// (cgstmt).
|
||||||
//
|
//
|
||||||
// `use cgen_expr;` is unnecessary at consumer sites — cgen.ww imports
|
// `use cgenexpr;` is unnecessary at consumer sites — cgen.ww imports
|
||||||
// this file, so any caller of cgen transitively gets cgexpr.
|
// this file, so any caller of cgen transitively gets cgexpr.
|
||||||
|
|
||||||
use os;
|
use os;
|
||||||
@@ -5607,7 +5607,7 @@ fn cgassign(c: *cgen, n: *node) void = {
|
|||||||
|
|
||||||
|
|
||||||
// MODULE: wcc
|
// MODULE: wcc
|
||||||
// selfhost/cmd/wcc/cgen_stmt.ww — split out of cgen.ww.
|
// selfhost/cmd/wcc/cgenstmt.ww — split out of cgen.ww.
|
||||||
//
|
//
|
||||||
// cgstmt is a thin dispatcher over n.kind; each branch defers to a
|
// cgstmt is a thin dispatcher over n.kind; each branch defers to a
|
||||||
// per-kind helper: cgblock, cgreturn, cgexprstmt, cglet, cgif, cgfor,
|
// per-kind helper: cgblock, cgreturn, cgexprstmt, cglet, cgif, cgfor,
|
||||||
@@ -5983,7 +5983,7 @@ fn cgcontinue(c: *cgen, n: *node) void = {
|
|||||||
|
|
||||||
|
|
||||||
// MODULE: wcc
|
// MODULE: wcc
|
||||||
// selfhost/cmd/wcc/cgen_decl.ww — split out of cgen.ww.
|
// selfhost/cmd/wcc/cgendecl.ww — split out of cgen.ww.
|
||||||
//
|
//
|
||||||
// Houses the top-level emission glue:
|
// Houses the top-level emission glue:
|
||||||
// - scanlocals: frame pre-scan that counts each local `let`
|
// - scanlocals: frame pre-scan that counts each local `let`
|
||||||
@@ -5992,7 +5992,7 @@ fn cgcontinue(c: *cgen, n: *node) void = {
|
|||||||
// - cgfile: file-level entry (the exported driver)
|
// - cgfile: file-level entry (the exported driver)
|
||||||
//
|
//
|
||||||
// Bundler pulls this in transitively via cgen.ww; consumers don't
|
// Bundler pulls this in transitively via cgen.ww; consumers don't
|
||||||
// need to `use cgen_decl;` directly.
|
// need to `use cgendecl;` directly.
|
||||||
|
|
||||||
use os;
|
use os;
|
||||||
use mem;
|
use mem;
|
||||||
@@ -6270,11 +6270,11 @@ use sym;
|
|||||||
use strconv;
|
use strconv;
|
||||||
// Split files. Bundler pulls these in transitively so consumers only
|
// Split files. Bundler pulls these in transitively so consumers only
|
||||||
// need `use cgen;`. Order matters for the flat-bundle concat — utils
|
// need `use cgen;`. Order matters for the flat-bundle concat — utils
|
||||||
// first so cgen_expr/stmt/decl can reference helpers defined here.
|
// first so cgenexpr/stmt/decl can reference helpers defined here.
|
||||||
use cgen_util;
|
use cgenutil;
|
||||||
use cgen_expr;
|
use cgenexpr;
|
||||||
use cgen_stmt;
|
use cgenstmt;
|
||||||
use cgen_decl;
|
use cgendecl;
|
||||||
|
|
||||||
// ---- typedef alias registry -----------------------------------------
|
// ---- typedef alias registry -----------------------------------------
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -31,11 +31,11 @@ use sym;
|
|||||||
use strconv;
|
use strconv;
|
||||||
// Split files. Bundler pulls these in transitively so consumers only
|
// Split files. Bundler pulls these in transitively so consumers only
|
||||||
// need `use cgen;`. Order matters for the flat-bundle concat — utils
|
// need `use cgen;`. Order matters for the flat-bundle concat — utils
|
||||||
// first so cgen_expr/stmt/decl can reference helpers defined here.
|
// first so cgenexpr/stmt/decl can reference helpers defined here.
|
||||||
use cgen_util;
|
use cgenutil;
|
||||||
use cgen_expr;
|
use cgenexpr;
|
||||||
use cgen_stmt;
|
use cgenstmt;
|
||||||
use cgen_decl;
|
use cgendecl;
|
||||||
|
|
||||||
// ---- typedef alias registry -----------------------------------------
|
// ---- typedef alias registry -----------------------------------------
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// selfhost/cmd/wcc/cgen_decl.ww — split out of cgen.ww.
|
// selfhost/cmd/wcc/cgendecl.ww — split out of cgen.ww.
|
||||||
//
|
//
|
||||||
// Houses the top-level emission glue:
|
// Houses the top-level emission glue:
|
||||||
// - scanlocals: frame pre-scan that counts each local `let`
|
// - scanlocals: frame pre-scan that counts each local `let`
|
||||||
@@ -7,7 +7,7 @@
|
|||||||
// - cgfile: file-level entry (the exported driver)
|
// - cgfile: file-level entry (the exported driver)
|
||||||
//
|
//
|
||||||
// Bundler pulls this in transitively via cgen.ww; consumers don't
|
// Bundler pulls this in transitively via cgen.ww; consumers don't
|
||||||
// need to `use cgen_decl;` directly.
|
// need to `use cgendecl;` directly.
|
||||||
|
|
||||||
use os;
|
use os;
|
||||||
use mem;
|
use mem;
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
// selfhost/cmd/wcc/cgen_expr.ww — split out of cgen.ww.
|
// selfhost/cmd/wcc/cgenexpr.ww — split out of cgen.ww.
|
||||||
//
|
//
|
||||||
// cgexpr is a thin dispatcher over n.kind; each non-trivial branch
|
// cgexpr is a thin dispatcher over n.kind; each non-trivial branch
|
||||||
// lives in a per-kind helper (cgstrlit, cgident, cgindex, cgmatch,
|
// lives in a per-kind helper (cgstrlit, cgident, cgindex, cgmatch,
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
// primitives, the collect* tables, FFI/module maps) and cgen_stmt.ww
|
// primitives, the collect* tables, FFI/module maps) and cgen_stmt.ww
|
||||||
// (cgstmt).
|
// (cgstmt).
|
||||||
//
|
//
|
||||||
// `use cgen_expr;` is unnecessary at consumer sites — cgen.ww imports
|
// `use cgenexpr;` is unnecessary at consumer sites — cgen.ww imports
|
||||||
// this file, so any caller of cgen transitively gets cgexpr.
|
// this file, so any caller of cgen transitively gets cgexpr.
|
||||||
|
|
||||||
use os;
|
use os;
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
// selfhost/cmd/wcc/cgen_stmt.ww — split out of cgen.ww.
|
// selfhost/cmd/wcc/cgenstmt.ww — split out of cgen.ww.
|
||||||
//
|
//
|
||||||
// cgstmt is a thin dispatcher over n.kind; each branch defers to a
|
// cgstmt is a thin dispatcher over n.kind; each branch defers to a
|
||||||
// per-kind helper: cgblock, cgreturn, cgexprstmt, cglet, cgif, cgfor,
|
// per-kind helper: cgblock, cgreturn, cgexprstmt, cglet, cgif, cgfor,
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
// selfhost/cmd/wcc/cgen_util.ww — split out of cgen.ww.
|
// selfhost/cmd/wcc/cgenutil.ww — split out of cgen.ww.
|
||||||
//
|
//
|
||||||
// General helpers used across cgen_expr / cgen_stmt / cgen_decl:
|
// General helpers used across cgen_expr / cgen_stmt / cgen_decl:
|
||||||
// - pushargsrev: per-call arg pushing
|
// - pushargsrev: per-call arg pushing
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
// - rhs helpers: rhstargetname, taggedvariantindex
|
// - rhs helpers: rhstargetname, taggedvariantindex
|
||||||
//
|
//
|
||||||
// Bundler pulls this in transitively via cgen.ww; consumers don't
|
// Bundler pulls this in transitively via cgen.ww; consumers don't
|
||||||
// need to `use cgen_util;` directly.
|
// need to `use cgenutil;` directly.
|
||||||
|
|
||||||
use os;
|
use os;
|
||||||
use mem;
|
use mem;
|
||||||
@@ -3638,7 +3638,7 @@ export fn checkfile(c: *checker, file: *node) void = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// MODULE: wcc
|
// MODULE: wcc
|
||||||
// selfhost/cmd/wcc/cgen_util.ww — split out of cgen.ww.
|
// selfhost/cmd/wcc/cgenutil.ww — split out of cgen.ww.
|
||||||
//
|
//
|
||||||
// General helpers used across cgen_expr / cgen_stmt / cgen_decl:
|
// General helpers used across cgen_expr / cgen_stmt / cgen_decl:
|
||||||
// - pushargsrev: per-call arg pushing
|
// - pushargsrev: per-call arg pushing
|
||||||
@@ -3650,7 +3650,7 @@ export fn checkfile(c: *checker, file: *node) void = {
|
|||||||
// - rhs helpers: rhstargetname, taggedvariantindex
|
// - rhs helpers: rhstargetname, taggedvariantindex
|
||||||
//
|
//
|
||||||
// Bundler pulls this in transitively via cgen.ww; consumers don't
|
// Bundler pulls this in transitively via cgen.ww; consumers don't
|
||||||
// need to `use cgen_util;` directly.
|
// need to `use cgenutil;` directly.
|
||||||
|
|
||||||
use os;
|
use os;
|
||||||
use mem;
|
use mem;
|
||||||
@@ -4504,7 +4504,7 @@ fn taggedvariantindex(c: *cgen, tagged: *node, rhs: *node) i32 = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// MODULE: wcc
|
// MODULE: wcc
|
||||||
// selfhost/cmd/wcc/cgen_expr.ww — split out of cgen.ww.
|
// selfhost/cmd/wcc/cgenexpr.ww — split out of cgen.ww.
|
||||||
//
|
//
|
||||||
// cgexpr is a thin dispatcher over n.kind; each non-trivial branch
|
// cgexpr is a thin dispatcher over n.kind; each non-trivial branch
|
||||||
// lives in a per-kind helper (cgstrlit, cgident, cgindex, cgmatch,
|
// lives in a per-kind helper (cgstrlit, cgident, cgindex, cgmatch,
|
||||||
@@ -4515,7 +4515,7 @@ fn taggedvariantindex(c: *cgen, tagged: *node, rhs: *node) i32 = {
|
|||||||
// primitives, the collect* tables, FFI/module maps) and cgen_stmt.ww
|
// primitives, the collect* tables, FFI/module maps) and cgen_stmt.ww
|
||||||
// (cgstmt).
|
// (cgstmt).
|
||||||
//
|
//
|
||||||
// `use cgen_expr;` is unnecessary at consumer sites — cgen.ww imports
|
// `use cgenexpr;` is unnecessary at consumer sites — cgen.ww imports
|
||||||
// this file, so any caller of cgen transitively gets cgexpr.
|
// this file, so any caller of cgen transitively gets cgexpr.
|
||||||
|
|
||||||
use os;
|
use os;
|
||||||
@@ -5607,7 +5607,7 @@ fn cgassign(c: *cgen, n: *node) void = {
|
|||||||
|
|
||||||
|
|
||||||
// MODULE: wcc
|
// MODULE: wcc
|
||||||
// selfhost/cmd/wcc/cgen_stmt.ww — split out of cgen.ww.
|
// selfhost/cmd/wcc/cgenstmt.ww — split out of cgen.ww.
|
||||||
//
|
//
|
||||||
// cgstmt is a thin dispatcher over n.kind; each branch defers to a
|
// cgstmt is a thin dispatcher over n.kind; each branch defers to a
|
||||||
// per-kind helper: cgblock, cgreturn, cgexprstmt, cglet, cgif, cgfor,
|
// per-kind helper: cgblock, cgreturn, cgexprstmt, cglet, cgif, cgfor,
|
||||||
@@ -5983,7 +5983,7 @@ fn cgcontinue(c: *cgen, n: *node) void = {
|
|||||||
|
|
||||||
|
|
||||||
// MODULE: wcc
|
// MODULE: wcc
|
||||||
// selfhost/cmd/wcc/cgen_decl.ww — split out of cgen.ww.
|
// selfhost/cmd/wcc/cgendecl.ww — split out of cgen.ww.
|
||||||
//
|
//
|
||||||
// Houses the top-level emission glue:
|
// Houses the top-level emission glue:
|
||||||
// - scanlocals: frame pre-scan that counts each local `let`
|
// - scanlocals: frame pre-scan that counts each local `let`
|
||||||
@@ -5992,7 +5992,7 @@ fn cgcontinue(c: *cgen, n: *node) void = {
|
|||||||
// - cgfile: file-level entry (the exported driver)
|
// - cgfile: file-level entry (the exported driver)
|
||||||
//
|
//
|
||||||
// Bundler pulls this in transitively via cgen.ww; consumers don't
|
// Bundler pulls this in transitively via cgen.ww; consumers don't
|
||||||
// need to `use cgen_decl;` directly.
|
// need to `use cgendecl;` directly.
|
||||||
|
|
||||||
use os;
|
use os;
|
||||||
use mem;
|
use mem;
|
||||||
@@ -6270,11 +6270,11 @@ use sym;
|
|||||||
use strconv;
|
use strconv;
|
||||||
// Split files. Bundler pulls these in transitively so consumers only
|
// Split files. Bundler pulls these in transitively so consumers only
|
||||||
// need `use cgen;`. Order matters for the flat-bundle concat — utils
|
// need `use cgen;`. Order matters for the flat-bundle concat — utils
|
||||||
// first so cgen_expr/stmt/decl can reference helpers defined here.
|
// first so cgenexpr/stmt/decl can reference helpers defined here.
|
||||||
use cgen_util;
|
use cgenutil;
|
||||||
use cgen_expr;
|
use cgenexpr;
|
||||||
use cgen_stmt;
|
use cgenstmt;
|
||||||
use cgen_decl;
|
use cgendecl;
|
||||||
|
|
||||||
// ---- typedef alias registry -----------------------------------------
|
// ---- typedef alias registry -----------------------------------------
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user