From 37d64f0c86106231360f62c73bcada5d2374f772 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 28 Aug 2016 16:59:03 -0400 Subject: [PATCH] hostloc: Simplify static_assert --- src/backend_x64/hostloc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend_x64/hostloc.cpp b/src/backend_x64/hostloc.cpp index 3de11ca3..bc1683af 100644 --- a/src/backend_x64/hostloc.cpp +++ b/src/backend_x64/hostloc.cpp @@ -24,7 +24,7 @@ Xbyak::Xmm HostLocToXmm(HostLoc loc) { Xbyak::Address SpillToOpArg(HostLoc loc) { using namespace Xbyak::util; - static_assert(std::is_same::value, "Spill must be u64"); + static_assert(std::is_same::value, "Spill must be u64"); DEBUG_ASSERT(HostLocIsSpill(loc)); size_t i = static_cast(loc) - static_cast(HostLoc::FirstSpill);