annotate dmd/BE.d @ 56:51605de93870

TupleExp.optimize UnrolledLoopStatement.ctor UnrolledLoopStatement.semantic UnrolledLoopStatement.blockExit OrOrExp.checkSideEffect FuncExp.syntaxCopy FuncLiteralDeclaration.syntaxCopy WhileStatement.hasBreak StructInitializer.toExpression StructLiteralExp.ctor StructLiteralExp.optimize BinExp.commonSemanticAssign ModAssignExp.opId Argument.isLazyArray CommaExp.implicitConvTo CommaExp.castTo TypeClass.isBaseOf createTypeInfoArray TypeTuple.getTypeInfoDeclaration TypeInfoTupleDeclaration.ctor TypeNext.constConv XorExp.implicitConvTo TemplateParameter.isTemplateValueParameter
author korDen
date Sat, 21 Aug 2010 14:16:53 +0400
parents 10317f0c89a5
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
1 module dmd.BE;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
2
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
3 /* How a statement exits; this is returned by blockExit()
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
4 */
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
5 enum BE
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
6 {
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
7 BEnone = 0,
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
8 BEfallthru = 1,
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
9 BEthrow = 2,
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
10 BEreturn = 4,
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
11 BEgoto = 8,
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
12 BEhalt = 0x10,
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
13 BEbreak = 0x20,
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
14 BEcontinue = 0x40,
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
15 BEany = (BEfallthru | BEthrow | BEreturn | BEgoto | BEhalt),
56
51605de93870 TupleExp.optimize
korDen
parents: 0
diff changeset
16 }
51605de93870 TupleExp.optimize
korDen
parents: 0
diff changeset
17
51605de93870 TupleExp.optimize
korDen
parents: 0
diff changeset
18 import dmd.EnumUtils;
51605de93870 TupleExp.optimize
korDen
parents: 0
diff changeset
19 mixin(BringToCurrentScope!(BE));