diff options
| author | _ov4 <ov4@ov4.org> | 2026-07-26 12:15:33 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-07-26 12:15:33 +0000 |
| commit | 1749b2b4a3e55db7c9bed95376f99b7f07932b49 (patch) | |
| tree | fca50620a4e6b46609f18abaf205416ea245dce8 /CMakeLists.txt | |
| parent | b9b7f048b0874df0f034f6b1e15e1a4ee2131475 (diff) | |
refactor: drop per-type micro handlers and the parallel NamedValues map
Integer/Real/Boolean/CharHandler carried only five one-line LLVM API
wrappers (now inlined at their call sites in CodeGen.cc) plus dead
emitDeclare methods that violated the documented two-table lock-step
invariant. StringHandler::emitDeclare (also dead) and its NamedValues
reference go too.
With the dead writers gone, NamedValues held no information not already
in Symbols[].Storage, so the parallel map is removed: getNamedValue
reads Symbols, ArrayHandler/FunctionGen take one table, and function
bodies save/restore a single map. Behavior unchanged.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b82c9d4..4f80d0a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,12 +23,8 @@ add_library(CPSCodeGen lib/CodeGen/ArrayHandler.cc lib/CodeGen/RuntimeCheck.cc lib/CodeGen/FunctionGen.cc - lib/CodeGen/IntegerHandler.cc - lib/CodeGen/RealHandler.cc - lib/CodeGen/BooleanHandler.cc lib/CodeGen/ArithmeticHandler.cc lib/CodeGen/StringHandler.cc - lib/CodeGen/CharHandler.cc lib/CodeGen/StringConversionHandler.cc lib/CodeGen/TypeSystem.cc ) |
