changeset 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 52d9948def24
children 3021dac0d8f5
files runtime/object.h
diffstat 1 files changed, 9 insertions(+), 7 deletions(-) [+]
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;