summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/asmjit/src/asmjit/x86/x86formatter_p.h
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/asmjit/src/asmjit/x86/x86formatter_p.h')
-rw-r--r--3rdparty/asmjit/src/asmjit/x86/x86formatter_p.h50
1 files changed, 14 insertions, 36 deletions
diff --git a/3rdparty/asmjit/src/asmjit/x86/x86formatter_p.h b/3rdparty/asmjit/src/asmjit/x86/x86formatter_p.h
index d7d58e42d67..f37a8f6db14 100644
--- a/3rdparty/asmjit/src/asmjit/x86/x86formatter_p.h
+++ b/3rdparty/asmjit/src/asmjit/x86/x86formatter_p.h
@@ -1,25 +1,7 @@
-// AsmJit - Machine code generation for C++
+// This file is part of AsmJit project <https://asmjit.com>
//
-// * Official AsmJit Home Page: https://asmjit.com
-// * Official Github Repository: https://github.com/asmjit/asmjit
-//
-// Copyright (c) 2008-2020 The AsmJit Authors
-//
-// This software is provided 'as-is', without any express or implied
-// warranty. In no event will the authors be held liable for any damages
-// arising from the use of this software.
-//
-// Permission is granted to anyone to use this software for any purpose,
-// including commercial applications, and to alter it and redistribute it
-// freely, subject to the following restrictions:
-//
-// 1. The origin of this software must not be misrepresented; you must not
-// claim that you wrote the original software. If you use this software
-// in a product, an acknowledgment in the product documentation would be
-// appreciated but is not required.
-// 2. Altered source versions must be plainly marked as such, and must not be
-// misrepresented as being the original software.
-// 3. This notice may not be removed or altered from any source distribution.
+// See asmjit.h or LICENSE.md for license and copyright information
+// SPDX-License-Identifier: Zlib
#ifndef ASMJIT_X86_X86FORMATTER_P_H_INCLUDED
#define ASMJIT_X86_X86FORMATTER_P_H_INCLUDED
@@ -37,36 +19,32 @@ ASMJIT_BEGIN_SUB_NAMESPACE(x86)
//! \addtogroup asmjit_x86
//! \{
-// ============================================================================
-// [asmjit::x86::FormatterInternal]
-// ============================================================================
-
namespace FormatterInternal {
-Error formatFeature(
+Error ASMJIT_CDECL formatFeature(
String& sb,
uint32_t featureId) noexcept;
-Error formatRegister(
+Error ASMJIT_CDECL formatRegister(
String& sb,
- uint32_t flags,
+ FormatFlags flags,
const BaseEmitter* emitter,
- uint32_t arch,
- uint32_t regType,
+ Arch arch,
+ RegType regType,
uint32_t regId) noexcept;
-Error formatOperand(
+Error ASMJIT_CDECL formatOperand(
String& sb,
- uint32_t flags,
+ FormatFlags flags,
const BaseEmitter* emitter,
- uint32_t arch,
+ Arch arch,
const Operand_& op) noexcept;
-Error formatInstruction(
+Error ASMJIT_CDECL formatInstruction(
String& sb,
- uint32_t flags,
+ FormatFlags flags,
const BaseEmitter* emitter,
- uint32_t arch,
+ Arch arch,
const BaseInst& inst, const Operand_* operands, size_t opCount) noexcept;
} // {FormatterInternal}