summaryrefslogtreecommitdiffhomepage
path: root/dev/CompilerKit/src/Frontend/CCompiler64x0.cc
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-08-05 09:47:53 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-08-05 09:47:53 +0100
commitb0c5f2a2683657182f5ce3dc3bcbf252164b0077 (patch)
treea2f43f8d5943ce4825a0f1eb4e921d30e8e78eb9 /dev/CompilerKit/src/Frontend/CCompiler64x0.cc
parente272dd8e4d2437423b5140ad76cb690f4e182d76 (diff)
feat! compiler_kit & debugger_kit: breaking changes, big name refactors on the source code have been done.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/CompilerKit/src/Frontend/CCompiler64x0.cc')
-rw-r--r--dev/CompilerKit/src/Frontend/CCompiler64x0.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/dev/CompilerKit/src/Frontend/CCompiler64x0.cc b/dev/CompilerKit/src/Frontend/CCompiler64x0.cc
index ae2939b..c7ac387 100644
--- a/dev/CompilerKit/src/Frontend/CCompiler64x0.cc
+++ b/dev/CompilerKit/src/Frontend/CCompiler64x0.cc
@@ -139,7 +139,7 @@ class CompilerFrontend64x0 final : public CompilerKit::CompilerFrontendInterface
explicit CompilerFrontend64x0() = default;
~CompilerFrontend64x0() override = default;
- LIBCOMPILER_COPY_DEFAULT(CompilerFrontend64x0);
+ NECTI_COPY_DEFAULT(CompilerFrontend64x0);
std::string Check(const char* text, const char* file);
CompilerKit::SyntaxLeafList::SyntaxLeaf Compile(std::string text, std::string file) override;
@@ -324,7 +324,7 @@ CompilerKit::SyntaxLeafList::SyntaxLeaf CompilerFrontend64x0::Compile(std::strin
if (expr.find(")") != std::string::npos) expr.erase(expr.find(")"));
- kIfFunction = "__LIBCOMPILER_IF_PROC_";
+ kIfFunction = "__NECTI_IF_PROC_";
kIfFunction += std::to_string(time_off._Raw);
syntaxLeaf.fUserValue = "\tlda r12, extern_segment ";
@@ -1049,7 +1049,7 @@ class AssemblyCCInterface final LC_ASSEMBLY_INTERFACE {
explicit AssemblyCCInterface() = default;
~AssemblyCCInterface() override = default;
- LIBCOMPILER_COPY_DEFAULT(AssemblyCCInterface);
+ NECTI_COPY_DEFAULT(AssemblyCCInterface);
UInt32 Arch() noexcept override { return CompilerKit::AssemblyFactory::kArch64x0; }
@@ -1197,7 +1197,7 @@ static void cc_print_help() {
#define kExt ".c"
-LIBCOMPILER_MODULE(CompilerCLang64x0) {
+NECTI_MODULE(CompilerCLang64x0) {
::signal(SIGSEGV, Detail::drvi_crash_handler);
kCompilerTypes.push_back({.fName = "void", .fValue = "void"});