Searched refs:lencheck (Results 1 – 1 of 1) sorted by relevance
362 IfStatement* lencheck = new IfStatement(); in generate_new_array() local363 lencheck->expression = new Comparison(len, "<", new LiteralExpression("0")); in generate_new_array()364 lencheck->statements->Add(new Assignment(v, NULL_VALUE)); in generate_new_array()365 lencheck->elseif = new IfStatement(); in generate_new_array()366 lencheck->elseif->statements->Add(new Assignment(v, new NewArrayExpression(t->JavaType(), len))); in generate_new_array()367 addTo->Add(lencheck); in generate_new_array()