mirror of
https://github.com/asmjit/asmjit.git
synced 2025-12-17 20:44:37 +03:00
Added gcc visibility push/pop to ApiBegin/ApiEnd.
ApiBegin/ApiEnd moved from asmjit/base to asmjit.
This commit is contained in:
@@ -184,6 +184,9 @@ EndMacro()
|
||||
Set(ASMJIT_SRC "")
|
||||
|
||||
AsmJit_AddSource(ASMJIT_SRC asmjit
|
||||
apibegin.h
|
||||
apiend.h
|
||||
|
||||
asmjit.h
|
||||
base.h
|
||||
build.h
|
||||
@@ -194,9 +197,6 @@ AsmJit_AddSource(ASMJIT_SRC asmjit
|
||||
)
|
||||
|
||||
AsmJit_AddSource(ASMJIT_SRC asmjit/base
|
||||
apibegin.h
|
||||
apiend.h
|
||||
|
||||
assembler.cpp
|
||||
assembler.h
|
||||
codegen.cpp
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
// Zlib - See LICENSE.md file in the package.
|
||||
|
||||
#if !defined(_ASMJIT_BUILD_H)
|
||||
#include "../build.h"
|
||||
#include "build.h"
|
||||
#endif // !_ASMJIT_BUILD_H
|
||||
|
||||
// ============================================================================
|
||||
@@ -51,4 +51,9 @@
|
||||
// # if (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 402001
|
||||
// # pragma GCC diagnostic ignored "-w"
|
||||
// # endif
|
||||
|
||||
#if __GNUC__ >= 4
|
||||
# pragma GCC visibility push(hidden)
|
||||
#endif __GNUC__ >= 4
|
||||
|
||||
#endif // __GNUC__
|
||||
@@ -31,4 +31,9 @@
|
||||
// ============================================================================
|
||||
|
||||
#if defined(__GNUC__)
|
||||
|
||||
#if __GNUC__ >= 4
|
||||
# pragma GCC visibility pop
|
||||
#endif // __GNUC__ >= 4
|
||||
|
||||
#endif // __GNUC__
|
||||
@@ -16,7 +16,7 @@
|
||||
#include <stdarg.h>
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
|
||||
@@ -283,4 +283,4 @@ Error BaseAssembler::emit(uint32_t code, const Operand& o0, const Operand& o1, c
|
||||
} // asmjit namespace
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include "../base/zone.h"
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
|
||||
@@ -470,7 +470,7 @@ ASMJIT_INLINE Label::Label(BaseAssembler& a) : Operand(NoInit) {
|
||||
} // asmjit namespace
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
// [Guard]
|
||||
#endif // _ASMJIT_BASE_ASSEMBLER_H
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#include "../base/intutil.h"
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
|
||||
@@ -115,4 +115,4 @@ Error CodeGen::setFeature(uint32_t feature, bool value) {
|
||||
} // asmjit namespace
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
#include "../base/zone.h"
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
|
||||
@@ -198,7 +198,7 @@ struct CodeGen {
|
||||
} // asmjit namespace
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
// [Guard]
|
||||
#endif // _ASMJIT_BASE_CODEGEN_H
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include <stdarg.h>
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
|
||||
@@ -574,4 +574,4 @@ void BaseCompiler::rename(BaseVar& var, const char* name) {
|
||||
} // asmjit namespace
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#include "../base/runtime.h"
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
|
||||
@@ -1976,7 +1976,7 @@ ASMJIT_INLINE BaseNode::BaseNode(BaseCompiler* compiler, uint32_t type) {
|
||||
} // asmjit namespace
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
// [Guard]
|
||||
#endif // _ASMJIT_BASE_COMPILER_H
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#include "../base/intutil.h"
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
|
||||
@@ -345,4 +345,4 @@ Error BaseContext::compile(FuncNode* func) {
|
||||
} // asmjit namespace
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#include "../base/zone.h"
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
|
||||
@@ -272,7 +272,7 @@ struct BaseContext {
|
||||
} // asmjit namespace
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
// [Guard]
|
||||
#endif // _ASMJIT_BASE_CONTEXT_P_H
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
#endif // ASMJIT_OS_POSIX
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
|
||||
@@ -81,4 +81,4 @@ const BaseCpuInfo* BaseCpuInfo::getHost() {
|
||||
} // asmjit namespace
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#include "../base/globals.h"
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
|
||||
@@ -137,7 +137,7 @@ struct BaseCpuInfo {
|
||||
} // asmjit namespace
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
// [Guard]
|
||||
#endif // _ASMJIT_BASE_CPUINFO_H
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
#endif // ASMJIT_OS_MAC
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
|
||||
@@ -117,4 +117,4 @@ uint32_t CpuTicks::now() {
|
||||
} // asmjit namespace
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#include "../base/globals.h"
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
|
||||
@@ -32,7 +32,7 @@ struct CpuTicks {
|
||||
} // asmjit namespace
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
// [Guard]
|
||||
#endif // _ASMJIT_BASE_CPUTICKS_H
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
#include "../base/defs.h"
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
|
||||
@@ -24,4 +24,4 @@ const Operand noOperand;
|
||||
} // asmjit namespace
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#include "../base/intutil.h"
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
|
||||
@@ -1151,7 +1151,7 @@ struct Label : public Operand {
|
||||
} // asmjit namespace
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
// [Guard]
|
||||
#endif // _ASMJIT_BASE_DEFS_H
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#include "../base/intutil.h"
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
|
||||
@@ -66,4 +66,4 @@ const char* ErrorUtil::asString(Error e) {
|
||||
} // asmjit namespace
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#define _ASMJIT_BASE_ERROR_H
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
|
||||
@@ -190,7 +190,7 @@ struct ErrorUtil {
|
||||
} // asmjit namespace
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
// [Guard]
|
||||
#endif // _ASMJIT_BASE_ERROR_H
|
||||
|
||||
@@ -11,10 +11,10 @@
|
||||
#include "../base/func.h"
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
} // asmjit namespace
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#include "../base/globals.h"
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
|
||||
@@ -626,7 +626,7 @@ struct FuncBuilder10 : public FuncPrototype {
|
||||
} // asmjit namespace
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
// [Guard]
|
||||
#endif // _ASMJIT_BASE_FUNC_H
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
#include "../base/globals.h"
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
|
||||
@@ -27,4 +27,4 @@ void assertionFailed(const char* exp, const char* file, int line) {
|
||||
} // asmjit namespace
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#include "../build.h"
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
|
||||
@@ -139,7 +139,7 @@ template<typename T, typename Z>
|
||||
static ASMJIT_INLINE T asmjit_cast(Z* p) { return (T)p; }
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
// [Guard]
|
||||
#endif // _ASMJIT_BASE_GLOBALS_H
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
#endif // ASMJIT_OS_WINDOWS
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
|
||||
@@ -694,7 +694,7 @@ union UInt64 {
|
||||
} // asmjit namespace
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
// [Guard]
|
||||
#endif // _ASMJIT_BASE_INTUTIL_H
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
#endif // ASMJIT_OS_POSIX
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
|
||||
@@ -126,7 +126,7 @@ struct AutoLock {
|
||||
} // asmjit namespace
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
// [Guard]
|
||||
#endif // _ASMJIT_BASE_LOCK_H
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
#include <stdarg.h>
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
|
||||
@@ -157,4 +157,4 @@ void StringLogger::logString(uint32_t style, const char* buf, size_t len) {
|
||||
} // asmjit namespace
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
#include <stdarg.h>
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
|
||||
@@ -232,7 +232,7 @@ struct StringLogger : public BaseLogger {
|
||||
} // asmjit namespace
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
// [Guard]
|
||||
#endif // _ASMJIT_BASE_LOGGER_H
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
#include "../base/vmem.h"
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
// This file contains implementation of virtual memory management for AsmJit
|
||||
// library. The initial concept is to keep this implementation simple but
|
||||
@@ -1044,4 +1044,4 @@ void VirtualMemoryManager::setKeepVirtualMemory(bool keepVirtualMemory) {
|
||||
} // asmjit namespace
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#include "../base/error.h"
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
|
||||
@@ -163,7 +163,7 @@ struct VirtualMemoryManager : public MemoryManager {
|
||||
} // asmjit namespace
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
// [Guard]
|
||||
#endif // _ASMJIT_BASE_MEMORYMANAGER_H
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#include "../base/globals.h"
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
|
||||
@@ -111,7 +111,7 @@ struct PodList {
|
||||
} // asmjit namespace
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
// [Guard]
|
||||
#endif // _ASMJIT_BASE_PODLIST_H
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#include "../base/podvector.h"
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
|
||||
@@ -93,4 +93,4 @@ Error PodVectorBase::_reserve(size_t n, size_t sizeOfT) {
|
||||
} // asmjit namespace
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
#include "../base/globals.h"
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
|
||||
@@ -257,7 +257,7 @@ struct PodVector : PodVectorBase {
|
||||
} // asmjit namespace
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
// [Guard]
|
||||
#endif // _ASMJIT_BASE_PODVECTOR_H
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
#include "../base/runtime.h"
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
|
||||
@@ -110,4 +110,4 @@ Error JitRuntime::release(void* p) {
|
||||
} // asmjit namespace
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#include "../base/error.h"
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
|
||||
@@ -127,7 +127,7 @@ struct JitRuntime : public BaseRuntime {
|
||||
} // asmjit namespace
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
// [Guard]
|
||||
#endif // _ASMJIT_BASE_RUNTIME_H
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#include "../base/string.h"
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
|
||||
@@ -372,4 +372,4 @@ bool StringBuilder::eq(const char* str, size_t len) const {
|
||||
} // asmjit namespace
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
#include <stdarg.h>
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
|
||||
@@ -345,7 +345,7 @@ struct StringBuilderT : public StringBuilder {
|
||||
} // asmjit namespace
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
// [Guard]
|
||||
#endif // _ASMJIT_BASE_STRING_H
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#include "../base/defs.h"
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
|
||||
@@ -1242,7 +1242,7 @@ union Vec256Data {
|
||||
} // asmjit namespace
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
// [Guard]
|
||||
#endif // _ASMJIT_BASE_VECTYPES_H
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#endif // ASMJIT_OS_POSIX
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
|
||||
@@ -142,4 +142,4 @@ size_t VMem::getPageSize() {
|
||||
} // asmjit namespace
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#define _ASMJIT_BASE_VMEM_H
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
|
||||
@@ -70,7 +70,7 @@ struct VMem {
|
||||
} // asmjit namespace
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
// [Guard]
|
||||
#endif // _ASMJIT_BASE_VMEM_H
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
#include <stdarg.h>
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
|
||||
@@ -171,4 +171,4 @@ char* Zone::sformat(const char* fmt, ...) {
|
||||
} // asmjit namespace
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#define _ASMJIT_BASE_ZONE_H
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
|
||||
@@ -184,7 +184,7 @@ struct Zone {
|
||||
} // asmjit namespace
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
// [Guard]
|
||||
#endif // _ASMJIT_BASE_ZONE_H
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
#include "../x86/x86defs.h"
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
namespace x86x64 {
|
||||
@@ -3754,7 +3754,7 @@ Error Assembler::_emit(uint32_t code, const Operand& o0, const Operand& o1, cons
|
||||
#endif // ASMJIT_BUILD_X64
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
// [Guard]
|
||||
#endif // ASMJIT_BUILD_X86 || ASMJIT_BUILD_X64
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#include "../x86/x86defs.h"
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
namespace x86x64 {
|
||||
@@ -5387,7 +5387,7 @@ struct Assembler : public X86X64Assembler {
|
||||
#undef INST_3i_
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
// [Guard]
|
||||
#endif // _ASMJIT_X86_X86ASSEMBLER_H
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include "../x86/x86context_p.h"
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
namespace x86x64 {
|
||||
@@ -652,7 +652,7 @@ Compiler::~Compiler() {}
|
||||
#endif // ASMJIT_BUILD_X64
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
// [Guard]
|
||||
#endif // ASMJIT_BUILD_X86 || ASMJIT_BUILD_X64
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
#include "../x86/x86func.h"
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
namespace x86x64 {
|
||||
@@ -4232,7 +4232,7 @@ struct Compiler : public X86X64Compiler {
|
||||
#undef INST_3i_
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
// [Guard]
|
||||
#endif // _ASMJIT_X86_X86COMPILER_H
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#include "../x86/x86func.h"
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
namespace x86x64 {
|
||||
@@ -5545,7 +5545,7 @@ Error X86X64Context::serialize(BaseAssembler* assembler, BaseNode* start, BaseNo
|
||||
} // asmjit namespace
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
// [Guard]
|
||||
#endif // ASMJIT_BUILD_X86 || ASMJIT_BUILD_X64
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
#include "../x86/x86defs.h"
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
namespace x86x64 {
|
||||
@@ -513,7 +513,7 @@ struct X86X64Context : public BaseContext {
|
||||
} // asmjit namespace
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
// [Guard]
|
||||
#endif // _ASMJIT_X86_X86CONTEXT_P_H
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
#endif // _MSC_VER >= 1400
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
namespace x86x64 {
|
||||
@@ -300,7 +300,7 @@ void hostCpuDetect(CpuInfo* cpuInfo) {
|
||||
} // asmjit namespace
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
// [Guard]
|
||||
#endif // ASMJIT_BUILD_X86 || ASMJIT_BUILD_X64
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#include "../base/defs.h"
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
namespace x86x64 {
|
||||
@@ -217,7 +217,7 @@ ASMJIT_API void hostCpuDetect(CpuInfo* cpuInfo);
|
||||
} // asmjit namespace
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
// [Guard]
|
||||
#endif // _ASMJIT_X86_X86CPUINFO_H
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
#include "../x86/x86defs.h"
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
namespace x86x64 {
|
||||
@@ -3333,7 +3333,7 @@ const YmmReg ymm15(kRegTypeYmm, kRegIndexYmm15, 32);
|
||||
|
||||
#endif // ASMJIT_BUILD_X64
|
||||
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
// [Guard]
|
||||
#endif // ASMJIT_BUILD_X86 || ASMJIT_BUILD_X64
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
#include "../base/vectypes.h"
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
namespace x86x64 {
|
||||
@@ -4196,7 +4196,7 @@ static ASMJIT_INLINE Mem intptr_ptr(const GpVar& base, const GpVar& index, uint3
|
||||
#endif // ASMJIT_BUILD_X64
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
// [Guard]
|
||||
#endif // _ASMJIT_X86_X86DEFS_H
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include "../x86/x86func.h"
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
namespace x86x64 {
|
||||
@@ -536,7 +536,7 @@ void X86X64FuncDecl::reset() {
|
||||
} // asmjit namespace
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
// [Guard]
|
||||
#endif // ASMJIT_BUILD_X86 || ASMJIT_BUILD_X64
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
#include "../x86/x86defs.h"
|
||||
|
||||
// [Api-Begin]
|
||||
#include "../base/apibegin.h"
|
||||
#include "../apibegin.h"
|
||||
|
||||
namespace asmjit {
|
||||
namespace x86x64 {
|
||||
@@ -487,7 +487,7 @@ struct X86X64FuncDecl : public FuncDecl {
|
||||
} // asmjit namespace
|
||||
|
||||
// [Api-End]
|
||||
#include "../base/apiend.h"
|
||||
#include "../apiend.h"
|
||||
|
||||
// [Guard]
|
||||
#endif // _ASMJIT_X86_X86FUNC_H
|
||||
|
||||
Reference in New Issue
Block a user