mirror of
https://github.com/false-schemers/skint.git
synced 2024-12-26 21:58:51 +01:00
.
This commit is contained in:
parent
a3f0f2091d
commit
b238331edb
1 changed files with 4 additions and 4 deletions
6
i.c
6
i.c
|
@ -60,7 +60,7 @@ static obj *init_modules(obj *r, obj *sp, obj *hp);
|
|||
#endif
|
||||
|
||||
/* copying objects */
|
||||
#if 0
|
||||
#ifndef OBJCOPY_LOOP
|
||||
#define objcpy(dst, src, cnt) \
|
||||
memcpy((dst), (src), (cnt)*sizeof(obj))
|
||||
#define objmove_left(dst, src, cnt) \
|
||||
|
@ -118,8 +118,8 @@ static obj *init_modules(obj *r, obj *sp, obj *hp);
|
|||
|
||||
/* the rest of the register file is used as a stack */
|
||||
#define VM_REGC 6 /* r[0] ... r[5] */
|
||||
#define VM_STACK_LEN 1000 /* r[6] ... r[1005] */
|
||||
#define VM_STACK_RSZ 64 /* red zone for overflow checks */
|
||||
#define VM_STACK_LEN 256000 /* r[6] ... r[256005] */
|
||||
#define VM_STACK_RSZ 256 /* red zone for overflow checks */
|
||||
#define VM_STACK_GSZ (VM_STACK_LEN-VM_STACK_RSZ)
|
||||
|
||||
/* box representation extras */
|
||||
|
|
Loading…
Reference in a new issue