Delete unused variables.
authorMario de Sousa <msousa@fe.up.pt>
Sun, 07 Oct 2012 09:33:42 +0100
changeset 673 90d7636e3c39
parent 672 dee28c5bdc73
child 674 b221168a36f1
Delete unused variables.
stage3/narrow_candidate_datatypes.cc
stage3/narrow_candidate_datatypes.hh
--- a/stage3/narrow_candidate_datatypes.cc	Sat Oct 06 22:29:04 2012 +0100
+++ b/stage3/narrow_candidate_datatypes.cc	Sun Oct 07 09:33:42 2012 +0100
@@ -66,9 +66,7 @@
 static int debug = 0;
 
 narrow_candidate_datatypes_c::narrow_candidate_datatypes_c(symbol_c *ignore) {
-	prev_il_instructions = NULL;
 	search_varfb_instance_type = NULL;
-	prev_il_instructions_intersected_datatypes = NULL;
 	fake_prev_il_instruction = NULL;
 	il_operand = NULL;
 }
--- a/stage3/narrow_candidate_datatypes.hh	Sat Oct 06 22:29:04 2012 +0100
+++ b/stage3/narrow_candidate_datatypes.hh	Sun Oct 07 09:33:42 2012 +0100
@@ -53,6 +53,10 @@
  *  then a datatype error has been found, and the datatype is either left at NULL, or set to a pointer of an invalid_type_name_c object!
  */
 
+#ifndef _NARROW_CANDIDATE_DATATYPES_HH
+#define _NARROW_CANDIDATE_DATATYPES_HH
+
+
 
 #include "../absyntax_utils/absyntax_utils.hh"
 #include "datatype_functions.hh"
@@ -64,8 +68,6 @@
     search_base_type_c search_base_type;
     symbol_c *il_operand;
     il_instruction_c *fake_prev_il_instruction;
-    std::vector <symbol_c *> *prev_il_instructions;
-    std::vector <symbol_c *> *prev_il_instructions_intersected_datatypes;
 
     bool is_widening_compatible(const struct widen_entry widen_table[], symbol_c *left_type, symbol_c *right_type, symbol_c *result_type, bool *deprecated_status = NULL);
 
@@ -265,7 +267,7 @@
 
 
 
-
-
-
-
+#endif // #ifndef _NARROW_CANDIDATE_DATATYPES_HH
+
+
+