comparison 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
comparison
equal deleted inserted replaced
1629:b07d683ba4d0 1630:44b145be2ef5
52 struct LabelStatement; 52 struct LabelStatement;
53 struct VolatileStatement; 53 struct VolatileStatement;
54 struct SynchronizedStatement; 54 struct SynchronizedStatement;
55 55
56 enum TOK; 56 enum TOK;
57 57 #if IN_LLVM
58 namespace llvm 58 namespace llvm
59 { 59 {
60 class Value; 60 class Value;
61 class BasicBlock; 61 class BasicBlock;
62 class ConstantInt; 62 class ConstantInt;
63 } 63 }
64 #endif
64 65
65 // Back end 66 // Back end
66 struct IRState; 67 struct IRState;
67 struct Blockx; 68 struct Blockx;
68 #if IN_LLVM 69 #if IN_LLVM
139 virtual CompoundStatement *isCompoundStatement() { return NULL; } 140 virtual CompoundStatement *isCompoundStatement() { return NULL; }
140 virtual ReturnStatement *isReturnStatement() { return NULL; } 141 virtual ReturnStatement *isReturnStatement() { return NULL; }
141 virtual IfStatement *isIfStatement() { return NULL; } 142 virtual IfStatement *isIfStatement() { return NULL; }
142 virtual CaseStatement* isCaseStatement() { return NULL; } 143 virtual CaseStatement* isCaseStatement() { return NULL; }
143 144
144 // LDC 145 #if IN_LLVM
145 virtual void toNakedIR(IRState *irs); 146 virtual void toNakedIR(IRState *irs);
146 virtual AsmBlockStatement* endsWithAsm(); 147 virtual AsmBlockStatement* endsWithAsm();
148 #endif
147 }; 149 };
148 150
149 struct PeelStatement : Statement 151 struct PeelStatement : Statement
150 { 152 {
151 Statement *s; 153 Statement *s;
170 Expression *doInline(InlineDoState *ids); 172 Expression *doInline(InlineDoState *ids);
171 Statement *inlineScan(InlineScanState *iss); 173 Statement *inlineScan(InlineScanState *iss);
172 174
173 void toIR(IRState *irs); 175 void toIR(IRState *irs);
174 176
175 // LDC 177 #if IN_LLVM
176 void toNakedIR(IRState *irs); 178 void toNakedIR(IRState *irs);
179 #endif
177 }; 180 };
178 181
179 struct CompileStatement : Statement 182 struct CompileStatement : Statement
180 { 183 {
181 Expression *exp; 184 Expression *exp;