diff --git a/src/asmjit/core/api-config.h b/src/asmjit/core/api-config.h index 6eb8b04..91e679e 100644 --- a/src/asmjit/core/api-config.h +++ b/src/asmjit/core/api-config.h @@ -95,7 +95,7 @@ namespace asmjit { //! Disables instruction validation API. #define ASMJIT_NO_VALIDATION -//! Disables instruction introspection API, +//! Disables instruction introspection API. #define ASMJIT_NO_INTROSPECTION // Avoid doxygen preprocessor using feature-selection definitions. diff --git a/src/asmjit/x86/x86compiler.cpp b/src/asmjit/x86/x86compiler.cpp index 4444fcd..2d97e06 100644 --- a/src/asmjit/x86/x86compiler.cpp +++ b/src/asmjit/x86/x86compiler.cpp @@ -40,16 +40,6 @@ Compiler::Compiler(CodeHolder* code) noexcept : BaseCompiler() { } Compiler::~Compiler() noexcept {} -// ============================================================================ -// [asmjit::x86::Compiler - Finalize] -// ============================================================================ - -Error Compiler::finalize() { - ASMJIT_PROPAGATE(runPasses()); - Assembler a(_code); - return serialize(&a); -} - // ============================================================================ // [asmjit::x86::Compiler - Events] // ============================================================================ diff --git a/src/asmjit/x86/x86compiler.h b/src/asmjit/x86/x86compiler.h index 4c64b3b..57598ef 100644 --- a/src/asmjit/x86/x86compiler.h +++ b/src/asmjit/x86/x86compiler.h @@ -698,13 +698,6 @@ public: //! \} - //! \name Finalize - //! \{ - - ASMJIT_API Error finalize() override; - - //! \} - //! \name Events //! \{