mirror of
https://github.com/asmjit/asmjit.git
synced 2025-12-17 12:34:35 +03:00
Fixed #35 (namespace x86x64 in x86regs.h not included).
This commit is contained in:
@@ -1512,7 +1512,7 @@ _Prepare:
|
|||||||
ASMJIT_ASSERT(static_cast<const X86Reg*>(o0)->getRegIndex() == kRegIndexCx);
|
ASMJIT_ASSERT(static_cast<const X86Reg*>(o0)->getRegIndex() == kRegIndexCx);
|
||||||
|
|
||||||
if ((Arch == kArchX86 && o0->getSize() == 2) ||
|
if ((Arch == kArchX86 && o0->getSize() == 2) ||
|
||||||
Arch == kArchX64 && o0->getSize() == 4) {
|
(Arch == kArchX64 && o0->getSize() == 4)) {
|
||||||
EMIT_BYTE(0x67);
|
EMIT_BYTE(0x67);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1490,9 +1490,6 @@ static ASMJIT_INLINE uint32_t x86VarTypeToClass(uint32_t vType) {
|
|||||||
namespace asmjit {
|
namespace asmjit {
|
||||||
namespace x86 {
|
namespace x86 {
|
||||||
|
|
||||||
// This is the only place where the x86x64 namespace is included into x86.
|
|
||||||
using namespace ::asmjit::x86x64;
|
|
||||||
|
|
||||||
//! \addtogroup asmjit_x86x64_general
|
//! \addtogroup asmjit_x86x64_general
|
||||||
//! \{
|
//! \{
|
||||||
|
|
||||||
@@ -1577,9 +1574,6 @@ static ASMJIT_INLINE Mem intptr_ptr_abs(Ptr pAbs, const GpVar& index, uint32_t s
|
|||||||
namespace asmjit {
|
namespace asmjit {
|
||||||
namespace x64 {
|
namespace x64 {
|
||||||
|
|
||||||
// This is the only place where the x86x64 namespace is included into x64.
|
|
||||||
using namespace ::asmjit::x86x64;
|
|
||||||
|
|
||||||
//! \addtogroup asmjit_x86x64_general
|
//! \addtogroup asmjit_x86x64_general
|
||||||
//! \{
|
//! \{
|
||||||
|
|
||||||
|
|||||||
@@ -328,6 +328,9 @@ ASMJIT_VAR const SegReg gs; //!< Gs segment register.
|
|||||||
namespace asmjit {
|
namespace asmjit {
|
||||||
namespace x86 {
|
namespace x86 {
|
||||||
|
|
||||||
|
// This is the only place where the x86x64 namespace is included into x86.
|
||||||
|
using namespace ::asmjit::x86x64;
|
||||||
|
|
||||||
//! \addtogroup asmjit_x86x64_general
|
//! \addtogroup asmjit_x86x64_general
|
||||||
//! \{
|
//! \{
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user