Skip to content

Commit 7d623ba

Browse files
committed
Fix cross-build for ARM
JerryScript-DCO-1.0-Signed-off-by: Evgeny Gavrin e.gavrin@samsung.com
1 parent 4836d3b commit 7d623ba

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

jerry-core/parser/js/opcodes-dumper.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1119,7 +1119,10 @@ dump_call_additional_info (opcode_call_flags_t flags, /**< call flags */
11191119

11201120
const opcode_t opcode = getop_meta (OPCODE_META_TYPE_CALL_SITE_INFO,
11211121
flags,
1122-
(flags & OPCODE_CALL_FLAGS_HAVE_THIS_ARG) ? this_arg.data.uid : INVALID_VALUE);
1122+
(idx_t) (flags & OPCODE_CALL_FLAGS_HAVE_THIS_ARG
1123+
? this_arg.data.uid
1124+
: INVALID_VALUE));
1125+
11231126
serializer_dump_op_meta (create_op_meta_000 (opcode));
11241127
} /* dump_call_additional_info */
11251128

0 commit comments

Comments
 (0)