소스 검색

disable hlopt cache optim (see #8082)

ncannasse 6 년 전
부모
커밋
bbfe5ac489
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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() =