diff dmd/statement.h @ 1630:44b145be2ef5

Merge dmd 1.056.
author Robert Clipsham <robert@octarineparrot.com>
date Sat, 06 Feb 2010 15:53:52 +0000
parents 207a8a438dea
children 40bd4a0d4870
line wrap: on
line diff
--- a/dmd/statement.h	Wed Jan 06 19:53:35 2010 +0100
+++ b/dmd/statement.h	Sat Feb 06 15:53:52 2010 +0000
@@ -54,13 +54,14 @@
 struct SynchronizedStatement;
 
 enum TOK;
-
+#if IN_LLVM
 namespace llvm
 {
     class Value;
     class BasicBlock;
     class ConstantInt;
 }
+#endif
 
 // Back end
 struct IRState;
@@ -141,9 +142,10 @@
     virtual IfStatement *isIfStatement() { return NULL; }
     virtual CaseStatement* isCaseStatement() { return NULL; }
 
-    // LDC
+#if IN_LLVM
     virtual void toNakedIR(IRState *irs);
     virtual AsmBlockStatement* endsWithAsm();
+#endif
 };
 
 struct PeelStatement : Statement
@@ -172,8 +174,9 @@
 
     void toIR(IRState *irs);
 
-    // LDC
+#if IN_LLVM
     void toNakedIR(IRState *irs);
+#endif
 };
 
 struct CompileStatement : Statement