diff -r 4733f662362a -r 099aa5d655de stage3/flow_control_analysis.cc --- a/stage3/flow_control_analysis.cc Tue Feb 21 17:39:57 2012 +0000 +++ b/stage3/flow_control_analysis.cc Thu Feb 23 13:25:49 2012 +0000 @@ -99,7 +99,7 @@ * list of il_simple_instruction * * il_simple_instruction: - * il_simple_operation (il_simple_operation_c) + * il_simple_operation (il_simple_operation_c, il_function_call_c) * | il_expression (il_expression_c) * | il_formal_funct_call (il_formal_funct_call_c) * @@ -257,8 +257,7 @@ // void *visit(il_operand_list_c *symbol); void *flow_control_analysis_c::visit(simple_instr_list_c *symbol) { - /* The prev_il_instruction for element[0] was set in visit(il_expression_c *) */ - for(int i = 1; i < symbol->n; i++) { + for(int i = 0; i < symbol->n; i++) { /* The prev_il_instruction for element[0] was set in visit(il_expression_c *) */ if (i>0) prev_il_instruction = symbol->elements[i-1]; symbol->elements[i]->accept(*this);