selfhost/cmd/wcc: delete mem.ww (γ-7, Phase 0 close)
mem.ww has 0 callers post-γ-6 — newarena/amalloc/grow/freearena/ roundup all unreferenced after the *arena cascade strip. Drop the 91-line module. Makefile: remove mem.ww from 5 dep lists (wwdump_ww, w6c_ww, w6a_ww, w6l_ww, ww_ww); drop `-I selfhost/cmd/wcc` from w6a_ww/ w6l_ww/ww_ww build invocations (wwdump_ww + w6c_ww still need it for check.ww/cgen*.ww). test/wcc/990_selfhost.c: drop 6 mem.ww entries from probe_codegen, probe_dump_diff (×2), probe_resolve, probe_dump_stable, and probe_cgen_match file lists. lib/memio/memio.ww: dynamicgrow doc comment reframed as historical context (collision source is gone, but task #9 keeps the module-prefixed name conservative against future collisions). Two dead `import mem;` lines remain in selfhost/cmd/w6a/asm.ww and selfhost/test/uses.ww; tolerated silently by ww build, swept in task #8. main.combined.ww auto-regenerated for w6a/w6c/wwdump. Verified 132/132 incl. 994_w6c_ww + 995_self_rebuild byte-identity. Phase 0 closes.
This commit is contained in:
@@ -70,7 +70,6 @@ static int
|
||||
probe_codegen(const char *bin)
|
||||
{
|
||||
static const char *files[] = {
|
||||
"selfhost/cmd/wcc/mem.ww",
|
||||
"selfhost/cmd/wcc/err.ww",
|
||||
NULL,
|
||||
};
|
||||
@@ -169,7 +168,6 @@ static int
|
||||
probe_dump_diff(const char *bin)
|
||||
{
|
||||
const char *tok_inputs[] = {
|
||||
"selfhost/cmd/wcc/mem.ww",
|
||||
"selfhost/cmd/wcc/err.ww",
|
||||
"lib/ww/lex/lex.ww",
|
||||
"lib/ww/lex/tok.ww",
|
||||
@@ -187,7 +185,6 @@ probe_dump_diff(const char *bin)
|
||||
const char *ast_inputs[] = {
|
||||
"selfhost/test/uses.ww",
|
||||
"selfhost/cmd/wcc/err.ww",
|
||||
"selfhost/cmd/wcc/mem.ww",
|
||||
"lib/ww/lex/lex.ww",
|
||||
"lib/ww/lex/tok.ww",
|
||||
"lib/ww/ast.ww",
|
||||
@@ -531,7 +528,6 @@ probe_resolve(const char *bin)
|
||||
if (getcwd(cwd, sizeof cwd) == NULL) return -1;
|
||||
const char *complete[] = {
|
||||
"selfhost/cmd/wcc/err.ww",
|
||||
"selfhost/cmd/wcc/mem.ww",
|
||||
"lib/ww/lex/tok.ww",
|
||||
"selfhost/test/smoke.ww",
|
||||
NULL,
|
||||
@@ -560,7 +556,6 @@ probe_dump_stable(const char *bin)
|
||||
char cwd[1024];
|
||||
if (getcwd(cwd, sizeof cwd) == NULL) return -1;
|
||||
const char *inputs[] = {
|
||||
"selfhost/cmd/wcc/mem.ww",
|
||||
"selfhost/cmd/wcc/err.ww",
|
||||
"selfhost/test/smoke.ww",
|
||||
NULL,
|
||||
@@ -812,7 +807,6 @@ static int
|
||||
probe_cgen_match(const char *bin)
|
||||
{
|
||||
const char *files[] = {
|
||||
"selfhost/cmd/wcc/mem.ww",
|
||||
"selfhost/cmd/wcc/err.ww",
|
||||
"lib/ww/lex/tok.ww",
|
||||
"selfhost/test/smoke.ww",
|
||||
|
||||
Reference in New Issue
Block a user