diff --git a/.travis.yml b/.travis.yml index 2a05d4e..347df59 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,8 +30,17 @@ matrix: - sourceline: "ppa:ubuntu-toolchain-r/test" packages: [clang++-9] + - name: "Linux Clang Default [64-bit] [REL] [Valgrind]" + env: BUILD_MATRIX="BUILD_TYPE=Release && CC=clang-9 && CXX=clang++-9" USE_VALGRIND=1 + os: linux + addons: + apt: + sources: + - sourceline: "ppa:ubuntu-toolchain-r/test" + packages: [clang++-9, valgrind] + - name: "Linux Clang Default [64-bit] [REL] [Sanitize=Address]" - env: BUILD_MATRIX="BUILD_TYPE=Release && CC=clang-9 && CXX=clang++-9" SANITIZE=address + env: BUILD_MATRIX="BUILD_TYPE=Release && CC=clang-9 && CXX=clang++-9" EXTRA_OPTIONS="-DASMJIT_SANITIZE=address" os: linux addons: apt: @@ -40,7 +49,7 @@ matrix: packages: [clang++-9] - name: "Linux Clang Default [64-bit] [REL] [Sanitize=Undefined]" - env: BUILD_MATRIX="BUILD_TYPE=Release && CC=clang-9 && CXX=clang++-9" SANITIZE=undefined + env: BUILD_MATRIX="BUILD_TYPE=Release && CC=clang-9 && CXX=clang++-9" EXTRA_OPTIONS="-DASMJIT_SANITIZE=undefined" os: linux addons: apt: @@ -48,20 +57,6 @@ matrix: - sourceline: "ppa:ubuntu-toolchain-r/test" packages: [clang++-9] - - name: "Linux GCC Default [64-bit] [DBG + Valgrind]" - env: BUILD_MATRIX="BUILD_TYPE=Debug" USE_VALGRIND=1 - os: linux - addons: - apt: - packages: [valgrind] - - - name: "Linux GCC Default [64-bit] [REL + Valgrind]" - env: BUILD_MATRIX="BUILD_TYPE=Release" USE_VALGRIND=1 - os: linux - addons: - apt: - packages: [valgrind] - - name: "Linux GCC 4.8 [32-bit] [DBG]" env: BUILD_MATRIX="BUILD_TYPE=Debug && CC=gcc-4.8 && CXX=g++-4.8" CXXFLAGS=-m32 LDFLAGS=-m32 os: linux @@ -76,77 +71,63 @@ matrix: apt: packages: [g++-4.8] - - name: "Linux GCC 5.X [32-bit] [DBG]" + - name: "Linux GCC 5 [32-bit] [DBG]" env: BUILD_MATRIX="BUILD_TYPE=Debug && CC=gcc-5 && CXX=g++-5" CXXFLAGS=-m32 LDFLAGS=-m32 os: linux addons: apt: packages: [g++-5, g++-5-multilib, "linux-libc-dev:i386"] - - name: "Linux GCC 5.X [64-bit] [DBG]" + - name: "Linux GCC 5 [64-bit] [DBG]" env: BUILD_MATRIX="BUILD_TYPE=Debug && CC=gcc-5 && CXX=g++-5" os: linux addons: apt: packages: [g++-5] - - name: "Linux GCC 6.X [32-bit] [DBG]" + - name: "Linux GCC 6 [32-bit] [DBG]" env: BUILD_MATRIX="BUILD_TYPE=Debug && CC=gcc-6 && CXX=g++-6" CXXFLAGS=-m32 LDFLAGS=-m32 os: linux addons: apt: packages: [g++-6, g++-6-multilib, "linux-libc-dev:i386"] - - name: "Linux GCC 6.X [64-bit] [DBG]" + - name: "Linux GCC 6 [64-bit] [DBG]" env: BUILD_MATRIX="BUILD_TYPE=Debug && CC=gcc-6 && CXX=g++-6" os: linux addons: apt: packages: [g++-6] - - name: "Linux GCC 7.X [32-bit] [DBG]" + - name: "Linux GCC 7 [32-bit] [DBG]" env: BUILD_MATRIX="BUILD_TYPE=Debug && CC=gcc-7 && CXX=g++-7" CXXFLAGS=-m32 LDFLAGS=-m32 os: linux addons: apt: packages: [g++-7, g++-7-multilib, "linux-libc-dev:i386"] - - name: "Linux GCC 7.X [64-bit] [DBG]" + - name: "Linux GCC 7 [64-bit] [DBG]" env: BUILD_MATRIX="BUILD_TYPE=Debug && CC=gcc-7 && CXX=g++-7" os: linux addons: apt: packages: [g++-7] - - name: "Linux GCC 8.X [32-bit] [DBG]" + - name: "Linux GCC 8 [32-bit] [DBG]" env: BUILD_MATRIX="BUILD_TYPE=Debug && CC=gcc-8 && CXX=g++-8" CXXFLAGS=-m32 LDFLAGS=-m32 os: linux addons: apt: packages: [g++-8, g++-8-multilib, "linux-libc-dev:i386"] - - name: "Linux GCC 8.X [32-bit] [REL]" - env: BUILD_MATRIX="BUILD_TYPE=Release && CC=gcc-8 && CXX=g++-8" CXXFLAGS=-m32 LDFLAGS=-m32 - os: linux - addons: - apt: - packages: [g++-8, g++-8-multilib, "linux-libc-dev:i386"] - - - name: "Linux GCC 8.X [64-bit] [DBG]" + - name: "Linux GCC 8 [64-bit] [DBG]" env: BUILD_MATRIX="BUILD_TYPE=Debug && CC=gcc-8 && CXX=g++-8" os: linux addons: apt: packages: [g++-8] - - name: "Linux GCC 8.X [64-bit] [REL]" - env: BUILD_MATRIX="BUILD_TYPE=Release && CC=gcc-8 && CXX=g++-8" - os: linux - addons: - apt: - packages: [g++-8] - - - name: "Linux GCC 9.X [32-bit] [DBG]" + - name: "Linux GCC 9 [32-bit] [DBG]" env: BUILD_MATRIX="BUILD_TYPE=Debug && CC=gcc-9 && CXX=g++-9" CXXFLAGS=-m32 LDFLAGS=-m32 os: linux addons: @@ -155,16 +136,7 @@ matrix: - sourceline: "ppa:ubuntu-toolchain-r/test" packages: [g++-9, g++-9-multilib, "linux-libc-dev:i386"] - - name: "Linux GCC 9.X [32-bit] [REL]" - env: BUILD_MATRIX="BUILD_TYPE=Release && CC=gcc-9 && CXX=g++-9" CXXFLAGS=-m32 LDFLAGS=-m32 - os: linux - addons: - apt: - sources: - - sourceline: "ppa:ubuntu-toolchain-r/test" - packages: [g++-9, g++-9-multilib, "linux-libc-dev:i386"] - - - name: "Linux GCC 9.X [64-bit] [DBG]" + - name: "Linux GCC 9 [64-bit] [DBG]" env: BUILD_MATRIX="BUILD_TYPE=Debug && CC=gcc-9 && CXX=g++-9" os: linux addons: @@ -173,14 +145,41 @@ matrix: - sourceline: "ppa:ubuntu-toolchain-r/test" packages: [g++-9] - - name: "Linux GCC 9.X [64-bit] [REL]" - env: BUILD_MATRIX="BUILD_TYPE=Release && CC=gcc-9 && CXX=g++-9" + - name: "Linux GCC 10 [32-bit] [DBG]" + env: BUILD_MATRIX="BUILD_TYPE=Debug && CC=gcc-10 && CXX=g++-10" CXXFLAGS=-m32 LDFLAGS=-m32 os: linux addons: apt: sources: - sourceline: "ppa:ubuntu-toolchain-r/test" - packages: [g++-9] + packages: [g++-10, g++-10-multilib, "linux-libc-dev:i386"] + + - name: "Linux GCC 10 [32-bit] [REL]" + env: BUILD_MATRIX="BUILD_TYPE=Release && CC=gcc-10 && CXX=g++-10" CXXFLAGS=-m32 LDFLAGS=-m32 + os: linux + addons: + apt: + sources: + - sourceline: "ppa:ubuntu-toolchain-r/test" + packages: [g++-10, g++-10-multilib, "linux-libc-dev:i386"] + + - name: "Linux GCC 10 [64-bit] [DBG]" + env: BUILD_MATRIX="BUILD_TYPE=Debug && CC=gcc-10 && CXX=g++-10" + os: linux + addons: + apt: + sources: + - sourceline: "ppa:ubuntu-toolchain-r/test" + packages: [g++-10] + + - name: "Linux GCC 10 [64-bit] [REL]" + env: BUILD_MATRIX="BUILD_TYPE=Release && CC=gcc-10 && CXX=g++-10" + os: linux + addons: + apt: + sources: + - sourceline: "ppa:ubuntu-toolchain-r/test" + packages: [g++-10] - name: "OSX Clang XCode 9.4 [32-bit] [DBG]" env: BUILD_MATRIX="BUILD_TYPE=Debug" CXXFLAGS=-m32 LDFLAGS=-m32 @@ -246,9 +245,9 @@ before_script: - cd build - | if [[ "$BUILD_TOOLCHAIN" =~ ^Visual\ Studio ]]; then - cmake .. -G"${BUILD_TOOLCHAIN}" -DASMJIT_TEST=1 -DASMJIT_SANITIZE="${SANITIZE}" + cmake .. -G"${BUILD_TOOLCHAIN}" -DASMJIT_TEST=1 ${EXTRA_OPTIONS} else - cmake .. -G"${BUILD_TOOLCHAIN}" -DASMJIT_TEST=1 -DASMJIT_SANITIZE="${SANITIZE}" -DCMAKE_PREFIX_PATH="${MINGW_PATH}" -DCMAKE_BUILD_TYPE="${BUILD_TYPE}" + cmake .. -G"${BUILD_TOOLCHAIN}" -DASMJIT_TEST=1 ${EXTRA_OPTIONS} -DCMAKE_PREFIX_PATH="${MINGW_PATH}" -DCMAKE_BUILD_TYPE="${BUILD_TYPE}" fi - cd .. diff --git a/LICENSE.md b/LICENSE.md index 054fb48..020a569 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,4 +1,4 @@ -Copyright (c) 2008-2019, Petr Kobalicek +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 diff --git a/README.md b/README.md index 60d0f02..57df043 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ AsmJit ------ -Complete x86/x64 JIT and AOT Assembler for C++. +Machine code generation for C++. * [Official Repository (asmjit/asmjit)](https://github.com/asmjit/asmjit) * [Official Blog (asmbits)](https://asmbits.blogspot.com/ncr) diff --git a/src/asmjit/asmjit.h b/src/asmjit/asmjit.h index 4428129..e543a63 100644 --- a/src/asmjit/asmjit.h +++ b/src/asmjit/asmjit.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_ASMJIT_H -#define _ASMJIT_ASMJIT_H +#ifndef ASMJIT_ASMJIT_H_INCLUDED +#define ASMJIT_ASMJIT_H_INCLUDED //! \mainpage API Reference //! @@ -38,4 +55,4 @@ #include "./arm.h" #endif -#endif // _ASMJIT_ASMJIT_H +#endif // ASMJIT_ASMJIT_H_INCLUDED diff --git a/src/asmjit/core.h b/src/asmjit/core.h index 4aaa579..f9a56fc 100644 --- a/src/asmjit/core.h +++ b/src/asmjit/core.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_CORE_H -#define _ASMJIT_CORE_H +#ifndef ASMJIT_CORE_H_INCLUDED +#define ASMJIT_CORE_H_INCLUDED //! \defgroup asmjit_core Core //! \brief Core API. @@ -82,4 +99,4 @@ #include "./core/zonestring.h" #include "./core/zonevector.h" -#endif // _ASMJIT_CORE_H +#endif // ASMJIT_CORE_H_INCLUDED diff --git a/src/asmjit/core/api-build_p.h b/src/asmjit/core/api-build_p.h index 2c7ef97..796c995 100644 --- a/src/asmjit/core/api-build_p.h +++ b/src/asmjit/core/api-build_p.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_CORE_API_BUILD_P_H -#define _ASMJIT_CORE_API_BUILD_P_H +#ifndef ASMJIT_CORE_API_BUILD_P_H_INCLUDED +#define ASMJIT_CORE_API_BUILD_P_H_INCLUDED #define ASMJIT_EXPORTS @@ -32,4 +49,4 @@ #include "../../../test/broken.h" #endif -#endif // _ASMJIT_CORE_API_BUILD_P_H +#endif // ASMJIT_CORE_API_BUILD_P_H_INCLUDED diff --git a/src/asmjit/core/api-config.h b/src/asmjit/core/api-config.h index 556f510..a70dc73 100644 --- a/src/asmjit/core/api-config.h +++ b/src/asmjit/core/api-config.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_CORE_API_CONFIG_H -#define _ASMJIT_CORE_API_CONFIG_H +#ifndef ASMJIT_CORE_API_CONFIG_H_INCLUDED +#define ASMJIT_CORE_API_CONFIG_H_INCLUDED // ============================================================================ // [asmjit::Version] @@ -537,4 +554,4 @@ #undef ASMJIT_CXX_MSC #undef ASMJIT_CXX_MAKE_VER -#endif // _ASMJIT_CORE_API_CONFIG_H +#endif // ASMJIT_CORE_API_CONFIG_H_INCLUDED diff --git a/src/asmjit/core/arch.cpp b/src/asmjit/core/arch.cpp index 0eabbaf..933858b 100644 --- a/src/asmjit/core/arch.cpp +++ b/src/asmjit/core/arch.cpp @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. #include "../core/api-build_p.h" #include "../core/arch.h" diff --git a/src/asmjit/core/arch.h b/src/asmjit/core/arch.h index fc1bcaa..53471e5 100644 --- a/src/asmjit/core/arch.h +++ b/src/asmjit/core/arch.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_CORE_ARCH_H -#define _ASMJIT_CORE_ARCH_H +#ifndef ASMJIT_CORE_ARCH_H_INCLUDED +#define ASMJIT_CORE_ARCH_H_INCLUDED #include "../core/globals.h" #include "../core/operand.h" @@ -184,4 +201,4 @@ struct ArchUtils { ASMJIT_END_NAMESPACE -#endif // _ASMJIT_CORE_ARCH_H +#endif // ASMJIT_CORE_ARCH_H_INCLUDED diff --git a/src/asmjit/core/assembler.cpp b/src/asmjit/core/assembler.cpp index 8590f09..ff4c303 100644 --- a/src/asmjit/core/assembler.cpp +++ b/src/asmjit/core/assembler.cpp @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. #include "../core/api-build_p.h" #include "../core/assembler.h" diff --git a/src/asmjit/core/assembler.h b/src/asmjit/core/assembler.h index c3bc6ca..3f380c5 100644 --- a/src/asmjit/core/assembler.h +++ b/src/asmjit/core/assembler.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_CORE_ASSEMBLER_H -#define _ASMJIT_CORE_ASSEMBLER_H +#ifndef ASMJIT_CORE_ASSEMBLER_H_INCLUDED +#define ASMJIT_CORE_ASSEMBLER_H_INCLUDED #include "../core/codeholder.h" #include "../core/datatypes.h" @@ -162,4 +179,4 @@ public: ASMJIT_END_NAMESPACE -#endif // _ASMJIT_CORE_ASSEMBLER_H +#endif // ASMJIT_CORE_ASSEMBLER_H_INCLUDED diff --git a/src/asmjit/core/builder.cpp b/src/asmjit/core/builder.cpp index 5008f25..49397aa 100644 --- a/src/asmjit/core/builder.cpp +++ b/src/asmjit/core/builder.cpp @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. #include "../core/api-build_p.h" #ifndef ASMJIT_NO_BUILDER diff --git a/src/asmjit/core/builder.h b/src/asmjit/core/builder.h index aaf6bf8..a375771 100644 --- a/src/asmjit/core/builder.h +++ b/src/asmjit/core/builder.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_CORE_BUILDER_H -#define _ASMJIT_CORE_BUILDER_H +#ifndef ASMJIT_CORE_BUILDER_H_INCLUDED +#define ASMJIT_CORE_BUILDER_H_INCLUDED #include "../core/api-config.h" #ifndef ASMJIT_NO_BUILDER @@ -1275,4 +1292,4 @@ public: ASMJIT_END_NAMESPACE #endif // !ASMJIT_NO_BUILDER -#endif // _ASMJIT_CORE_BUILDER_H +#endif // ASMJIT_CORE_BUILDER_H_INCLUDED diff --git a/src/asmjit/core/callconv.cpp b/src/asmjit/core/callconv.cpp index 3872f91..3c0ac9e 100644 --- a/src/asmjit/core/callconv.cpp +++ b/src/asmjit/core/callconv.cpp @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. #include "../core/api-build_p.h" #include "../core/arch.h" diff --git a/src/asmjit/core/callconv.h b/src/asmjit/core/callconv.h index 723f812..9d63b84 100644 --- a/src/asmjit/core/callconv.h +++ b/src/asmjit/core/callconv.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_CORE_CALLCONV_H -#define _ASMJIT_CORE_CALLCONV_H +#ifndef ASMJIT_CORE_CALLCONV_H_INCLUDED +#define ASMJIT_CORE_CALLCONV_H_INCLUDED #include "../core/arch.h" #include "../core/operand.h" @@ -391,4 +408,4 @@ struct CallConv { ASMJIT_END_NAMESPACE -#endif // _ASMJIT_CORE_CALLCONV_H +#endif // ASMJIT_CORE_CALLCONV_H_INCLUDED diff --git a/src/asmjit/core/codebufferwriter_p.h b/src/asmjit/core/codebufferwriter_p.h index d6f44fc..ee75211 100644 --- a/src/asmjit/core/codebufferwriter_p.h +++ b/src/asmjit/core/codebufferwriter_p.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_CORE_CODEBUFFERWRITER_P_H -#define _ASMJIT_CORE_CODEBUFFERWRITER_P_H +#ifndef ASMJIT_CORE_CODEBUFFERWRITER_P_H_INCLUDED +#define ASMJIT_CORE_CODEBUFFERWRITER_P_H_INCLUDED #include "../core/assembler.h" #include "../core/support.h" @@ -168,4 +185,4 @@ public: ASMJIT_END_NAMESPACE -#endif // _ASMJIT_CORE_CODEBUFFERWRITER_P_H +#endif // ASMJIT_CORE_CODEBUFFERWRITER_P_H_INCLUDED diff --git a/src/asmjit/core/codeholder.cpp b/src/asmjit/core/codeholder.cpp index d662dfd..eddd496 100644 --- a/src/asmjit/core/codeholder.cpp +++ b/src/asmjit/core/codeholder.cpp @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. #include "../core/api-build_p.h" #include "../core/assembler.h" diff --git a/src/asmjit/core/codeholder.h b/src/asmjit/core/codeholder.h index 8bbe058..5f6a21d 100644 --- a/src/asmjit/core/codeholder.h +++ b/src/asmjit/core/codeholder.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_CORE_CODEHOLDER_H -#define _ASMJIT_CORE_CODEHOLDER_H +#ifndef ASMJIT_CORE_CODEHOLDER_H_INCLUDED +#define ASMJIT_CORE_CODEHOLDER_H_INCLUDED #include "../core/arch.h" #include "../core/datatypes.h" @@ -910,4 +927,4 @@ public: ASMJIT_END_NAMESPACE -#endif // _ASMJIT_CORE_CODEHOLDER_H +#endif // ASMJIT_CORE_CODEHOLDER_H_INCLUDED diff --git a/src/asmjit/core/compiler.cpp b/src/asmjit/core/compiler.cpp index 307c663..1053ee9 100644 --- a/src/asmjit/core/compiler.cpp +++ b/src/asmjit/core/compiler.cpp @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. #include "../core/api-build_p.h" #ifndef ASMJIT_NO_COMPILER @@ -468,8 +485,8 @@ Error BaseCompiler::setStackSize(uint32_t virtId, uint32_t newSize, uint32_t new // updated as well, otherwise we would allocate wrong amount of memory. RAWorkReg* workReg = vReg->_workReg; if (workReg && workReg->_stackSlot) { - workReg->_stackSlot->_size = vReg->virtSize(); - workReg->_stackSlot->_alignment = vReg->alignment(); + workReg->_stackSlot->_size = vReg->_virtSize; + workReg->_stackSlot->_alignment = vReg->_alignment; } return kErrorOk; diff --git a/src/asmjit/core/compiler.h b/src/asmjit/core/compiler.h index b4dd4a8..83eb992 100644 --- a/src/asmjit/core/compiler.h +++ b/src/asmjit/core/compiler.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_CORE_COMPILER_H -#define _ASMJIT_CORE_COMPILER_H +#ifndef ASMJIT_CORE_COMPILER_H_INCLUDED +#define ASMJIT_CORE_COMPILER_H_INCLUDED #include "../core/api-config.h" #ifndef ASMJIT_NO_COMPILER @@ -568,4 +585,4 @@ public: ASMJIT_END_NAMESPACE #endif // !ASMJIT_NO_COMPILER -#endif // _ASMJIT_CORE_COMPILER_H +#endif // ASMJIT_CORE_COMPILER_H_INCLUDED diff --git a/src/asmjit/core/constpool.cpp b/src/asmjit/core/constpool.cpp index 84f3c32..4db68e2 100644 --- a/src/asmjit/core/constpool.cpp +++ b/src/asmjit/core/constpool.cpp @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. #include "../core/api-build_p.h" #include "../core/constpool.h" diff --git a/src/asmjit/core/constpool.h b/src/asmjit/core/constpool.h index 0ff200e..259615f 100644 --- a/src/asmjit/core/constpool.h +++ b/src/asmjit/core/constpool.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_CORE_CONSTPOOL_H -#define _ASMJIT_CORE_CONSTPOOL_H +#ifndef ASMJIT_CORE_CONSTPOOL_H_INCLUDED +#define ASMJIT_CORE_CONSTPOOL_H_INCLUDED #include "../core/support.h" #include "../core/zone.h" @@ -237,4 +254,4 @@ public: ASMJIT_END_NAMESPACE -#endif // _ASMJIT_CORE_CONSTPOOL_H +#endif // ASMJIT_CORE_CONSTPOOL_H_INCLUDED diff --git a/src/asmjit/core/cpuinfo.cpp b/src/asmjit/core/cpuinfo.cpp index 1c0f2cf..ca8a20f 100644 --- a/src/asmjit/core/cpuinfo.cpp +++ b/src/asmjit/core/cpuinfo.cpp @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. #include "../core/api-build_p.h" #include "../core/cpuinfo.h" diff --git a/src/asmjit/core/cpuinfo.h b/src/asmjit/core/cpuinfo.h index cf9228f..d2defb9 100644 --- a/src/asmjit/core/cpuinfo.h +++ b/src/asmjit/core/cpuinfo.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_CORE_CPUINFO_H -#define _ASMJIT_CORE_CPUINFO_H +#ifndef ASMJIT_CORE_CPUINFO_H_INCLUDED +#define ASMJIT_CORE_CPUINFO_H_INCLUDED #include "../core/arch.h" #include "../core/features.h" @@ -132,4 +149,4 @@ public: ASMJIT_END_NAMESPACE -#endif // _ASMJIT_CORE_CPUINFO_H +#endif // ASMJIT_CORE_CPUINFO_H_INCLUDED diff --git a/src/asmjit/core/datatypes.h b/src/asmjit/core/datatypes.h index b262cab..bee4572 100644 --- a/src/asmjit/core/datatypes.h +++ b/src/asmjit/core/datatypes.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_CORE_DATATYPES_H -#define _ASMJIT_CORE_DATATYPES_H +#ifndef ASMJIT_CORE_DATATYPES_H_INCLUDED +#define ASMJIT_CORE_DATATYPES_H_INCLUDED #include "../core/globals.h" @@ -1053,4 +1070,4 @@ union Data256 { ASMJIT_END_NAMESPACE -#endif // _ASMJIT_CORE_DATATYPES_H +#endif // ASMJIT_CORE_DATATYPES_H_INCLUDED diff --git a/src/asmjit/core/emitter.cpp b/src/asmjit/core/emitter.cpp index 878d47b..5c6c8a6 100644 --- a/src/asmjit/core/emitter.cpp +++ b/src/asmjit/core/emitter.cpp @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. #include "../core/api-build_p.h" #include "../core/logging.h" diff --git a/src/asmjit/core/emitter.h b/src/asmjit/core/emitter.h index 4dbb667..5855584 100644 --- a/src/asmjit/core/emitter.h +++ b/src/asmjit/core/emitter.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_CORE_EMITTER_H -#define _ASMJIT_CORE_EMITTER_H +#ifndef ASMJIT_CORE_EMITTER_H_INCLUDED +#define ASMJIT_CORE_EMITTER_H_INCLUDED #include "../core/arch.h" #include "../core/inst.h" @@ -534,4 +551,4 @@ public: ASMJIT_END_NAMESPACE -#endif // _ASMJIT_CORE_EMITTER_H +#endif // ASMJIT_CORE_EMITTER_H_INCLUDED diff --git a/src/asmjit/core/features.h b/src/asmjit/core/features.h index ea17c6d..193841c 100644 --- a/src/asmjit/core/features.h +++ b/src/asmjit/core/features.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_CORE_FEATURES_H -#define _ASMJIT_CORE_FEATURES_H +#ifndef ASMJIT_CORE_FEATURES_H_INCLUDED +#define ASMJIT_CORE_FEATURES_H_INCLUDED #include "../core/globals.h" #include "../core/support.h" @@ -142,4 +159,4 @@ public: ASMJIT_END_NAMESPACE -#endif // _ASMJIT_CORE_FEATURES_H +#endif // ASMJIT_CORE_FEATURES_H_INCLUDED diff --git a/src/asmjit/core/func.cpp b/src/asmjit/core/func.cpp index 4a117de..9b1ad31 100644 --- a/src/asmjit/core/func.cpp +++ b/src/asmjit/core/func.cpp @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. #include "../core/api-build_p.h" #include "../core/arch.h" diff --git a/src/asmjit/core/func.h b/src/asmjit/core/func.h index f43702f..36ebf9b 100644 --- a/src/asmjit/core/func.h +++ b/src/asmjit/core/func.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_CORE_FUNC_H -#define _ASMJIT_CORE_FUNC_H +#ifndef ASMJIT_CORE_FUNC_H_INCLUDED +#define ASMJIT_CORE_FUNC_H_INCLUDED #include "../core/arch.h" #include "../core/callconv.h" @@ -945,5 +962,5 @@ public: ASMJIT_END_NAMESPACE -#endif // _ASMJIT_CORE_FUNC_H +#endif // ASMJIT_CORE_FUNC_H_INCLUDED diff --git a/src/asmjit/core/globals.cpp b/src/asmjit/core/globals.cpp index cbfd231..1fa3bd7 100644 --- a/src/asmjit/core/globals.cpp +++ b/src/asmjit/core/globals.cpp @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. #include "../core/api-build_p.h" #include "../core/globals.h" diff --git a/src/asmjit/core/globals.h b/src/asmjit/core/globals.h index bef57e0..3402f37 100644 --- a/src/asmjit/core/globals.h +++ b/src/asmjit/core/globals.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_CORE_GLOBALS_H -#define _ASMJIT_CORE_GLOBALS_H +#ifndef ASMJIT_CORE_GLOBALS_H_INCLUDED +#define ASMJIT_CORE_GLOBALS_H_INCLUDED #include "../core/api-config.h" @@ -401,4 +418,4 @@ ASMJIT_API void ASMJIT_NORETURN assertionFailed(const char* file, int line, cons ASMJIT_END_NAMESPACE -#endif // _ASMJIT_CORE_GLOBALS_H +#endif // ASMJIT_CORE_GLOBALS_H_INCLUDED diff --git a/src/asmjit/core/inst.cpp b/src/asmjit/core/inst.cpp index cdc147e..d89c29f 100644 --- a/src/asmjit/core/inst.cpp +++ b/src/asmjit/core/inst.cpp @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. #include "../core/api-build_p.h" #ifdef ASMJIT_BUILD_X86 diff --git a/src/asmjit/core/inst.h b/src/asmjit/core/inst.h index 9605b8b..59a9f73 100644 --- a/src/asmjit/core/inst.h +++ b/src/asmjit/core/inst.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_CORE_INST_H -#define _ASMJIT_CORE_INST_H +#ifndef ASMJIT_CORE_INST_H_INCLUDED +#define ASMJIT_CORE_INST_H_INCLUDED #include "../core/cpuinfo.h" #include "../core/operand.h" @@ -445,4 +462,4 @@ ASMJIT_API Error queryFeatures(uint32_t archId, const BaseInst& inst, const Oper ASMJIT_END_NAMESPACE -#endif // _ASMJIT_CORE_INST_H +#endif // ASMJIT_CORE_INST_H_INCLUDED diff --git a/src/asmjit/core/jitallocator.cpp b/src/asmjit/core/jitallocator.cpp index c1f0529..5547239 100644 --- a/src/asmjit/core/jitallocator.cpp +++ b/src/asmjit/core/jitallocator.cpp @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. #include "../core/api-build_p.h" #ifndef ASMJIT_NO_JIT diff --git a/src/asmjit/core/jitallocator.h b/src/asmjit/core/jitallocator.h index 4aa83b4..111716e 100644 --- a/src/asmjit/core/jitallocator.h +++ b/src/asmjit/core/jitallocator.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_CORE_JITALLOCATOR_H -#define _ASMJIT_CORE_JITALLOCATOR_H +#ifndef ASMJIT_CORE_JITALLOCATOR_H_INCLUDED +#define ASMJIT_CORE_JITALLOCATOR_H_INCLUDED #include "../core/api-config.h" #ifndef ASMJIT_NO_JIT diff --git a/src/asmjit/core/jitruntime.cpp b/src/asmjit/core/jitruntime.cpp index c3fd1e8..0f12e69 100644 --- a/src/asmjit/core/jitruntime.cpp +++ b/src/asmjit/core/jitruntime.cpp @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. #include "../core/api-build_p.h" #ifndef ASMJIT_NO_JIT diff --git a/src/asmjit/core/jitruntime.h b/src/asmjit/core/jitruntime.h index 7a1798e..97f26e7 100644 --- a/src/asmjit/core/jitruntime.h +++ b/src/asmjit/core/jitruntime.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_CORE_JITRUNTIME_H -#define _ASMJIT_CORE_JITRUNTIME_H +#ifndef ASMJIT_CORE_JITRUNTIME_H_INCLUDED +#define ASMJIT_CORE_JITRUNTIME_H_INCLUDED #include "../core/api-config.h" #ifndef ASMJIT_NO_JIT diff --git a/src/asmjit/core/logging.cpp b/src/asmjit/core/logging.cpp index 6238deb..40e9aaf 100644 --- a/src/asmjit/core/logging.cpp +++ b/src/asmjit/core/logging.cpp @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. #include "../core/api-build_p.h" #ifndef ASMJIT_NO_LOGGING diff --git a/src/asmjit/core/logging.h b/src/asmjit/core/logging.h index 9a4c048..a098c6b 100644 --- a/src/asmjit/core/logging.h +++ b/src/asmjit/core/logging.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_CORE_LOGGING_H -#define _ASMJIT_CORE_LOGGING_H +#ifndef ASMJIT_CORE_LOGGING_H_INCLUDED +#define ASMJIT_CORE_LOGGING_H_INCLUDED #include "../core/inst.h" #include "../core/string.h" @@ -335,4 +352,4 @@ struct Logging { ASMJIT_END_NAMESPACE -#endif // _ASMJIT_CORE_LOGGER_H +#endif // ASMJIT_CORE_LOGGER_H_INCLUDED diff --git a/src/asmjit/core/misc_p.h b/src/asmjit/core/misc_p.h index a23830a..916ca9d 100644 --- a/src/asmjit/core/misc_p.h +++ b/src/asmjit/core/misc_p.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_CORE_MISC_P_H -#define _ASMJIT_CORE_MISC_P_H +#ifndef ASMJIT_CORE_MISC_P_H_INCLUDED +#define ASMJIT_CORE_MISC_P_H_INCLUDED #include "../core/api-config.h" @@ -29,4 +46,4 @@ ASMJIT_BEGIN_NAMESPACE ASMJIT_END_NAMESPACE -#endif // _ASMJIT_CORE_MISC_P_H +#endif // ASMJIT_CORE_MISC_P_H_INCLUDED diff --git a/src/asmjit/core/operand.cpp b/src/asmjit/core/operand.cpp index 92fba59..9cd1772 100644 --- a/src/asmjit/core/operand.cpp +++ b/src/asmjit/core/operand.cpp @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. #include "../core/api-build_p.h" #include "../core/operand.h" diff --git a/src/asmjit/core/operand.h b/src/asmjit/core/operand.h index 5d88172..e7a71c9 100644 --- a/src/asmjit/core/operand.h +++ b/src/asmjit/core/operand.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_CORE_OPERAND_H -#define _ASMJIT_CORE_OPERAND_H +#ifndef ASMJIT_CORE_OPERAND_H_INCLUDED +#define ASMJIT_CORE_OPERAND_H_INCLUDED #include "../core/support.h" @@ -1338,4 +1355,4 @@ static constexpr Imm imm(T val) noexcept { ASMJIT_END_NAMESPACE -#endif // _ASMJIT_CORE_OPERAND_H +#endif // ASMJIT_CORE_OPERAND_H_INCLUDED diff --git a/src/asmjit/core/osutils.cpp b/src/asmjit/core/osutils.cpp index c62ef8b..e2f34ef 100644 --- a/src/asmjit/core/osutils.cpp +++ b/src/asmjit/core/osutils.cpp @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. #include "../core/api-build_p.h" #include "../core/osutils.h" diff --git a/src/asmjit/core/osutils.h b/src/asmjit/core/osutils.h index 887bef7..b9a2df4 100644 --- a/src/asmjit/core/osutils.h +++ b/src/asmjit/core/osutils.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_CORE_OSUTILS_H -#define _ASMJIT_CORE_OSUTILS_H +#ifndef ASMJIT_CORE_OSUTILS_H_INCLUDED +#define ASMJIT_CORE_OSUTILS_H_INCLUDED #include "../core/globals.h" @@ -119,4 +136,4 @@ struct LockGuard { ASMJIT_END_NAMESPACE -#endif // _ASMJIT_CORE_OSUTILS_H +#endif // ASMJIT_CORE_OSUTILS_H_INCLUDED diff --git a/src/asmjit/core/raassignment_p.h b/src/asmjit/core/raassignment_p.h index 1ca0df4..c1afe8a 100644 --- a/src/asmjit/core/raassignment_p.h +++ b/src/asmjit/core/raassignment_p.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_CORE_RAASSIGNMENT_P_H -#define _ASMJIT_CORE_RAASSIGNMENT_P_H +#ifndef ASMJIT_CORE_RAASSIGNMENT_P_H_INCLUDED +#define ASMJIT_CORE_RAASSIGNMENT_P_H_INCLUDED #include "../core/api-config.h" #ifndef ASMJIT_NO_COMPILER @@ -381,4 +398,4 @@ public: ASMJIT_END_NAMESPACE #endif // !ASMJIT_NO_COMPILER -#endif // _ASMJIT_CORE_RAASSIGNMENT_P_H +#endif // ASMJIT_CORE_RAASSIGNMENT_P_H_INCLUDED diff --git a/src/asmjit/core/rabuilders_p.h b/src/asmjit/core/rabuilders_p.h index 2b5e8af..a24c1ce 100644 --- a/src/asmjit/core/rabuilders_p.h +++ b/src/asmjit/core/rabuilders_p.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_CORE_RABUILDERS_P_H -#define _ASMJIT_CORE_RABUILDERS_P_H +#ifndef ASMJIT_CORE_RABUILDERS_P_H_INCLUDED +#define ASMJIT_CORE_RABUILDERS_P_H_INCLUDED #include "../core/api-config.h" #ifndef ASMJIT_NO_COMPILER @@ -417,4 +434,4 @@ public: ASMJIT_END_NAMESPACE #endif // !ASMJIT_NO_COMPILER -#endif // _ASMJIT_CORE_RABUILDERS_P_H +#endif // ASMJIT_CORE_RABUILDERS_P_H_INCLUDED diff --git a/src/asmjit/core/radefs_p.h b/src/asmjit/core/radefs_p.h index a7b146d..f7ab6bc 100644 --- a/src/asmjit/core/radefs_p.h +++ b/src/asmjit/core/radefs_p.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_CORE_RADEFS_P_H -#define _ASMJIT_CORE_RADEFS_P_H +#ifndef ASMJIT_CORE_RADEFS_P_H_INCLUDED +#define ASMJIT_CORE_RADEFS_P_H_INCLUDED #include "../core/api-config.h" #ifndef ASMJIT_NO_COMPILER @@ -1074,4 +1091,4 @@ public: ASMJIT_END_NAMESPACE #endif // !ASMJIT_NO_COMPILER -#endif // _ASMJIT_CORE_RADEFS_P_H +#endif // ASMJIT_CORE_RADEFS_P_H_INCLUDED diff --git a/src/asmjit/core/ralocal.cpp b/src/asmjit/core/ralocal.cpp index 1c5008d..8cdab9d 100644 --- a/src/asmjit/core/ralocal.cpp +++ b/src/asmjit/core/ralocal.cpp @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. #include "../core/api-build_p.h" #ifndef ASMJIT_NO_COMPILER diff --git a/src/asmjit/core/ralocal_p.h b/src/asmjit/core/ralocal_p.h index d06f228..b3217ae 100644 --- a/src/asmjit/core/ralocal_p.h +++ b/src/asmjit/core/ralocal_p.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_CORE_RALOCAL_P_H -#define _ASMJIT_CORE_RALOCAL_P_H +#ifndef ASMJIT_CORE_RALOCAL_P_H_INCLUDED +#define ASMJIT_CORE_RALOCAL_P_H_INCLUDED #include "../core/api-config.h" #ifndef ASMJIT_NO_COMPILER @@ -254,4 +271,4 @@ public: ASMJIT_END_NAMESPACE #endif // !ASMJIT_NO_COMPILER -#endif // _ASMJIT_CORE_RALOCAL_P_H +#endif // ASMJIT_CORE_RALOCAL_P_H_INCLUDED diff --git a/src/asmjit/core/rapass.cpp b/src/asmjit/core/rapass.cpp index 129a1d5..3edc609 100644 --- a/src/asmjit/core/rapass.cpp +++ b/src/asmjit/core/rapass.cpp @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. #include "../core/api-build_p.h" #ifndef ASMJIT_NO_COMPILER diff --git a/src/asmjit/core/rapass_p.h b/src/asmjit/core/rapass_p.h index 0fba4a1..654ad42 100644 --- a/src/asmjit/core/rapass_p.h +++ b/src/asmjit/core/rapass_p.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_CORE_RAPASS_P_H -#define _ASMJIT_CORE_RAPASS_P_H +#ifndef ASMJIT_CORE_RAPASS_P_H_INCLUDED +#define ASMJIT_CORE_RAPASS_P_H_INCLUDED #include "../core/api-config.h" #ifndef ASMJIT_NO_COMPILER @@ -1063,4 +1080,4 @@ inline ZoneAllocator* RABlock::allocator() const noexcept { return _ra->allocato ASMJIT_END_NAMESPACE #endif // !ASMJIT_NO_COMPILER -#endif // _ASMJIT_CORE_RAPASS_P_H +#endif // ASMJIT_CORE_RAPASS_P_H_INCLUDED diff --git a/src/asmjit/core/rastack.cpp b/src/asmjit/core/rastack.cpp index 3652ae7..342b7ce 100644 --- a/src/asmjit/core/rastack.cpp +++ b/src/asmjit/core/rastack.cpp @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. #include "../core/api-build_p.h" #ifndef ASMJIT_NO_COMPILER diff --git a/src/asmjit/core/rastack_p.h b/src/asmjit/core/rastack_p.h index 4f8cf22..d45f7aa 100644 --- a/src/asmjit/core/rastack_p.h +++ b/src/asmjit/core/rastack_p.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_CORE_RASTACK_P_H -#define _ASMJIT_CORE_RASTACK_P_H +#ifndef ASMJIT_CORE_RASTACK_P_H_INCLUDED +#define ASMJIT_CORE_RASTACK_P_H_INCLUDED #include "../core/api-config.h" #ifndef ASMJIT_NO_COMPILER @@ -163,4 +180,4 @@ public: ASMJIT_END_NAMESPACE #endif // !ASMJIT_NO_COMPILER -#endif // _ASMJIT_CORE_RASTACK_P_H +#endif // ASMJIT_CORE_RASTACK_P_H_INCLUDED diff --git a/src/asmjit/core/string.cpp b/src/asmjit/core/string.cpp index 3963223..564a566 100644 --- a/src/asmjit/core/string.cpp +++ b/src/asmjit/core/string.cpp @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. #include "../core/api-build_p.h" #include "../core/string.h" diff --git a/src/asmjit/core/string.h b/src/asmjit/core/string.h index 3d6a3d8..22108f2 100644 --- a/src/asmjit/core/string.h +++ b/src/asmjit/core/string.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_CORE_STRING_H -#define _ASMJIT_CORE_STRING_H +#ifndef ASMJIT_CORE_STRING_H_INCLUDED +#define ASMJIT_CORE_STRING_H_INCLUDED #include "../core/support.h" #include "../core/zone.h" @@ -332,4 +349,4 @@ union FixedString { ASMJIT_END_NAMESPACE -#endif // _ASMJIT_CORE_STRING_H +#endif // ASMJIT_CORE_STRING_H_INCLUDED diff --git a/src/asmjit/core/support.cpp b/src/asmjit/core/support.cpp index fb0557c..6b7e085 100644 --- a/src/asmjit/core/support.cpp +++ b/src/asmjit/core/support.cpp @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. #include "../core/api-build_p.h" #include "../core/support.h" diff --git a/src/asmjit/core/support.h b/src/asmjit/core/support.h index a05e7c6..2d3c381 100644 --- a/src/asmjit/core/support.h +++ b/src/asmjit/core/support.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_CORE_SUPPORT_H -#define _ASMJIT_CORE_SUPPORT_H +#ifndef ASMJIT_CORE_SUPPORT_H_INCLUDED +#define ASMJIT_CORE_SUPPORT_H_INCLUDED #include "../core/globals.h" @@ -1387,4 +1404,4 @@ struct Temporary { ASMJIT_END_NAMESPACE -#endif // _ASMJIT_CORE_SUPPORT_H +#endif // ASMJIT_CORE_SUPPORT_H_INCLUDED diff --git a/src/asmjit/core/target.cpp b/src/asmjit/core/target.cpp index 87b6573..ad120b4 100644 --- a/src/asmjit/core/target.cpp +++ b/src/asmjit/core/target.cpp @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. #include "../core/api-build_p.h" #include "../core/target.h" diff --git a/src/asmjit/core/target.h b/src/asmjit/core/target.h index 6f9821e..f3da0e5 100644 --- a/src/asmjit/core/target.h +++ b/src/asmjit/core/target.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_CORE_TARGET_H -#define _ASMJIT_CORE_TARGET_H +#ifndef ASMJIT_CORE_TARGET_H_INCLUDED +#define ASMJIT_CORE_TARGET_H_INCLUDED #include "../core/arch.h" #include "../core/func.h" @@ -190,4 +207,4 @@ public: ASMJIT_END_NAMESPACE -#endif // _ASMJIT_CORE_TARGET_H +#endif // ASMJIT_CORE_TARGET_H_INCLUDED diff --git a/src/asmjit/core/type.cpp b/src/asmjit/core/type.cpp index 7f195ed..67662db 100644 --- a/src/asmjit/core/type.cpp +++ b/src/asmjit/core/type.cpp @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. #include "../core/api-build_p.h" #include "../core/misc_p.h" diff --git a/src/asmjit/core/type.h b/src/asmjit/core/type.h index bb4c885..59a17e9 100644 --- a/src/asmjit/core/type.h +++ b/src/asmjit/core/type.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_CORE_TYPE_H -#define _ASMJIT_CORE_TYPE_H +#ifndef ASMJIT_CORE_TYPE_H_INCLUDED +#define ASMJIT_CORE_TYPE_H_INCLUDED #include "../core/globals.h" @@ -378,4 +395,4 @@ ASMJIT_DEFINE_TYPE_ID(F64 , kIdF64); ASMJIT_END_NAMESPACE -#endif // _ASMJIT_CORE_TYPE_H +#endif // ASMJIT_CORE_TYPE_H_INCLUDED diff --git a/src/asmjit/core/virtmem.cpp b/src/asmjit/core/virtmem.cpp index ee40b28..05dce78 100644 --- a/src/asmjit/core/virtmem.cpp +++ b/src/asmjit/core/virtmem.cpp @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. #include "../core/api-build_p.h" #ifndef ASMJIT_NO_JIT diff --git a/src/asmjit/core/virtmem.h b/src/asmjit/core/virtmem.h index 7174c96..a37005d 100644 --- a/src/asmjit/core/virtmem.h +++ b/src/asmjit/core/virtmem.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_CORE_VIRTMEM_H -#define _ASMJIT_CORE_VIRTMEM_H +#ifndef ASMJIT_CORE_VIRTMEM_H_INCLUDED +#define ASMJIT_CORE_VIRTMEM_H_INCLUDED #include "../core/api-config.h" #ifndef ASMJIT_NO_JIT @@ -125,4 +142,4 @@ ASMJIT_API Error releaseDualMapping(DualMapping* dm, size_t size) noexcept; ASMJIT_END_NAMESPACE #endif -#endif // _ASMJIT_CORE_VIRTMEM_H +#endif // ASMJIT_CORE_VIRTMEM_H_INCLUDED diff --git a/src/asmjit/core/zone.cpp b/src/asmjit/core/zone.cpp index 58204bd..4c48a74 100644 --- a/src/asmjit/core/zone.cpp +++ b/src/asmjit/core/zone.cpp @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. #include "../core/api-build_p.h" #include "../core/support.h" diff --git a/src/asmjit/core/zone.h b/src/asmjit/core/zone.h index 00abd85..c426f78 100644 --- a/src/asmjit/core/zone.h +++ b/src/asmjit/core/zone.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_CORE_ZONE_H -#define _ASMJIT_CORE_ZONE_H +#ifndef ASMJIT_CORE_ZONE_H_INCLUDED +#define ASMJIT_CORE_ZONE_H_INCLUDED #include "../core/support.h" @@ -622,4 +639,4 @@ public: ASMJIT_END_NAMESPACE -#endif // _ASMJIT_CORE_ZONE_H +#endif // ASMJIT_CORE_ZONE_H_INCLUDED diff --git a/src/asmjit/core/zonehash.cpp b/src/asmjit/core/zonehash.cpp index d6b0662..bfe4d78 100644 --- a/src/asmjit/core/zonehash.cpp +++ b/src/asmjit/core/zonehash.cpp @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. #include "../core/api-build_p.h" #include "../core/support.h" diff --git a/src/asmjit/core/zonehash.h b/src/asmjit/core/zonehash.h index 79d2a47..bdc1da7 100644 --- a/src/asmjit/core/zonehash.h +++ b/src/asmjit/core/zonehash.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_CORE_ZONEHASH_H -#define _ASMJIT_CORE_ZONEHASH_H +#ifndef ASMJIT_CORE_ZONEHASH_H_INCLUDED +#define ASMJIT_CORE_ZONEHASH_H_INCLUDED #include "../core/zone.h" @@ -197,4 +214,4 @@ public: ASMJIT_END_NAMESPACE -#endif // _ASMJIT_CORE_ZONEHASH_H +#endif // ASMJIT_CORE_ZONEHASH_H_INCLUDED diff --git a/src/asmjit/core/zonelist.cpp b/src/asmjit/core/zonelist.cpp index 2f8e427..3496aa8 100644 --- a/src/asmjit/core/zonelist.cpp +++ b/src/asmjit/core/zonelist.cpp @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. #include "../core/api-build_p.h" #include "../core/zone.h" diff --git a/src/asmjit/core/zonelist.h b/src/asmjit/core/zonelist.h index b26c6c1..9d300b0 100644 --- a/src/asmjit/core/zonelist.h +++ b/src/asmjit/core/zonelist.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_CORE_ZONELIST_H -#define _ASMJIT_CORE_ZONELIST_H +#ifndef ASMJIT_CORE_ZONELIST_H_INCLUDED +#define ASMJIT_CORE_ZONELIST_H_INCLUDED #include "../core/support.h" @@ -183,4 +200,4 @@ public: ASMJIT_END_NAMESPACE -#endif // _ASMJIT_CORE_ZONELIST_H +#endif // ASMJIT_CORE_ZONELIST_H_INCLUDED diff --git a/src/asmjit/core/zonestack.cpp b/src/asmjit/core/zonestack.cpp index 11937f1..52841b5 100644 --- a/src/asmjit/core/zonestack.cpp +++ b/src/asmjit/core/zonestack.cpp @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. #include "../core/api-build_p.h" #include "../core/zone.h" diff --git a/src/asmjit/core/zonestack.h b/src/asmjit/core/zonestack.h index a59e054..3c7b5ce 100644 --- a/src/asmjit/core/zonestack.h +++ b/src/asmjit/core/zonestack.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_CORE_ZONESTACK_H -#define _ASMJIT_CORE_ZONESTACK_H +#ifndef ASMJIT_CORE_ZONESTACK_H_INCLUDED +#define ASMJIT_CORE_ZONESTACK_H_INCLUDED #include "../core/zone.h" @@ -214,4 +231,4 @@ public: ASMJIT_END_NAMESPACE -#endif // _ASMJIT_CORE_ZONESTACK_H +#endif // ASMJIT_CORE_ZONESTACK_H_INCLUDED diff --git a/src/asmjit/core/zonestring.h b/src/asmjit/core/zonestring.h index 18bee43..dfb06b4 100644 --- a/src/asmjit/core/zonestring.h +++ b/src/asmjit/core/zonestring.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_CORE_SMALLSTRING_H -#define _ASMJIT_CORE_SMALLSTRING_H +#ifndef ASMJIT_CORE_SMALLSTRING_H_INCLUDED +#define ASMJIT_CORE_SMALLSTRING_H_INCLUDED #include "../core/globals.h" #include "../core/zone.h" @@ -105,4 +122,4 @@ public: ASMJIT_END_NAMESPACE -#endif // _ASMJIT_CORE_SMALLSTRING_H +#endif // ASMJIT_CORE_SMALLSTRING_H_INCLUDED diff --git a/src/asmjit/core/zonetree.cpp b/src/asmjit/core/zonetree.cpp index 55a85ed..a16f092 100644 --- a/src/asmjit/core/zonetree.cpp +++ b/src/asmjit/core/zonetree.cpp @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. #include "../core/api-build_p.h" #include "../core/support.h" diff --git a/src/asmjit/core/zonetree.h b/src/asmjit/core/zonetree.h index b34f732..6cb88ed 100644 --- a/src/asmjit/core/zonetree.h +++ b/src/asmjit/core/zonetree.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_CORE_ZONETREE_H -#define _ASMJIT_CORE_ZONETREE_H +#ifndef ASMJIT_CORE_ZONETREE_H_INCLUDED +#define ASMJIT_CORE_ZONETREE_H_INCLUDED #include "../core/support.h" @@ -365,4 +382,4 @@ public: ASMJIT_END_NAMESPACE -#endif // _ASMJIT_CORE_ZONETREE_H +#endif // ASMJIT_CORE_ZONETREE_H_INCLUDED diff --git a/src/asmjit/core/zonevector.cpp b/src/asmjit/core/zonevector.cpp index c942847..7ab53bf 100644 --- a/src/asmjit/core/zonevector.cpp +++ b/src/asmjit/core/zonevector.cpp @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. #include "../core/api-build_p.h" #include "../core/support.h" diff --git a/src/asmjit/core/zonevector.h b/src/asmjit/core/zonevector.h index 713a74e..7ee04ce 100644 --- a/src/asmjit/core/zonevector.h +++ b/src/asmjit/core/zonevector.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_CORE_ZONEVECTOR_H -#define _ASMJIT_CORE_ZONEVECTOR_H +#ifndef ASMJIT_CORE_ZONEVECTOR_H_INCLUDED +#define ASMJIT_CORE_ZONEVECTOR_H_INCLUDED #include "../core/support.h" #include "../core/zone.h" @@ -679,4 +696,4 @@ public: ASMJIT_END_NAMESPACE -#endif // _ASMJIT_CORE_ZONEVECTOR_H +#endif // ASMJIT_CORE_ZONEVECTOR_H_INCLUDED diff --git a/src/asmjit/x86.h b/src/asmjit/x86.h index a5ce6f5..161b3be 100644 --- a/src/asmjit/x86.h +++ b/src/asmjit/x86.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_X86_H -#define _ASMJIT_X86_H +#ifndef ASMJIT_X86_H_INCLUDED +#define ASMJIT_X86_H_INCLUDED //! \defgroup asmjit_x86 X86 //! @@ -22,4 +39,4 @@ #include "./x86/x86instdb.h" #include "./x86/x86operand.h" -#endif // _ASMJIT_X86_H +#endif // ASMJIT_X86_H_INCLUDED diff --git a/src/asmjit/x86/x86assembler.cpp b/src/asmjit/x86/x86assembler.cpp index 3be3a4d..bdcc92a 100644 --- a/src/asmjit/x86/x86assembler.cpp +++ b/src/asmjit/x86/x86assembler.cpp @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. #include "../core/api-build_p.h" #ifdef ASMJIT_BUILD_X86 diff --git a/src/asmjit/x86/x86assembler.h b/src/asmjit/x86/x86assembler.h index bf880ee..3e3027b 100644 --- a/src/asmjit/x86/x86assembler.h +++ b/src/asmjit/x86/x86assembler.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_X86_X86ASSEMBLER_H -#define _ASMJIT_X86_X86ASSEMBLER_H +#ifndef ASMJIT_X86_X86ASSEMBLER_H_INCLUDED +#define ASMJIT_X86_X86ASSEMBLER_H_INCLUDED #include "../core/assembler.h" #include "../x86/x86emitter.h" @@ -82,4 +99,4 @@ public: ASMJIT_END_SUB_NAMESPACE -#endif // _ASMJIT_X86_X86ASSEMBLER_H +#endif // ASMJIT_X86_X86ASSEMBLER_H_INCLUDED diff --git a/src/asmjit/x86/x86builder.cpp b/src/asmjit/x86/x86builder.cpp index a2f2747..59d3336 100644 --- a/src/asmjit/x86/x86builder.cpp +++ b/src/asmjit/x86/x86builder.cpp @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. #include "../core/api-build_p.h" #if defined(ASMJIT_BUILD_X86) && !defined(ASMJIT_NO_COMPILER) diff --git a/src/asmjit/x86/x86builder.h b/src/asmjit/x86/x86builder.h index 9426389..66e2dfc 100644 --- a/src/asmjit/x86/x86builder.h +++ b/src/asmjit/x86/x86builder.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_X86_X86BUILDER_H -#define _ASMJIT_X86_X86BUILDER_H +#ifndef ASMJIT_X86_X86BUILDER_H_INCLUDED +#define ASMJIT_X86_X86BUILDER_H_INCLUDED #include "../core/api-config.h" #ifndef ASMJIT_NO_BUILDER @@ -59,4 +76,4 @@ public: ASMJIT_END_SUB_NAMESPACE #endif // !ASMJIT_NO_BUILDER -#endif // _ASMJIT_X86_X86BUILDER_H +#endif // ASMJIT_X86_X86BUILDER_H_INCLUDED diff --git a/src/asmjit/x86/x86callconv.cpp b/src/asmjit/x86/x86callconv.cpp index 4f70eb6..7ec4c55 100644 --- a/src/asmjit/x86/x86callconv.cpp +++ b/src/asmjit/x86/x86callconv.cpp @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. #include "../core/api-build_p.h" #ifdef ASMJIT_BUILD_X86 diff --git a/src/asmjit/x86/x86callconv_p.h b/src/asmjit/x86/x86callconv_p.h index 38f13bd..5fc2113 100644 --- a/src/asmjit/x86/x86callconv_p.h +++ b/src/asmjit/x86/x86callconv_p.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_X86_X86CALLCONV_P_H -#define _ASMJIT_X86_X86CALLCONV_P_H +#ifndef ASMJIT_X86_X86CALLCONV_P_H_INCLUDED +#define ASMJIT_X86_X86CALLCONV_P_H_INCLUDED #include "../core/callconv.h" @@ -30,4 +47,4 @@ namespace CallConvInternal { ASMJIT_END_SUB_NAMESPACE -#endif // _ASMJIT_X86_X86CALLCONV_P_H +#endif // ASMJIT_X86_X86CALLCONV_P_H_INCLUDED diff --git a/src/asmjit/x86/x86compiler.cpp b/src/asmjit/x86/x86compiler.cpp index cd5deb9..910ed5e 100644 --- a/src/asmjit/x86/x86compiler.cpp +++ b/src/asmjit/x86/x86compiler.cpp @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. #include "../core/api-build_p.h" #if defined(ASMJIT_BUILD_X86) && !defined(ASMJIT_NO_COMPILER) diff --git a/src/asmjit/x86/x86compiler.h b/src/asmjit/x86/x86compiler.h index 4f3519d..7c22dfb 100644 --- a/src/asmjit/x86/x86compiler.h +++ b/src/asmjit/x86/x86compiler.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_X86_X86COMPILER_H -#define _ASMJIT_X86_X86COMPILER_H +#ifndef ASMJIT_X86_X86COMPILER_H_INCLUDED +#define ASMJIT_X86_X86COMPILER_H_INCLUDED #include "../core/api-config.h" #ifndef ASMJIT_NO_COMPILER @@ -257,4 +274,4 @@ public: ASMJIT_END_SUB_NAMESPACE #endif // !ASMJIT_NO_COMPILER -#endif // _ASMJIT_X86_X86COMPILER_H +#endif // ASMJIT_X86_X86COMPILER_H_INCLUDED diff --git a/src/asmjit/x86/x86emitter.h b/src/asmjit/x86/x86emitter.h index aa89a12..7b346a9 100644 --- a/src/asmjit/x86/x86emitter.h +++ b/src/asmjit/x86/x86emitter.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_X86_X86EMITTER_H -#define _ASMJIT_X86_X86EMITTER_H +#ifndef ASMJIT_X86_X86EMITTER_H_INCLUDED +#define ASMJIT_X86_X86EMITTER_H_INCLUDED #include "../core/emitter.h" #include "../core/support.h" @@ -5546,4 +5563,4 @@ class Emitter : public BaseEmitter, public EmitterImplicitT { ASMJIT_END_SUB_NAMESPACE -#endif // _ASMJIT_X86_X86EMITTER_H +#endif // ASMJIT_X86_X86EMITTER_H_INCLUDED diff --git a/src/asmjit/x86/x86features.cpp b/src/asmjit/x86/x86features.cpp index dc01d87..6ee5772 100644 --- a/src/asmjit/x86/x86features.cpp +++ b/src/asmjit/x86/x86features.cpp @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. #include "../core/api-build_p.h" #if defined(ASMJIT_BUILD_X86) && ASMJIT_ARCH_X86 diff --git a/src/asmjit/x86/x86features.h b/src/asmjit/x86/x86features.h index 0c16bb3..d73c063 100644 --- a/src/asmjit/x86/x86features.h +++ b/src/asmjit/x86/x86features.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_X86_X86FEATURES_H -#define _ASMJIT_X86_X86FEATURES_H +#ifndef ASMJIT_X86_X86FEATURES_H_INCLUDED +#define ASMJIT_X86_X86FEATURES_H_INCLUDED #include "../core/features.h" @@ -266,4 +283,4 @@ public: ASMJIT_END_SUB_NAMESPACE -#endif // _ASMJIT_X86_X86FEATURES_H +#endif // ASMJIT_X86_X86FEATURES_H_INCLUDED diff --git a/src/asmjit/x86/x86globals.h b/src/asmjit/x86/x86globals.h index 8c667cd..dca2b95 100644 --- a/src/asmjit/x86/x86globals.h +++ b/src/asmjit/x86/x86globals.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_X86_X86GLOBALS_H -#define _ASMJIT_X86_X86GLOBALS_H +#ifndef ASMJIT_X86_X86GLOBALS_H_INCLUDED +#define ASMJIT_X86_X86GLOBALS_H_INCLUDED #include "../core/arch.h" #include "../core/inst.h" @@ -2019,4 +2036,4 @@ namespace TLog { ASMJIT_END_SUB_NAMESPACE -#endif // _ASMJIT_X86_X86GLOBALS_H +#endif // ASMJIT_X86_X86GLOBALS_H_INCLUDED diff --git a/src/asmjit/x86/x86instapi.cpp b/src/asmjit/x86/x86instapi.cpp index c344609..8d52492 100644 --- a/src/asmjit/x86/x86instapi.cpp +++ b/src/asmjit/x86/x86instapi.cpp @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. // ---------------------------------------------------------------------------- // IMPORTANT: AsmJit now uses an external instruction database to populate diff --git a/src/asmjit/x86/x86instapi_p.h b/src/asmjit/x86/x86instapi_p.h index 459f932..0389cf5 100644 --- a/src/asmjit/x86/x86instapi_p.h +++ b/src/asmjit/x86/x86instapi_p.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_X86_X86INSTAPI_P_H -#define _ASMJIT_X86_X86INSTAPI_P_H +#ifndef ASMJIT_X86_X86INSTAPI_P_H_INCLUDED +#define ASMJIT_X86_X86INSTAPI_P_H_INCLUDED #include "../core/inst.h" #include "../core/operand.h" @@ -39,4 +56,4 @@ Error queryFeatures(uint32_t archId, const BaseInst& inst, const Operand_* opera ASMJIT_END_SUB_NAMESPACE -#endif // _ASMJIT_X86_X86INSTAPI_P_H +#endif // ASMJIT_X86_X86INSTAPI_P_H_INCLUDED diff --git a/src/asmjit/x86/x86instdb.cpp b/src/asmjit/x86/x86instdb.cpp index f0f4312..2d48558 100644 --- a/src/asmjit/x86/x86instdb.cpp +++ b/src/asmjit/x86/x86instdb.cpp @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. // ---------------------------------------------------------------------------- // IMPORTANT: AsmJit now uses an external instruction database to populate diff --git a/src/asmjit/x86/x86instdb.h b/src/asmjit/x86/x86instdb.h index 7da36cb..d03b870 100644 --- a/src/asmjit/x86/x86instdb.h +++ b/src/asmjit/x86/x86instdb.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_X86_X86INSTDB_H -#define _ASMJIT_X86_X86INSTDB_H +#ifndef ASMJIT_X86_X86INSTDB_H_INCLUDED +#define ASMJIT_X86_X86INSTDB_H_INCLUDED #include "../x86/x86globals.h" @@ -451,4 +468,4 @@ inline const InstInfo& infoById(uint32_t instId) noexcept { ASMJIT_END_SUB_NAMESPACE -#endif // _ASMJIT_X86_X86INSTDB_H +#endif // ASMJIT_X86_X86INSTDB_H_INCLUDED diff --git a/src/asmjit/x86/x86instdb_p.h b/src/asmjit/x86/x86instdb_p.h index 14a8c8b..b8ec1db 100644 --- a/src/asmjit/x86/x86instdb_p.h +++ b/src/asmjit/x86/x86instdb_p.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_X86_X86INSTDB_P_H -#define _ASMJIT_X86_X86INSTDB_P_H +#ifndef ASMJIT_X86_X86INSTDB_P_H_INCLUDED +#define ASMJIT_X86_X86INSTDB_P_H_INCLUDED #include "../x86/x86instdb.h" @@ -298,4 +315,4 @@ extern const CommonInfoTableB _commonInfoTableB[]; ASMJIT_END_SUB_NAMESPACE -#endif // _ASMJIT_X86_X86INSTDB_P_H +#endif // ASMJIT_X86_X86INSTDB_P_H_INCLUDED diff --git a/src/asmjit/x86/x86internal.cpp b/src/asmjit/x86/x86internal.cpp index 7f22530..58b83a8 100644 --- a/src/asmjit/x86/x86internal.cpp +++ b/src/asmjit/x86/x86internal.cpp @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. #include "../core/api-build_p.h" #ifdef ASMJIT_BUILD_X86 diff --git a/src/asmjit/x86/x86internal_p.h b/src/asmjit/x86/x86internal_p.h index 8b50f2b..a1b7696 100644 --- a/src/asmjit/x86/x86internal_p.h +++ b/src/asmjit/x86/x86internal_p.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_X86_X86INTERNAL_P_H -#define _ASMJIT_X86_X86INTERNAL_P_H +#ifndef ASMJIT_X86_X86INTERNAL_P_H_INCLUDED +#define ASMJIT_X86_X86INTERNAL_P_H_INCLUDED #include "../core/api-config.h" @@ -67,4 +84,4 @@ struct X86Internal { ASMJIT_END_SUB_NAMESPACE -#endif // _ASMJIT_X86_X86INTERNAL_P_H +#endif // ASMJIT_X86_X86INTERNAL_P_H_INCLUDED diff --git a/src/asmjit/x86/x86logging.cpp b/src/asmjit/x86/x86logging.cpp index 5f38e94..04eb183 100644 --- a/src/asmjit/x86/x86logging.cpp +++ b/src/asmjit/x86/x86logging.cpp @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. #include "../core/api-build_p.h" #ifndef ASMJIT_NO_LOGGING diff --git a/src/asmjit/x86/x86logging_p.h b/src/asmjit/x86/x86logging_p.h index 897d235..c0d7d16 100644 --- a/src/asmjit/x86/x86logging_p.h +++ b/src/asmjit/x86/x86logging_p.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_X86_X86LOGGING_P_H -#define _ASMJIT_X86_X86LOGGING_P_H +#ifndef ASMJIT_X86_X86LOGGING_P_H_INCLUDED +#define ASMJIT_X86_X86LOGGING_P_H_INCLUDED #include "../core/api-config.h" #ifndef ASMJIT_NO_LOGGING @@ -52,4 +69,4 @@ namespace LoggingInternal { ASMJIT_END_SUB_NAMESPACE #endif // !ASMJIT_NO_LOGGING -#endif // _ASMJIT_X86_X86LOGGING_P_H +#endif // ASMJIT_X86_X86LOGGING_P_H_INCLUDED diff --git a/src/asmjit/x86/x86opcode_p.h b/src/asmjit/x86/x86opcode_p.h index 80e184b..69cafe5 100644 --- a/src/asmjit/x86/x86opcode_p.h +++ b/src/asmjit/x86/x86opcode_p.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_X86_X86OPCODE_P_H -#define _ASMJIT_X86_X86OPCODE_P_H +#ifndef ASMJIT_X86_X86OPCODE_P_H_INCLUDED +#define ASMJIT_X86_X86OPCODE_P_H_INCLUDED #include "../core/logging.h" #include "../core/string.h" @@ -432,4 +449,4 @@ struct Opcode { ASMJIT_END_SUB_NAMESPACE -#endif // _ASMJIT_X86_X86OPCODE_P_H +#endif // ASMJIT_X86_X86OPCODE_P_H_INCLUDED diff --git a/src/asmjit/x86/x86operand.cpp b/src/asmjit/x86/x86operand.cpp index 99c0c2d..ca7ce5a 100644 --- a/src/asmjit/x86/x86operand.cpp +++ b/src/asmjit/x86/x86operand.cpp @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. #include "../core/api-build_p.h" #ifdef ASMJIT_BUILD_X86 diff --git a/src/asmjit/x86/x86operand.h b/src/asmjit/x86/x86operand.h index 97ef3d8..7e22021 100644 --- a/src/asmjit/x86/x86operand.h +++ b/src/asmjit/x86/x86operand.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_X86_OPERAND_H -#define _ASMJIT_X86_OPERAND_H +#ifndef ASMJIT_X86_X86OPERAND_H_INCLUDED +#define ASMJIT_X86_X86OPERAND_H_INCLUDED #include "../core/arch.h" #include "../core/operand.h" @@ -1040,4 +1057,4 @@ ASMJIT_END_NAMESPACE //! \endcond -#endif // _ASMJIT_X86_OPERAND_H +#endif // ASMJIT_X86_X86OPERAND_H_INCLUDED diff --git a/src/asmjit/x86/x86rapass.cpp b/src/asmjit/x86/x86rapass.cpp index 30bdc86..2e32d81 100644 --- a/src/asmjit/x86/x86rapass.cpp +++ b/src/asmjit/x86/x86rapass.cpp @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. #include "../core/api-build_p.h" #if defined(ASMJIT_BUILD_X86) && !defined(ASMJIT_NO_COMPILER) diff --git a/src/asmjit/x86/x86rapass_p.h b/src/asmjit/x86/x86rapass_p.h index ccc4169..4fa688b 100644 --- a/src/asmjit/x86/x86rapass_p.h +++ b/src/asmjit/x86/x86rapass_p.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_X86_X86RAPASS_P_H -#define _ASMJIT_X86_X86RAPASS_P_H +#ifndef ASMJIT_X86_X86RAPASS_P_H_INCLUDED +#define ASMJIT_X86_X86RAPASS_P_H_INCLUDED #include "../core/api-config.h" #ifndef ASMJIT_NO_COMPILER @@ -98,4 +115,4 @@ public: ASMJIT_END_SUB_NAMESPACE #endif // !ASMJIT_NO_COMPILER -#endif // _ASMJIT_X86_X86RAPASS_P_H +#endif // ASMJIT_X86_X86RAPASS_P_H_INCLUDED diff --git a/test/asmjit_bench_x86.cpp b/test/asmjit_bench_x86.cpp index 3c95b6c..92e5d36 100644 --- a/test/asmjit_bench_x86.cpp +++ b/test/asmjit_bench_x86.cpp @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. #include #include diff --git a/test/asmjit_test_misc.h b/test/asmjit_test_misc.h index 5da49f1..be1757a 100644 --- a/test/asmjit_test_misc.h +++ b/test/asmjit_test_misc.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_TEST_MISC_H -#define _ASMJIT_TEST_MISC_H +#ifndef ASMJIT_TEST_MISC_H_INCLUDED +#define ASMJIT_TEST_MISC_H_INCLUDED #include @@ -166,4 +183,4 @@ static void generateAlphaBlend(asmjit::x86::Compiler& cc) { } // {asmtest} -#endif // _ASMJIT_TEST_MISC_H +#endif // ASMJIT_TEST_MISC_H_INCLUDED diff --git a/test/asmjit_test_opcode.cpp b/test/asmjit_test_opcode.cpp index 8a1ad5f..a411577 100644 --- a/test/asmjit_test_opcode.cpp +++ b/test/asmjit_test_opcode.cpp @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. // This file is used to test opcodes generated by AsmJit. Output can be // disassembled in your IDE or by your favorite disassembler. Instructions diff --git a/test/asmjit_test_opcode.h b/test/asmjit_test_opcode.h index 93741b7..e89db42 100644 --- a/test/asmjit_test_opcode.h +++ b/test/asmjit_test_opcode.h @@ -1,11 +1,28 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. -#ifndef _ASMJIT_TEST_OPCODE_H -#define _ASMJIT_TEST_OPCODE_H +#ifndef ASMJIT_TEST_OPCODE_H_INCLUDED +#define ASMJIT_TEST_OPCODE_H_INCLUDED #include @@ -6040,4 +6057,4 @@ static void generateOpcodes(asmjit::x86::Emitter* e, bool useRex1 = false, bool } // {asmtest} -#endif // _ASMJIT_TEST_OPCODE_H +#endif // ASMJIT_TEST_OPCODE_H_INCLUDED diff --git a/test/asmjit_test_unit.cpp b/test/asmjit_test_unit.cpp index 13b7665..e367fcb 100644 --- a/test/asmjit_test_unit.cpp +++ b/test/asmjit_test_unit.cpp @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. #include #include "./broken.h" diff --git a/test/asmjit_test_x86_asm.cpp b/test/asmjit_test_x86_asm.cpp index 7108237..4eed059 100644 --- a/test/asmjit_test_x86_asm.cpp +++ b/test/asmjit_test_x86_asm.cpp @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. #include #include diff --git a/test/asmjit_test_x86_cc.cpp b/test/asmjit_test_x86_cc.cpp index 31d02e6..8cba017 100644 --- a/test/asmjit_test_x86_cc.cpp +++ b/test/asmjit_test_x86_cc.cpp @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. #include #include diff --git a/test/asmjit_test_x86_sections.cpp b/test/asmjit_test_x86_sections.cpp index 7cf74b5..552c907 100644 --- a/test/asmjit_test_x86_sections.cpp +++ b/test/asmjit_test_x86_sections.cpp @@ -1,9 +1,27 @@ -// [AsmJit]you want -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. +// ---------------------------------------------------------------------------- // This is a working example that demonstrates how multiple sections can be // used in a JIT-based code generator. It shows also the necessary tooling // that is expected to be done by the user when the feature is used. It's @@ -14,6 +32,7 @@ // all links were resolved. // - Relocate the code // - Copy the code to the destination address. +// ---------------------------------------------------------------------------- #include #include diff --git a/test/broken.cpp b/test/broken.cpp index 1d3ddfa..bb874fd 100644 --- a/test/broken.cpp +++ b/test/broken.cpp @@ -1,8 +1,29 @@ -// [Broken] -// Lightweight Unit Testing for C++. +// Broken - Lightweight unit testing for C++ // -// [License] -// Public Domain (Unlicense) +// This is free and unencumbered software released into the public domain. +// +// Anyone is free to copy, modify, publish, use, compile, sell, or +// distribute this software, either in source code form or as a compiled +// binary, for any purpose, commercial or non-commercial, and by any +// means. +// +// In jurisdictions that recognize copyright laws, the author or authors +// of this software dedicate any and all copyright interest in the +// software to the public domain. We make this dedication for the benefit +// of the public at large and to the detriment of our heirs and +// successors. We intend this dedication to be an overt act of +// relinquishment in perpetuity of all present and future rights to this +// software under copyright law. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +// IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR +// OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +// ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +// OTHER DEALINGS IN THE SOFTWARE. +// +// For more information, please refer to #include "./broken.h" #include diff --git a/test/broken.h b/test/broken.h index 1cc04e2..701bc8b 100644 --- a/test/broken.h +++ b/test/broken.h @@ -1,11 +1,32 @@ -// [Broken] -// Lightweight Unit Testing for C++. +// Broken - Lightweight unit testing for C++ // -// [License] -// Public Domain (Unlicense) or Zlib. +// This is free and unencumbered software released into the public domain. +// +// Anyone is free to copy, modify, publish, use, compile, sell, or +// distribute this software, either in source code form or as a compiled +// binary, for any purpose, commercial or non-commercial, and by any +// means. +// +// In jurisdictions that recognize copyright laws, the author or authors +// of this software dedicate any and all copyright interest in the +// software to the public domain. We make this dedication for the benefit +// of the public at large and to the detriment of our heirs and +// successors. We intend this dedication to be an overt act of +// relinquishment in perpetuity of all present and future rights to this +// software under copyright law. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +// IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR +// OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +// ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +// OTHER DEALINGS IN THE SOFTWARE. +// +// For more information, please refer to -#ifndef BROKEN_INTERNAL_H -#define BROKEN_INTERNAL_H +#ifndef BROKEN_H_INCLUDED +#define BROKEN_H_INCLUDED #include #include @@ -124,4 +145,4 @@ struct BrokenAPI { //! \endcond -#endif // BROKEN_INTERNAL_H +#endif // BROKEN_H_INCLUDED diff --git a/tools/tablegen-x86.js b/tools/tablegen-x86.js index 97959f2..dfd0f40 100644 --- a/tools/tablegen-x86.js +++ b/tools/tablegen-x86.js @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// Zlib - See LICENSE.md file in the package. +// * 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. // ============================================================================ // tablegen-x86.js diff --git a/tools/tablegen.js b/tools/tablegen.js index f6827d5..c367522 100644 --- a/tools/tablegen.js +++ b/tools/tablegen.js @@ -1,8 +1,25 @@ -// [AsmJit] -// Machine Code Generation for C++. +// AsmJit - Machine code generation for C++ // -// [License] -// ZLIB - See LICENSE.md file in the package. +// * 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. // ============================================================================ // tablegen.js