From 0dd0b0908300eee08a06ee51d9eb48b85fd97d74 Mon Sep 17 00:00:00 2001 From: _ov4 Date: Tue, 27 Oct 2026 13:27:14 +0000 Subject: refactor(memory)!: move allocation functions into memory.cps Route keyword NEW and DELETE through the same library runtime and retain allocation tracking, runtime diagnostics and exception behavior. BREAKING CHANGE: -no-std programs using NEW or DELETE must explicitly import memory.cps. Co-Authored-By: Claude Opus 5.5 --- lib/CodeGen/Builtins.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib/CodeGen/Builtins.h') diff --git a/lib/CodeGen/Builtins.h b/lib/CodeGen/Builtins.h index 84ba765..66ac9e4 100644 --- a/lib/CodeGen/Builtins.h +++ b/lib/CodeGen/Builtins.h @@ -15,9 +15,6 @@ struct BuiltinInfo { inline constexpr BuiltinInfo Builtins[] = { {"EOF", 1, "BOOLEAN"}, - {"MALLOC", 1, "C_TYPE(\"void*\")"}, - {"REALLOC", 2, "C_TYPE(\"void*\")"}, - {"FREE", 1, "C_TYPE(\"void*\")"}, {"INT", 1, "INTEGER"}, }; -- cgit v1.3.1-4-g156e