changeset 57:43bb0a36b869 new_gen

Removed some debug output and updated for new llvm-bindings.
author Anders Johnsen <skabet@gmail.com>
date Mon, 28 Apr 2008 21:47:01 +0200
parents 4ae365eff712
children fc62c5296a1c
files ast/Stmt.d gen/CodeGen.d
diffstat 2 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/ast/Stmt.d	Mon Apr 28 21:40:00 2008 +0200
+++ b/ast/Stmt.d	Mon Apr 28 21:47:01 2008 +0200
@@ -75,7 +75,6 @@
             assStmt.env = f.env;
 
             Stmt[] stmts;
-            Stdout(stmtIndex).newline;
             foreach(index, stmt ; f.statements)
             {
                 if(stmtIndex == index)
--- a/gen/CodeGen.d	Mon Apr 28 21:40:00 2008 +0200
+++ b/gen/CodeGen.d	Mon Apr 28 21:47:01 2008 +0200
@@ -118,9 +118,7 @@
 
         table.leaveScope;
 
-        char[] err;
-        m.verify(err);
-        Stderr(err).newline;
+        m.verify();
 
         if(optimize)
             m.optimize(inline);
@@ -144,7 +142,6 @@
                 b.positionAtEnd(bb);
 
                 table.enterScope;
-                    Stdout(funcDecl.funcArgs.length).newline;
                 foreach (i, v; funcDecl.funcArgs)
                 {
                     llfunc.getParam(i).name = v.identifier.get;