From 56db5137ddd10f476b9820944b47ab72c6f8e019 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Thu, 20 Nov 2025 09:18:57 -0500 Subject: feat! breaking ABI changes, breaking codegen changes. Signed-off-by: Amlal El Mahrouss --- dev/CompilerKit/src/Frontend/CPlusPlusCompilerAMD64.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dev/CompilerKit/src') diff --git a/dev/CompilerKit/src/Frontend/CPlusPlusCompilerAMD64.cc b/dev/CompilerKit/src/Frontend/CPlusPlusCompilerAMD64.cc index e44f4f2..a13aa0e 100644 --- a/dev/CompilerKit/src/Frontend/CPlusPlusCompilerAMD64.cc +++ b/dev/CompilerKit/src/Frontend/CPlusPlusCompilerAMD64.cc @@ -172,7 +172,7 @@ CompilerKit::SyntaxLeafList::SyntaxLeaf CompilerFrontendCPlusPlusAMD64::Compile( CompilerKit::STLString text, CompilerKit::STLString file) { CompilerKit::SyntaxLeafList::SyntaxLeaf syntax_tree; - if (text.length() < 1) return syntax_tree; + if (text.empty()) return syntax_tree; std::size_t index = 0UL; std::vector> keywords_list; @@ -747,8 +747,8 @@ class AssemblyCPlusPlusInterfaceAMD64 final CK_ASSEMBLY_INTERFACE { CompilerKit::STLString line_source; - out_fp << "#bits 64\n"; - out_fp << "#org " << kOrigin << "\n\n"; + out_fp << "%bits 64\n"; + out_fp << "%org " << kOrigin << "\n\n"; while (std::getline(src_fp, line_source)) { out_fp << kFrontend->Compile(line_source, src).fUserValue; -- cgit v1.2.3