diff options
Diffstat (limited to 'rts/Apply.h')
-rw-r--r-- | rts/Apply.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/rts/Apply.h b/rts/Apply.h new file mode 100644 index 0000000000..76e36cb9fb --- /dev/null +++ b/rts/Apply.h @@ -0,0 +1,29 @@ +/* ----------------------------------------------------------------------------- + * + * (c) The University of Glasgow 2002-2004 + * + * Declarations for things defined in AutoApply.cmm + * + * -------------------------------------------------------------------------- */ + +#ifndef APPLY_H +#define APPLY_H + +// canned slow entry points, indexed by arg type (ARG_P, ARG_PP, etc.) +#ifdef IN_STG_CODE +extern StgWord stg_ap_stack_entries[]; +#else +extern StgFun *stg_ap_stack_entries[]; +#endif + +// canned register save code for heap check failure in a function +#ifdef IN_STG_CODE +extern StgWord stg_stack_save_entries[]; +#else +extern StgFun *stg_stack_save_entries[]; +#endif + +// canned bitmap for each arg type +extern StgWord stg_arg_bitmaps[]; + +#endif /* APPLY_H */ |