diff dmd/expression.h @ 619:722630261d62

Implemented constant pointer casts (like casting function pointer to void* as a constant global initializer)
author tomas@myhost
date Sun, 28 Sep 2008 21:09:21 +0200
parents 4435f57956e7
children eef8ac26c66c
line wrap: on
line diff
--- a/dmd/expression.h	Sun Sep 28 15:22:39 2008 +0200
+++ b/dmd/expression.h	Sun Sep 28 21:09:21 2008 +0200
@@ -1003,6 +1003,9 @@
 
     // For operator overloading
     Identifier *opId();
+
+    // LLVMDC
+    virtual llvm::Constant *toConstElem(IRState *irs);
 };