diff runtime/object.h @ 110:336da6ce8174

Merge
author Mike Pavone <pavone@retrodev.com>
date Wed, 06 Oct 2010 23:48:32 +0000
parents 43cc42df26cc
children 60906f8803ef
line wrap: on
line diff
--- a/runtime/object.h	Wed Oct 06 23:47:26 2010 +0000
+++ b/runtime/object.h	Wed Oct 06 23:48:32 2010 +0000
@@ -45,10 +45,16 @@
 struct calldata {
 	struct calldata	*lastframe;
 	void            *vars;
-	uint32_t 		func;
-	uint16_t 		num_params;
-	uint16_t		callspace;
-	object 			*params[1];
+#ifdef ENABLE_PROFILING
+	uint64_t        start;
+	uint64_t        accum;
+	uint64_t        self_start;
+	uint64_t        self_accum;
+#endif
+	uint32_t        func;
+	uint16_t        num_params;
+	uint16_t        callspace;
+	object 	        *params[1];
 };
 #pragma pack(pop)