prefer clang cold attrib over minsize attrib
This commit is contained in:
@@ -267,12 +267,12 @@
|
||||
#define arma_hot __attribute__((__hot__))
|
||||
#endif
|
||||
|
||||
#if __has_attribute(__minsize__)
|
||||
#undef arma_cold
|
||||
#define arma_cold __attribute__((__minsize__))
|
||||
#elif __has_attribute(__cold__)
|
||||
#if __has_attribute(__cold__)
|
||||
#undef arma_cold
|
||||
#define arma_cold __attribute__((__cold__))
|
||||
#elif __has_attribute(__minsize__)
|
||||
#undef arma_cold
|
||||
#define arma_cold __attribute__((__minsize__))
|
||||
#endif
|
||||
|
||||
#if defined(__has_builtin) && __has_builtin(__builtin_assume_aligned)
|
||||
|
||||
Reference in New Issue
Block a user