diff runtime/integer.c @ 11:3021dac0d8f5

Stack unwind is so close I can almost taste it
author Mike Pavone <pavone@retrodev.com>
date Tue, 19 May 2009 23:29:55 -0400
parents 52d9948def24
children 31f8182f3433
line wrap: on
line diff
--- a/runtime/integer.c	Sat May 16 23:24:24 2009 -0400
+++ b/runtime/integer.c	Tue May 19 23:29:55 2009 -0400
@@ -5,8 +5,10 @@
 #define left ((_t_Int32 *)cdata->params[0])
 #define right ((_t_Int32 *)cdata->params[1])
 
-MethodNoLocals(_PL_,Int32,2)
-	call = alloc_cdata(cdata->ct, 1);
+MethodNoLocals(_PL_,Int32,
+    NumParams 2,
+    CallSpace 1)
+    
 	CopiedParam(0, left, Int32, TYPE_INT32)
 	Param(1, right, Int32, TYPE_INT32)
 	
@@ -15,8 +17,10 @@
 	release_ref((object *)right);
 EndFunc
 
-MethodNoLocals(_MN_,Int32,2)
-	call = alloc_cdata(cdata->ct, 1);
+MethodNoLocals(_MN_,Int32,
+    NumParams 2,
+    CallSpace 1)
+    
 	CopiedParam(0, left, Int32, TYPE_INT32)
 	Param(1, right, Int32, TYPE_INT32)