mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 21:32:39 +00:00
add directive to disable inlining
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29912 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a4f0b3a084
commit
6f3241dbbf
@ -37,4 +37,12 @@
|
||||
#define TEMPLATE_INSTANTIATION(X)
|
||||
#endif
|
||||
|
||||
// DISABLE_INLINE - On compilers where we have a directive to do so, mark a
|
||||
// method "not for inlining".
|
||||
#if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
|
||||
#define DISABLE_INLINE __attribute__((noinline))
|
||||
#else
|
||||
#define DISABLE_INLINE
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user