summaryrefslogtreecommitdiffhomepage
path: root/dev/LibCompiler/CodeGen.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-05-27 23:02:19 +0200
committerAmlal El Mahrouss <amlal@nekernel.org>2025-05-27 23:02:19 +0200
commit7878653e8dbd65d94ea8ea8bae6e0afd3c3d0af3 (patch)
tree5f77d7f9d500efcafdcb4efb787ce71a5d5ec1ab /dev/LibCompiler/CodeGen.h
parentd12204e7302b8f3bd521c782094338733abfded1 (diff)
fix: fix SEGFAULT on CxxDrv (AMD64), caused by a stack corruption.
refactor: Refactor LibCompiler's codebase, deperecate older C compilers, and fully focusing on C++ now. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/LibCompiler/CodeGen.h')
-rw-r--r--dev/LibCompiler/CodeGen.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/dev/LibCompiler/CodeGen.h b/dev/LibCompiler/CodeGen.h
index 1e955d8..8edcff1 100644
--- a/dev/LibCompiler/CodeGen.h
+++ b/dev/LibCompiler/CodeGen.h
@@ -8,10 +8,10 @@
#include <LibCompiler/Defines.h>
#include <LibCompiler/Macros.h>
-#include <LibCompiler/PString.h>
+#include <LibCompiler/BasicString.h>
-#define LC_ASSEMBLY_INTERFACE : public LibCompiler::AssemblyInterface
-#define LC_ENCODER : public LibCompiler::EncoderInterface
+#define LC_ASSEMBLY_INTERFACE : public ::LibCompiler::AssemblyInterface
+#define LC_ENCODER : public ::LibCompiler::EncoderInterface
namespace LibCompiler {
class AssemblyFactory;