summaryrefslogtreecommitdiffhomepage
path: root/dev/LibCompiler/src/CCompilerARM64.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dev/LibCompiler/src/CCompilerARM64.cc')
-rw-r--r--dev/LibCompiler/src/CCompilerARM64.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/dev/LibCompiler/src/CCompilerARM64.cc b/dev/LibCompiler/src/CCompilerARM64.cc
index 542f45f..3aaab5f 100644
--- a/dev/LibCompiler/src/CCompilerARM64.cc
+++ b/dev/LibCompiler/src/CCompilerARM64.cc
@@ -1049,9 +1049,7 @@ class AssemblyCCInterface final ASSEMBLY_INTERFACE {
LIBCOMPILER_COPY_DEFAULT(AssemblyCCInterface);
- [[maybe_unused]] Int32 Arch() noexcept override {
- return LibCompiler::AssemblyFactory::kArchAARCH64;
- }
+ UInt32 Arch() noexcept override { return LibCompiler::AssemblyFactory::kArchAARCH64; }
Int32 CompileToFormat(std::string src, Int32 arch) override {
if (kCompilerFrontend == nullptr) return 1;