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:
Ruben Ayrapetyan
2015-02-03 18:05:14 +03:00
parent 3cb0b0a379
commit 9cdc50c3ec
4 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -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))