mirror of
https://github.com/RPCS3/asmjit.git
synced 2026-07-18 18:34:26 -04:00
CpuInfo and X86CpuInfo can now compile under VS2003.
This commit is contained in:
@@ -59,7 +59,7 @@ struct CpuInfo {
|
||||
// [Construction / Destruction]
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
ASMJIT_INLINE CpuInfo(uint32_t size = sizeof(CpuInfo)) : _size(size) {}
|
||||
ASMJIT_INLINE CpuInfo(uint32_t size) : _size(size) {}
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
// [Accessors]
|
||||
|
||||
@@ -200,8 +200,7 @@ struct X86CpuInfo : public CpuInfo {
|
||||
// [Construction / Destruction]
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
ASMJIT_INLINE X86CpuInfo(uint32_t size = sizeof(X86CpuInfo)) :
|
||||
CpuInfo(size) {}
|
||||
ASMJIT_INLINE X86CpuInfo();
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
// [Accessors]
|
||||
@@ -252,6 +251,9 @@ struct X86CpuInfo : public CpuInfo {
|
||||
uint32_t _maxLogicalProcessors;
|
||||
};
|
||||
|
||||
ASMJIT_INLINE X86CpuInfo::X86CpuInfo() :
|
||||
CpuInfo(sizeof(X86CpuInfo)) {}
|
||||
|
||||
//! \}
|
||||
|
||||
} // asmjit namespace
|
||||
|
||||
Reference in New Issue
Block a user