File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2677,7 +2677,7 @@ vm_run (const ecma_compiled_code_t *bytecode_header_p, /**< byte-code data heade
2677
2677
literal_p = (jmem_cpointer_t * ) (byte_p + sizeof (cbc_uint16_arguments_t ));
2678
2678
frame_ctx .literal_start_p = literal_p ;
2679
2679
literal_p += args_p -> literal_end ;
2680
- call_stack_size = (uint32_t ) ( args_p -> register_end + args_p -> stack_limit ) ;
2680
+ call_stack_size = (uint32_t ) args_p -> stack_limit ;
2681
2681
}
2682
2682
else
2683
2683
{
@@ -2687,7 +2687,7 @@ vm_run (const ecma_compiled_code_t *bytecode_header_p, /**< byte-code data heade
2687
2687
literal_p = (jmem_cpointer_t * ) (byte_p + sizeof (cbc_uint8_arguments_t ));
2688
2688
frame_ctx .literal_start_p = literal_p ;
2689
2689
literal_p += args_p -> literal_end ;
2690
- call_stack_size = (uint32_t ) ( args_p -> register_end + args_p -> stack_limit ) ;
2690
+ call_stack_size = (uint32_t ) args_p -> stack_limit ;
2691
2691
}
2692
2692
2693
2693
frame_ctx .bytecode_header_p = bytecode_header_p ;
You can’t perform that action at this time.
0 commit comments