aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/jit/jit_context.h
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2022-04-24 18:55:44 -0400
committerLiam <byteslice@airmail.cc>2022-04-24 20:25:42 -0400
commit64e93dc9598eea324eee63df648b30b3d55acef3 (patch)
tree340b705861a3bcde33c7408bc29c64b9d12b9b63 /src/core/hle/service/jit/jit_context.h
parent7f77aafe41051c5fa8c7729e8743af2c09f3365e (diff)
service: jit: document and clean up
Diffstat (limited to 'src/core/hle/service/jit/jit_context.h')
-rw-r--r--src/core/hle/service/jit/jit_context.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/service/jit/jit_context.h b/src/core/hle/service/jit/jit_context.h
index 3cb935e3c..f17fc5e24 100644
--- a/src/core/hle/service/jit/jit_context.h
+++ b/src/core/hle/service/jit/jit_context.h
@@ -28,6 +28,7 @@ public:
template <typename T, typename... Ts>
u64 CallFunction(VAddr func, T argument, Ts... rest) {
static_assert(std::is_trivially_copyable_v<T>);
+ static_assert(!std::is_floating_point_v<T>);
PushArgument(&argument, sizeof(argument));
if constexpr (sizeof...(rest) > 0) {