From 39e50838bd12057d9305575f50c63990984df01a Mon Sep 17 00:00:00 2001 From: _ov4 Date: Sat, 17 Oct 2026 09:15:18 +0000 Subject: feat(codegen): GLOBAL variables as LLVM globals Co-Authored-By: Claude Opus 5.5 --- include/cps/CodeGen.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/cps/CodeGen.h') diff --git a/include/cps/CodeGen.h b/include/cps/CodeGen.h index 6e0fab1..d624ca6 100644 --- a/include/cps/CodeGen.h +++ b/include/cps/CodeGen.h @@ -41,6 +41,7 @@ class CodeGen { bool isVisible(size_t Owner) const; void selectUnit(size_t Unit); void importSymbols(); + void runGlobalPrePass(const SourceUnit &Unit, int Phase); IdentifierMap Symbols; IdentifierMap> ClassMethods; std::string CurrentClass; -- cgit v1.3.1-4-g156e