summaryrefslogtreecommitdiffhomepage
path: root/dev/LibCompiler/NFC
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-01-08 10:28:10 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-01-08 10:28:10 +0100
commitf5a153c3f888f82edaf5038e5762f9bd70356db4 (patch)
tree02d3a8f71796105a7e6780eb3327b2c2724e70d5 /dev/LibCompiler/NFC
parentc3b10ee1e28737375d65c3811f390d77a84fc165 (diff)
KAN-8: Compiler tweaks and AARCH64 in progress.
- Refactor C compilers. - Add Encoder for ARM64. - Add and working on assembler for AARCH64. Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/LibCompiler/NFC')
-rw-r--r--dev/LibCompiler/NFC/AE.h2
-rw-r--r--dev/LibCompiler/NFC/ErrorID.h16
-rw-r--r--dev/LibCompiler/NFC/Ref.h2
-rw-r--r--dev/LibCompiler/NFC/String.h2
4 files changed, 11 insertions, 11 deletions
diff --git a/dev/LibCompiler/NFC/AE.h b/dev/LibCompiler/NFC/AE.h
index 3aeedf0..2453461 100644
--- a/dev/LibCompiler/NFC/AE.h
+++ b/dev/LibCompiler/NFC/AE.h
@@ -107,7 +107,7 @@ namespace LibCompiler::Utils
explicit AEReadableProtocol() = default;
~AEReadableProtocol() = default;
- TOOLCHAINKIT_COPY_DELETE(AEReadableProtocol);
+ LIBCOMPILER_COPY_DELETE(AEReadableProtocol);
/**
* @brief Read AE Record headers.
diff --git a/dev/LibCompiler/NFC/ErrorID.h b/dev/LibCompiler/NFC/ErrorID.h
index 89c4a73..1a5a0db 100644
--- a/dev/LibCompiler/NFC/ErrorID.h
+++ b/dev/LibCompiler/NFC/ErrorID.h
@@ -12,11 +12,11 @@
#include <LibCompiler/Defines.h>
#include <LibCompiler/NFC/ErrorOr.h>
-#define TOOLCHAINKIT_EXEC_ERROR -30
-#define TOOLCHAINKIT_FILE_NOT_FOUND -31
-#define TOOLCHAINKIT_DIR_NOT_FOUND -32
-#define TOOLCHAINKIT_FILE_EXISTS -33
-#define TOOLCHAINKIT_TOO_LONG -34
-#define TOOLCHAINKIT_INVALID_DATA -35
-#define TOOLCHAINKIT_UNIMPLEMENTED -36
-#define TOOLCHAINKIT_FAT_ERROR -37
+#define LIBCOMPILER_EXEC_ERROR -30
+#define LIBCOMPILER_FILE_NOT_FOUND -31
+#define LIBCOMPILER_DIR_NOT_FOUND -32
+#define LIBCOMPILER_FILE_EXISTS -33
+#define LIBCOMPILER_TOO_LONG -34
+#define LIBCOMPILER_INVALID_DATA -35
+#define LIBCOMPILER_UNIMPLEMENTED -36
+#define LIBCOMPILER_FAT_ERROR -37
diff --git a/dev/LibCompiler/NFC/Ref.h b/dev/LibCompiler/NFC/Ref.h
index d7f5863..91b7568 100644
--- a/dev/LibCompiler/NFC/Ref.h
+++ b/dev/LibCompiler/NFC/Ref.h
@@ -30,7 +30,7 @@ namespace LibCompiler
}
}
- TOOLCHAINKIT_COPY_DEFAULT(Ref);
+ LIBCOMPILER_COPY_DEFAULT(Ref);
public:
explicit Ref(T cls, const Bool& strong = false)
diff --git a/dev/LibCompiler/NFC/String.h b/dev/LibCompiler/NFC/String.h
index 1a9c0c4..99f6c8b 100644
--- a/dev/LibCompiler/NFC/String.h
+++ b/dev/LibCompiler/NFC/String.h
@@ -42,7 +42,7 @@ namespace LibCompiler
}
}
- TOOLCHAINKIT_COPY_DEFAULT(StringView);
+ LIBCOMPILER_COPY_DEFAULT(StringView);
CharType* Data();
const CharType* CData() const;