From 2a34d0094c367c03da442b886728482860641836 Mon Sep 17 00:00:00 2001 From: admin Date: Sun, 30 Nov 2025 22:11:35 +0100 Subject: [PATCH] feat: todo + better assertion message --- include/codegen.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/codegen.hpp b/include/codegen.hpp index ed96b1b..73ccd11 100644 --- a/include/codegen.hpp +++ b/include/codegen.hpp @@ -1,3 +1,7 @@ + +// TODO: store all of values, allocated registers, stack offsets in single allocator +// to be able to find out which kind a specific temp register represent + #pragma once #include #include "string.hpp" @@ -130,7 +134,7 @@ public: } } - assert(0 && "could not resolve const under specified address"); + assert(0 && "could not resolve register for specified address"); } void Clear()