From 391b6caebea5bbfbe0f3bb7093dcba20f5e56575 Mon Sep 17 00:00:00 2001 From: Ruben Ayrapetyan Date: Wed, 15 Oct 2014 13:57:26 +0400 Subject: [PATCH] Fixing this_arg handling in opfunc_call_n. --- src/libcoreint/opcodes.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libcoreint/opcodes.c b/src/libcoreint/opcodes.c index effab8c6d..adc157c40 100644 --- a/src/libcoreint/opcodes.c +++ b/src/libcoreint/opcodes.c @@ -596,6 +596,8 @@ opfunc_call_n (opcode_t opdata, /**< operation data */ JERRY_ASSERT (args_number_idx > 0); args_number = (idx_t) (args_number_idx - 1); + + int_data->pos++; } else {