mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-06 23:08:46 +00:00
basically initial impl of all except sti. sexp with params not working, some bugs in closure impl
This commit is contained in:
parent
1e38ffaefb
commit
bd27e79b22
5 changed files with 186 additions and 74 deletions
|
|
@ -29,8 +29,11 @@ void s_popn(struct State *s, size_t n);
|
|||
//
|
||||
// where |> defines corresponding frame pointer, | is stack pointer
|
||||
// location before / after new frame added
|
||||
void s_enter_f(struct State *s, char *rp, auint args_sz, auint locals_sz);
|
||||
void s_enter_f(struct State *s, char *rp, bool is_closure_call, auint args_sz,
|
||||
auint locals_sz);
|
||||
|
||||
void s_exit_f(struct State *s);
|
||||
|
||||
// ---- category ---
|
||||
|
||||
void **var_by_category(struct State *s, enum VarCategory category, int id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue