stage3/flow_control_analysis.cc
changeset 690 6156ee2b4e32
parent 685 5b19e376cc94
child 1041 56ebe2a31b5b
--- a/stage3/flow_control_analysis.cc	Thu Oct 25 18:12:51 2012 +0100
+++ b/stage3/flow_control_analysis.cc	Thu Oct 25 18:20:28 2012 +0100
@@ -265,7 +265,9 @@
 		return NULL;
   
 	symbol_c *save_prev_il_instruction = prev_il_instruction;
-	prev_il_instruction = symbol->il_operand;
+	/* Stage2 will insert an artificial (and equivalent) LD <il_operand> to the simple_instr_list if necessary. We can therefore ignore the 'il_operand' entry! */
+	// prev_il_instruction = symbol->il_operand;
+	prev_il_instruction = NULL;
 	symbol->simple_instr_list->accept(*this);
 	prev_il_instruction = save_prev_il_instruction;
 	return NULL;