Explorar o código

remove JS inlining restrictions

Simon Krajewski %!s(int64=12) %!d(string=hai) anos
pai
achega
1127f193fb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      optimizer.ml

+ 1 - 1
optimizer.ml

@@ -382,7 +382,7 @@ let rec type_inline ctx cf f ethis params tret config p force =
 
 
 		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 || (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 =