comparison dmd/OrOrExp.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 cab4c37afb89
comparison
equal deleted inserted replaced
55:8c2c7b7579f8 56:51605de93870
113 assert(false); 113 assert(false);
114 } 114 }
115 115
116 bool checkSideEffect(int flag) 116 bool checkSideEffect(int flag)
117 { 117 {
118 assert(false); 118 if (flag == 2)
119 {
120 return e1.checkSideEffect(2) || e2.checkSideEffect(2);
121 }
122 else
123 {
124 e1.checkSideEffect(1);
125 return e2.checkSideEffect(flag);
126 }
119 } 127 }
120 128
121 elem* toElem(IRState* irs) 129 elem* toElem(IRState* irs)
122 { 130 {
123 elem* e = toElemBin(irs,OPoror); 131 elem* e = toElemBin(irs,OPoror);