Fix compile warnings about always_inline functions in GCC 5.2.0
The warning is "always_inline function might not be inlinable", fixed by adding inline keyword. See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55830 JerryScript-DCO-1.0-Signed-off-by: Geoff Gustafson geoff@linux.intel.com
This commit is contained in:
@@ -234,7 +234,7 @@ ecma_lcache_insert (ecma_object_t *object_p, /**< object */
|
||||
* @return true - if (object, property name) pair is registered in LCache,
|
||||
* false - probably, not registered.
|
||||
*/
|
||||
bool __attr_always_inline___
|
||||
inline bool __attr_always_inline___
|
||||
ecma_lcache_lookup (ecma_object_t *object_p, /**< object */
|
||||
const ecma_string_t *prop_name_p, /**< property's name */
|
||||
ecma_property_t **prop_p_p) /**< [out] if return value is true,
|
||||
|
||||
Reference in New Issue
Block a user