diff options
| author | Mai M <mathew1800@gmail.com> | 2022-04-24 22:03:39 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-24 22:03:39 -0400 |
| commit | 8304b14a909202e95d9e624a778ced16fa370831 (patch) | |
| tree | cf86556f7b182a1129c7da10d8903d136ea7067c /src/core/hle/service/jit/jit_context.h | |
| parent | a7f7279d9d59b3347e4a3c3f1c184a3cb561ebf8 (diff) | |
| parent | 64e93dc9598eea324eee63df648b30b3d55acef3 (diff) | |
Merge pull request #8261 from liamwhite/jit-cleanup
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.h | 1 |
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) { |
