Mercurial > repos > rhope
diff runtime/object.h @ 10:0f2c4ee070fe
Changes to calldata struct for stack unwind
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 16 May 2009 23:24:24 -0400 |
parents | 8d74ef7fa357 |
children | 31f8182f3433 |
line wrap: on
line diff
--- a/runtime/object.h Sat May 16 23:22:45 2009 -0400 +++ b/runtime/object.h Sat May 16 23:24:24 2009 -0400 @@ -35,17 +35,19 @@ } object; typedef struct { - object base; - uint32_t size; + object base; + uint32_t size; } multisize; typedef struct calldata { - rhope_func tail_func; - struct context *ct; - uint32_t num_params; - uint32_t original_methodid; - object *params[1]; + rhope_func tail_func; + struct context *ct; + void *locals; + uint32_t original_methodid; + uint16_t num_params; + uint16_t resume; + object *params[1]; } calldata; #define OBegin typedef struct { object header;