summaryrefslogtreecommitdiff
path: root/includes/compiler/StackFrame.h
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2022-11-20 00:07:22 -0500
committerAsh Wolf <ninji@wuffs.org>2022-11-20 00:07:22 -0500
commit9d2728a5605f651934fe67a6fe6986b3e4a2c011 (patch)
treee81e0a3588a0c8d1855bf28316efe27d86b04d66 /includes/compiler/StackFrame.h
parent9a46dd0e2e80790d9848c0bbd718932a27c23269 (diff)
downloadMWCC-9d2728a5605f651934fe67a6fe6986b3e4a2c011.tar.gz
MWCC-9d2728a5605f651934fe67a6fe6986b3e4a2c011.zip
add a bunch of code and a ton of stub files for later
Diffstat (limited to '')
-rw-r--r--includes/compiler/StackFrame.h6
1 files changed, 3 insertions, 3 deletions
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);