From 9d2728a5605f651934fe67a6fe6986b3e4a2c011 Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Sun, 20 Nov 2022 00:07:22 -0500 Subject: add a bunch of code and a ton of stub files for later --- includes/compiler/StackFrame.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'includes/compiler/StackFrame.h') diff --git a/includes/compiler/StackFrame.h b/includes/compiler/StackFrame.h index 3145bdb..04ebb0d 100644 --- a/includes/compiler/StackFrame.h +++ b/includes/compiler/StackFrame.h @@ -22,12 +22,12 @@ extern Boolean large_stack; extern Object *dummyvaparam; extern void *dummyprofiler; -extern void init_stack_globals(void); -extern void init_frame_sizes(void); +extern void init_stack_globals(Object *funcobj); +extern void init_frame_sizes(Boolean has_varargs); extern void assign_local_memory(Object *obj); extern void assign_locals_to_memory(ObjectList *first); extern void compute_frame_sizes(void); -extern void generate_prologue(PCodeBlock *block); +extern void generate_prologue(PCodeBlock *block, Boolean has_varargs); extern void generate_epilogue(PCodeBlock *block, Boolean add_blr); extern void allocate_dynamic_stack_space(Boolean flag1, int reg1, int reg2, SInt32 size); extern char *generate_traceback(SInt32 funcsize, char *funcname, SInt32 *tbsize, Object *func); -- cgit v1.2.3