Disabling Wattributes warnings (because always_inline is considered incorrect without inline specifier even in LTO mode); removing used attribute from always_inline functions; removing inline specifier from ecma_lcache_lookup and ecma_stack_top_value.
This commit is contained in:
+1
-1
@@ -37,7 +37,7 @@ typedef unsigned long mword_t;
|
||||
#define __noinline __attribute__((noinline))
|
||||
#define __used __attribute__((used))
|
||||
#ifndef __attribute_always_inline__
|
||||
# define __attribute_always_inline__ __attribute__((always_inline)) __used
|
||||
# define __attribute_always_inline__ __attribute__((always_inline))
|
||||
#endif /* !__attribute_always_inline__ */
|
||||
#ifndef __attribute_const__
|
||||
# define __attribute_const__ __attribute__((const))
|
||||
|
||||
Reference in New Issue
Block a user