mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
Fix check of run scope bounds in vm_loop.
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
This commit is contained in:
parent
9b414deb8d
commit
6c6e740c7a
@ -497,7 +497,7 @@ vm_loop (int_data_t *int_data_p, /**< interpreter context */
|
||||
*/
|
||||
if (run_scope_p == NULL /* if no run scope set */
|
||||
|| (target >= run_scope_p->start_oc /* or target is within the current run scope */
|
||||
&& target < run_scope_p->end_oc))
|
||||
&& target <= run_scope_p->end_oc))
|
||||
{
|
||||
int_data_p->pos = target;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user