mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-21 14:49:18 +02:00
too dangerous to leave bytecode source uninitialized
This commit is contained in:
parent
d622036eb5
commit
150cfd0a8b
1 changed files with 1 additions and 0 deletions
1
eval.c
1
eval.c
|
@ -451,6 +451,7 @@ sexp sexp_make_eval_context (sexp ctx, sexp stack, sexp env, sexp_uint_t size, s
|
||||||
sexp_bytecode_name(sexp_context_bc(res)) = SEXP_FALSE;
|
sexp_bytecode_name(sexp_context_bc(res)) = SEXP_FALSE;
|
||||||
sexp_bytecode_length(sexp_context_bc(res)) = SEXP_INIT_BCODE_SIZE;
|
sexp_bytecode_length(sexp_context_bc(res)) = SEXP_INIT_BCODE_SIZE;
|
||||||
sexp_bytecode_literals(sexp_context_bc(res)) = SEXP_NULL;
|
sexp_bytecode_literals(sexp_context_bc(res)) = SEXP_NULL;
|
||||||
|
sexp_bytecode_source(sexp_context_bc(res)) = SEXP_NULL;
|
||||||
if ((! stack) || (stack == SEXP_FALSE)) {
|
if ((! stack) || (stack == SEXP_FALSE)) {
|
||||||
stack = sexp_alloc_tagged(res, SEXP_STACK_SIZE, SEXP_STACK);
|
stack = sexp_alloc_tagged(res, SEXP_STACK_SIZE, SEXP_STACK);
|
||||||
if (sexp_exceptionp(stack)) {
|
if (sexp_exceptionp(stack)) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue