Improve allocation of stack for byte code.

This commit is contained in:
Damien
2013-11-05 22:16:22 +00:00
parent 03c9cfb015
commit 40fdfe3000
3 changed files with 12 additions and 7 deletions

View File

@@ -94,5 +94,5 @@
#define PYBC_IMPORT_FROM (0xe1)
#define PYBC_IMPORT_STAR (0xe2)
py_obj_t py_execute_byte_code(const byte *code, const py_obj_t *args, uint n_args);
py_obj_t py_execute_byte_code(const byte *code, const py_obj_t *args, uint n_args, uint n_state);
bool py_execute_byte_code_2(const byte **ip_in_out, py_obj_t *fastn, py_obj_t **sp_in_out);