diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2025-02-03 06:33:46 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2025-02-03 06:33:46 +0100 |
| commit | 00f53a8617584c9dc8a7b5fe4d3f66192c50832d (patch) | |
| tree | abb26dd93b47ea9c036f74f0091a568021225538 /dev | |
| parent | 0cac3e6fa024ffad21a45fff067df56df5d427fe (diff) | |
Final tweaks.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev')
| -rw-r--r-- | dev/LibC++/defines.h | 2 | ||||
| -rw-r--r-- | dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/dev/LibC++/defines.h b/dev/LibC++/defines.h index 6caf9d3..84b943b 100644 --- a/dev/LibC++/defines.h +++ b/dev/LibC++/defines.h @@ -39,7 +39,7 @@ typedef char* caddr_t; #ifdef __GNUC__ #include <LibC++/alloca.h> #elif defined(__LIBCOMPILER__) -#define __alloca(sz) __ndk_alloca(sz) +#define __alloca(sz) __lc_alloca(sz) #endif #define __deref(ptr) (*(ptr)) diff --git a/dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc b/dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc index af0f0c6..bbba941 100644 --- a/dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc +++ b/dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc @@ -373,7 +373,7 @@ bool CompilerFrontendCPlusPlus::Compile(const std::string text, ch = '_'; } - syntax_tree.fUserValue += "jge __OFFSET_ON_TRUE_NDK\nsegment .code64 __OFFSET_ON_TRUE_NDK:\n"; + syntax_tree.fUserValue += "jge __OFFSET_ON_TRUE_LC\nsegment .code64 __OFFSET_ON_TRUE_LC:\n"; } break; @@ -788,7 +788,7 @@ bool CompilerFrontendCPlusPlus::Compile(const std::string text, kState.fSyntaxTree->fLeafList.push_back(syntax_tree); } -ndk_compile_ok: +lc_compile_ok: return true; } |
