Browse Source

(Flash8) run side-effect handler

Simon Krajewski 11 years ago
parent
commit
c584969ff2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      filters.ml

+ 1 - 1
filters.ml

@@ -1081,7 +1081,7 @@ let run com tctx main =
 		Codegen.Abstract.handle_abstract_casts tctx;
 		Codegen.Abstract.handle_abstract_casts tctx;
 		blockify_ast;
 		blockify_ast;
 		(match com.platform with
 		(match com.platform with
-			| Cpp -> (fun e ->
+			| Cpp | Flash8 -> (fun e ->
 				let save = save_locals tctx in
 				let save = save_locals tctx in
 				let e = handle_side_effects com (Typecore.gen_local tctx) e in
 				let e = handle_side_effects com (Typecore.gen_local tctx) e in
 				save();
 				save();