Ver código fonte

disable hlopt cache optim (see #8082)

ncannasse 6 anos atrás
pai
commit
bbfe5ac489
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      src/generators/hlopt.ml

+ 2 - 2
src/generators/hlopt.ml

@@ -1042,12 +1042,12 @@ let optimize dump get_str (f:fundecl) (hxf:Type.tfunc) =
 				DynArray.add idxs i
 			| _ -> ()
 		) old_code;
-		opt_cache := PMap.add hxf {
+		(*opt_cache := PMap.add hxf {
 			c_code = old_code;
 			c_rctx = rctx;
 			c_last_used = !used_mark;
 			c_remap_indexes = DynArray.to_array idxs;
-		} (!opt_cache);
+		} (!opt_cache);*)
 		fopt
 
 let clean_cache() =