diff runtime/rhopefuncs_prolog.c @ 186:ba35ab624ec2

Add support for raw C function output from C backend as well as an option to use Boehm-GC instead of reference counting
author Mike Pavone <pavone@retrodev.com>
date Fri, 07 Oct 2011 00:10:02 -0700
parents e57c151f351e
children
line wrap: on
line diff
--- a/runtime/rhopefuncs_prolog.c	Wed Jul 27 21:32:40 2011 -0700
+++ b/runtime/rhopefuncs_prolog.c	Fri Oct 07 00:10:02 2011 -0700
@@ -1,3 +1,12 @@
+#ifdef RAW_FUNC
+FuncDef(Build)
+FuncDef(BlueprintSP_Of)
+FuncDef(ID)
+FuncDef(BlueprintSP_FromSP_ID)
+
+object * tmp;
+#else
+
 #ifdef ENABLE_PROFILING
 uint64_t profile_counts[END];
 uint64_t profile_nestedcounts[END];
@@ -43,4 +52,5 @@
 	FuncDef(ID)
 	FuncDef(BlueprintSP_FromSP_ID)
 	void ** lv_RunSP_Bytecode;
+#endif //RAW_FUNC