stage3/constant_folding.hh
changeset 945 477393b00f95
parent 792 78083edf93d5
child 963 e3d4dca7520b
--- a/stage3/constant_folding.hh	Sat Oct 25 13:20:10 2014 +0100
+++ b/stage3/constant_folding.hh	Sun Nov 16 12:54:10 2014 +0000
@@ -66,6 +66,14 @@
 	virtual ~constant_folding_c(void);
 	int get_error_count();
 
+	#if 0
+	// not currently needed, so comment it out!...
+	/* utility functions for other stage3 algorithms to access the contant folded values */
+	/* written as static since we do not need to iteratively visit the symbols! */
+	// returns true if both symbols have the same value in all the cvalues
+	static bool is_equal_cvalue(symbol_c *symbol_1, symbol_c *symbol_2);
+	#endif
+
   private:
     /*********************/
     /* B 1.2 - Constants */