Fixed #35 (namespace x86x64 in x86regs.h not included).

This commit is contained in:
kobalicek
2014-06-06 10:41:43 +02:00
parent c64931abdb
commit e5387eaaca
3 changed files with 4 additions and 7 deletions

View File

@@ -1512,7 +1512,7 @@ _Prepare:
ASMJIT_ASSERT(static_cast<const X86Reg*>(o0)->getRegIndex() == kRegIndexCx);
if ((Arch == kArchX86 && o0->getSize() == 2) ||
Arch == kArchX64 && o0->getSize() == 4) {
(Arch == kArchX64 && o0->getSize() == 4)) {
EMIT_BYTE(0x67);
}

View File

@@ -1490,9 +1490,6 @@ static ASMJIT_INLINE uint32_t x86VarTypeToClass(uint32_t vType) {
namespace asmjit {
namespace x86 {
// This is the only place where the x86x64 namespace is included into x86.
using namespace ::asmjit::x86x64;
//! \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 x64 {
// This is the only place where the x86x64 namespace is included into x64.
using namespace ::asmjit::x86x64;
//! \addtogroup asmjit_x86x64_general
//! \{

View File

@@ -328,6 +328,9 @@ ASMJIT_VAR const SegReg gs; //!< Gs segment register.
namespace asmjit {
namespace x86 {
// This is the only place where the x86x64 namespace is included into x86.
using namespace ::asmjit::x86x64;
//! \addtogroup asmjit_x86x64_general
//! \{