equal
deleted
inserted
replaced
63 |
63 |
64 public: |
64 public: |
65 constant_folding_c(symbol_c *symbol = NULL); |
65 constant_folding_c(symbol_c *symbol = NULL); |
66 virtual ~constant_folding_c(void); |
66 virtual ~constant_folding_c(void); |
67 int get_error_count(); |
67 int get_error_count(); |
|
68 |
|
69 #if 0 |
|
70 // not currently needed, so comment it out!... |
|
71 /* utility functions for other stage3 algorithms to access the contant folded values */ |
|
72 /* written as static since we do not need to iteratively visit the symbols! */ |
|
73 // returns true if both symbols have the same value in all the cvalues |
|
74 static bool is_equal_cvalue(symbol_c *symbol_1, symbol_c *symbol_2); |
|
75 #endif |
68 |
76 |
69 private: |
77 private: |
70 /*********************/ |
78 /*********************/ |
71 /* B 1.2 - Constants */ |
79 /* B 1.2 - Constants */ |
72 /*********************/ |
80 /*********************/ |