diff gen/irstate.h @ 86:fd32135dca3e trunk

[svn r90] Major updates to the gen directory. Redesigned the 'elem' struct. Much more... !!! Lots of bugfixes. Added support for special foreach on strings. Added std.array, std.utf, std.ctype and std.uni to phobos. Changed all the .c files in the gen dir to .cpp (it *is* C++ after all)
author lindquist
date Sat, 03 Nov 2007 14:44:58 +0100
parents d8dd47ef3973
children 61615fa85940
line wrap: on
line diff
--- a/gen/irstate.h	Fri Nov 02 06:32:32 2007 +0100
+++ b/gen/irstate.h	Sat Nov 03 14:44:58 2007 +0100
@@ -101,9 +101,9 @@
 {
     Expression* e1;
     Expression* e2;
-    llvm::Value* v;
+    DValue* v;
     IRExp();
-    IRExp(Expression* l, Expression* r, llvm::Value* val);
+    IRExp(Expression* l, Expression* r, DValue* val);
 };
 
 // represents the module
@@ -158,7 +158,7 @@
     // might be a better way but it works. problem is I only get a
     // VarDeclaration for __dollar, but I can't see how to get the
     // array pointer from this :(
-    std::vector<llvm::Value*> arrays;
+    std::vector<DValue*> arrays;
 
     // builder helper
     IRBuilderHelper ir;