Browse Source

lose JS inlining restriction

Simon Krajewski 9 years ago
parent
commit
53751f54c5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      optimizer.ml

+ 1 - 1
optimizer.ml

@@ -613,7 +613,7 @@ let rec type_inline ctx cf f ethis params tret config p ?(self_calling_closure=f
 
 
 		This could be fixed with better post process code cleanup (planed)
 		This could be fixed with better post process code cleanup (planed)
 	*)
 	*)
-	if !cancel_inlining || (not (Common.defined ctx.com Define.Analyzer) && Common.platform ctx.com Js && not !force && (init <> None || !has_vars)) then
+	if !cancel_inlining then
 		None
 		None
 	else
 	else
 		let wrap e =
 		let wrap e =