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:
+1
-1
@@ -304,7 +304,7 @@ vm_construct_literal_object (vm_frame_ctx_t *frame_ctx_p, /**< frame context */
|
||||
* @return true, if the implicit 'this' value is updated,
|
||||
* false - otherwise.
|
||||
*/
|
||||
static bool __attr_always_inline___
|
||||
static inline bool __attr_always_inline___
|
||||
vm_get_implicit_this_value (ecma_value_t *this_value_p) /**< [in,out] this value */
|
||||
{
|
||||
if (ecma_is_value_object (*this_value_p))
|
||||
|
||||
Reference in New Issue
Block a user