diff cbackend_c.rhope @ 171:a32afde77abb

Remove some debug Print calls from compiler
author Mike Pavone <pavone@retrodev.com>
date Sun, 08 May 2011 18:36:33 -0700
parents ac5c2d78663f
children 926b56a43f47
line wrap: on
line diff
--- a/cbackend_c.rhope	Sun May 08 18:21:19 2011 -0700
+++ b/cbackend_c.rhope	Sun May 08 18:36:33 2011 -0700
@@ -643,7 +643,7 @@
 			type <- [[func]Input Types >>]Index[~]
 			
 		}{
-			type <- [[func]Variables >>]Index[var] { Print["op refers to a var"] }
+			type <- [[func]Variables >>]Index[var] {}
 			{
 				[[func]Outputs >>]Find[=[var,?]]
 				{
@@ -881,10 +881,8 @@
 	{	
 		If[[[func]Last NumParams >>] = [-1]]
 		{
-			Print["No previous PrepCall"]
 			freed <- Val[func]
 		}{
-			Print[[["Last NumParams is "]Append[String[[func]Last NumParams >>]]]Append[" adding FreeCall"]]
 			freed <- [func]Add Raw Line["FreeCall"]
 		}
 		prepped <- [[freed]Add Raw Line[ [["PrepCall("]Append[String[[rargs]Length]]]Append[")"] ]
@@ -1431,7 +1429,6 @@
 	valtype <- Blueprint Of[value]
 	[(String(),String Cat(),String Slice(),Worker Literal(),List(),List Leaf())]Find[=[valtype,?]]
 	{
-		Print[[name]Append[" is not of an early constant type"]]
 		out <- text
 	}{
 		Const Construct C[value,type reg]