common/xbyak: Use nested namespace specifiers where applicable
This commit is contained in:
parent
05118a2326
commit
d6bf1b31c8
|
@ -9,8 +9,7 @@
|
||||||
#include "common/assert.h"
|
#include "common/assert.h"
|
||||||
#include "common/bit_set.h"
|
#include "common/bit_set.h"
|
||||||
|
|
||||||
namespace Common {
|
namespace Common::X64 {
|
||||||
namespace X64 {
|
|
||||||
|
|
||||||
int RegToIndex(const Xbyak::Reg& reg) {
|
int RegToIndex(const Xbyak::Reg& reg) {
|
||||||
using Kind = Xbyak::Reg::Kind;
|
using Kind = Xbyak::Reg::Kind;
|
||||||
|
@ -217,5 +216,4 @@ void ABI_PopRegistersAndAdjustStack(Xbyak::CodeGenerator& code, BitSet32 regs, s
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace X64
|
} // namespace Common::X64
|
||||||
} // namespace Common
|
|
||||||
|
|
|
@ -8,8 +8,7 @@
|
||||||
#include <xbyak.h>
|
#include <xbyak.h>
|
||||||
#include "common/x64/xbyak_abi.h"
|
#include "common/x64/xbyak_abi.h"
|
||||||
|
|
||||||
namespace Common {
|
namespace Common::X64 {
|
||||||
namespace X64 {
|
|
||||||
|
|
||||||
// Constants for use with cmpps/cmpss
|
// Constants for use with cmpps/cmpss
|
||||||
enum {
|
enum {
|
||||||
|
@ -45,5 +44,4 @@ inline void CallFarFunction(Xbyak::CodeGenerator& code, const T f) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace X64
|
} // namespace Common::X64
|
||||||
} // namespace Common
|
|
||||||
|
|
Reference in New Issue