aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorlizzie <lizzie@eden-emu.dev>2025-10-31 15:13:31 +0100
committercrueter <crueter@eden-emu.dev>2025-10-31 15:13:31 +0100
commit2dc6d773eefcd0575cf8df3ea20bfba66f3a47b5 (patch)
tree99b978eda1eaf9d4f753e4986d2b8853daa4989d /src/common
parent402d8e833d54525d2c7a53f742d3b4a2ab3aeb7c (diff)
[common, hle/kernel] Remove LTO_NOINLINE (#2908)
- Dont just tell the compiler what to inline/what not to inline; the compiler will be pissed off and make bad codegen Signed-off-by: lizzie <lizzie@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2908 Reviewed-by: Caio Oliveira <caiooliveirafarias0@gmail.com> Reviewed-by: Maufeat <sahyno1996@gmail.com> Reviewed-by: MaranBr <maranbr@eden-emu.dev> Reviewed-by: crueter <crueter@eden-emu.dev> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
Diffstat (limited to 'src/common')
-rw-r--r--src/common/common_funcs.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/common/common_funcs.h b/src/common/common_funcs.h
index ba3081efb4..4c5a009ec7 100644
--- a/src/common/common_funcs.h
+++ b/src/common/common_funcs.h
@@ -1,3 +1,6 @@
+// SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project
+// SPDX-License-Identifier: GPL-3.0-or-later
+
// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
@@ -39,12 +42,8 @@
#define Crash() exit(1)
#endif
-#define LTO_NOINLINE __attribute__((noinline))
-
#else // _MSC_VER
-#define LTO_NOINLINE
-
// Locale Cross-Compatibility
#define locale_t _locale_t