Mercurial > projects > ldc
comparison dmd/expression.h @ 336:aaade6ded589 trunk
[svn r357] Merged DMD 1.033
author | lindquist |
---|---|
date | Sat, 12 Jul 2008 19:38:31 +0200 |
parents | 5acec6b2eef8 |
children | 9db9099583ca |
comparison
equal
deleted
inserted
replaced
335:17b844102023 | 336:aaade6ded589 |
---|---|
1 | 1 |
2 // Compiler implementation of the D programming language | 2 // Compiler implementation of the D programming language |
3 // Copyright (c) 1999-2007 by Digital Mars | 3 // Copyright (c) 1999-2008 by Digital Mars |
4 // All Rights Reserved | 4 // All Rights Reserved |
5 // written by Walter Bright | 5 // written by Walter Bright |
6 // http://www.digitalmars.com | 6 // http://www.digitalmars.com |
7 // License for redistribution is by either the Artistic License | 7 // License for redistribution is by either the Artistic License |
8 // in artistic.txt, or the GNU General Public License in gnu.txt. | 8 // in artistic.txt, or the GNU General Public License in gnu.txt. |
138 | 138 |
139 virtual int isConst(); | 139 virtual int isConst(); |
140 virtual int isBool(int result); | 140 virtual int isBool(int result); |
141 virtual int isBit(); | 141 virtual int isBit(); |
142 virtual int checkSideEffect(int flag); | 142 virtual int checkSideEffect(int flag); |
143 virtual int canThrow(); | |
143 | 144 |
144 virtual int inlineCost(InlineCostState *ics); | 145 virtual int inlineCost(InlineCostState *ics); |
145 virtual Expression *doInline(InlineDoState *ids); | 146 virtual Expression *doInline(InlineDoState *ids); |
146 virtual Expression *inlineScan(InlineScanState *iss); | 147 virtual Expression *inlineScan(InlineScanState *iss); |
147 | 148 |