diff gen/irstate.h @ 334:20446d22f832 trunk

[svn r355] Get rid of IRState::exps and topexp.
author ChristianK
date Sat, 12 Jul 2008 15:43:13 +0200
parents 0d52412d5b1a
children f7259fa1349c
line wrap: on
line diff
--- a/gen/irstate.h	Sat Jul 12 09:23:14 2008 +0200
+++ b/gen/irstate.h	Sat Jul 12 15:43:13 2008 +0200
@@ -59,15 +59,6 @@
     IRBuilder* operator->();
 };
 
-struct IRExp
-{
-    Expression* e1;
-    Expression* e2;
-    DValue* v;
-    IRExp();
-    IRExp(Expression* l, Expression* r, DValue* val);
-};
-
 struct IRAsmStmt
 {
     std::string code;
@@ -161,11 +152,6 @@
     bool emitMain;
     llvm::Function* mainFunc;
 
-    // expression l/r value handling
-    typedef std::vector<IRExp> ExpVec;
-    ExpVec exps;
-    IRExp* topexp();
-
     // basic block scopes
     std::vector<IRScope> scopes;
     IRScope& scope();