Well, that was easy! Stack limit now working.
This commit is contained in:
parent
d1ce893633
commit
7f34601523
4 changed files with 14 additions and 3 deletions
|
|
@ -130,7 +130,7 @@ struct cons_pointer make_empty_frame( struct cons_pointer previous ) {
|
|||
uint32_t depth =
|
||||
( nilp( previous ) ) ? 0 : ( get_stack_frame( previous ) )->depth + 1;
|
||||
|
||||
if ( stack_limit > 0 && stack_limit > depth ) {
|
||||
if ( stack_limit == 0 || stack_limit > depth ) {
|
||||
result = in_make_empty_frame( previous, depth );
|
||||
} else {
|
||||
result =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue