소스 검색

Reverts b44fdfa91f05ec5c202a6105fb33caf2144166e7 (see #6819)

ncannasse 7 년 전
부모
커밋
2b9db58389
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/optimization/dce.ml

+ 1 - 1
src/optimization/dce.ml

@@ -145,7 +145,7 @@ and mark_field dce c cf stat =
 			| Some (c,_) -> mark_field dce c cf stat
 		end else
 			add cf;
-		if not stat && is_physical_var_field cf then
+		if not stat then
 			match c.cl_constructor with
 				| None -> ()
 				| Some ctor -> mark_field dce c ctor false