|
@@ -2027,8 +2027,8 @@ module CopyPropagation = DataFlow(struct
|
|
|
let commit ctx =
|
|
|
(* We don't care about the scope on JS and AS3 because they hoist var declarations. *)
|
|
|
let in_scope bb bb' = match ctx.com.platform with
|
|
|
- | Js -> true
|
|
|
- | Flash when Common.defined ctx.com Define.As3 -> true
|
|
|
+(* | Js -> true
|
|
|
+ | Flash when Common.defined ctx.com Define.As3 -> true *)
|
|
|
| _ -> List.mem (List.hd bb'.bb_scopes) bb.bb_scopes
|
|
|
in
|
|
|
let rec commit bb e = match e.eexpr with
|