minor code change

This commit is contained in:
hyung-hwan 2021-01-26 15:47:22 +00:00
parent 8829e27c33
commit 79d0385600
3 changed files with 3 additions and 2 deletions

View File

@ -300,6 +300,7 @@ static int emit_byte_instruction (hcl_t* hcl, hcl_oob_t bc, const hcl_ioloc_t* s
if (srcloc) if (srcloc)
{ {
hcl->code.locptr[hcl->code.bc.len] = srcloc->line; hcl->code.locptr[hcl->code.bc.len] = srcloc->line;
} }

View File

@ -552,7 +552,7 @@ struct hcl_function_t
hcl_oop_t nargs; /* smooi. number of arguments */ hcl_oop_t nargs; /* smooi. number of arguments */
hcl_oop_context_t home; /* home context. nil for the initial function */ hcl_oop_context_t home; /* home context. nil for the initial function */
hcl_oop_t dbgi_file_offset; hcl_oop_t dbgi; /* byte array containing debug information. nil if not available */
/* == variable indexed part == */ /* == variable indexed part == */
hcl_oop_t literal_frame[1]; /* it stores literals. it may not exist */ hcl_oop_t literal_frame[1]; /* it stores literals. it may not exist */