On 10/19/21 8:25 AM, Alex Bennée wrote:
-    TCGTempSet temps_used;
+    OptContext ctx = {};
/* Array VALS has an element for each temp.
         If this temp holds a constant then its value is kept in VALS' element.
@@ -615,7 +619,6 @@ void tcg_optimize(TCGContext *s)
      nb_temps = s->nb_temps;
      nb_globals = s->nb_globals;
- memset(&temps_used, 0, sizeof(temps_used));

Did you mean to drop this memset entirely given I see it being done
later on?

It went to the struct initialization above.


r~

Reply via email to