hostloc: Simplify static_assert
This commit is contained in:
parent
e1ed160768
commit
37d64f0c86
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ Xbyak::Xmm HostLocToXmm(HostLoc loc) {
|
|||
Xbyak::Address SpillToOpArg(HostLoc loc) {
|
||||
using namespace Xbyak::util;
|
||||
|
||||
static_assert(std::is_same<decltype(JitState{nullptr}.Spill[0]), u64&>::value, "Spill must be u64");
|
||||
static_assert(std::is_same<decltype(JitState::Spill[0]), u64&>::value, "Spill must be u64");
|
||||
DEBUG_ASSERT(HostLocIsSpill(loc));
|
||||
|
||||
size_t i = static_cast<size_t>(loc) - static_cast<size_t>(HostLoc::FirstSpill);
|
||||
|
|
Loading…
Reference in a new issue