From 2e8a8f5caa51ff67e98e433907290b518f0cbe23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Csaba=20Osztrogon=C3=A1c?= Date: Mon, 25 Nov 2019 11:49:54 +0100 Subject: [PATCH] Fix the es2015-subset profile build on Windows (#3347) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit JERRY_ATTR_NOINLINE define is __declspec(noinline) which should be placed at the beginning of the declaration and caused build fail because it was placed after the * character. Details can be found here: https://docs.microsoft.com/en-us/cpp/cpp/declspec?view=vs-2019 JerryScript-DCO-1.0-Signed-off-by: Csaba Osztrogonác oszi@inf.u-szeged.hu --- jerry-core/vm/opcodes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jerry-core/vm/opcodes.c b/jerry-core/vm/opcodes.c index e3273e110..f50cf3a43 100644 --- a/jerry-core/vm/opcodes.c +++ b/jerry-core/vm/opcodes.c @@ -384,7 +384,7 @@ opfunc_append_to_spread_array (ecma_value_t *stack_top_p, /**< current stack top * @return NULL - if the operation failed * pointer to the ecma-collection with the spreaded arguments, otherwise */ -ecma_collection_t * JERRY_ATTR_NOINLINE +JERRY_ATTR_NOINLINE ecma_collection_t * opfunc_spread_arguments (ecma_value_t **stack_top_p, /**< [out] pointer to the current stack top */ uint8_t arguments_list_len) /**< number of arguments */ {