summaryrefslogtreecommitdiffhomepage
path: root/dev/LibCompiler/src
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-05-30 13:35:31 +0200
committerAmlal El Mahrouss <amlal@nekernel.org>2025-05-30 13:35:31 +0200
commit9e8b5d3b7c7c8f25803e77dc3c3da3f1732f6226 (patch)
tree18bd8c2785bfbc37adf022d656cd26ef91afe9a5 /dev/LibCompiler/src
parent756ee7f8dc954e27350fe5bdfbaa83b9f69780c8 (diff)
refactor: use STLString instead of std::string.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/LibCompiler/src')
-rw-r--r--dev/LibCompiler/src/Backend/AssemblerAMD64.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev/LibCompiler/src/Backend/AssemblerAMD64.cc b/dev/LibCompiler/src/Backend/AssemblerAMD64.cc
index 6551743..3a717ba 100644
--- a/dev/LibCompiler/src/Backend/AssemblerAMD64.cc
+++ b/dev/LibCompiler/src/Backend/AssemblerAMD64.cc
@@ -21,6 +21,7 @@
/////////////////////////////////////////////////////////////////////////////////////////
+#include "LibCompiler/Defines.h"
#ifndef __ASM_NEED_AMD64__
#define __ASM_NEED_AMD64__ 1
#endif
@@ -955,7 +956,7 @@ bool LibCompiler::EncoderAMD64::WriteLine(std::string line, std::string file) {
if (LibCompiler::find_word(line, "public_segment ")) return true;
struct RegMapAMD64 {
- std::string fName;
+ LibCompiler::STLString fName;
i64_byte_t fModRM;
};