Sfoglia il codice sorgente

Recompile w/ deep return inlining.

Herbert Vojčík 7 anni fa
parent
commit
a6cabc6159
1 ha cambiato i file con 6 aggiunte e 8 eliminazioni
  1. 6 8
      src/Compiler-Interpreter.js

+ 6 - 8
src/Compiler-Interpreter.js

@@ -385,15 +385,13 @@ var $1,$2,$3,$receiver;
 $1=self._isBlockContext();
 if($core.assert($1)){
 $2=self._outerContext();
-return $recv($2)._ifNotNil_((function(context){
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
-return $core.withContext(function($ctx2) {
-//>>excludeEnd("ctx");
+if(($receiver = $2) == null || $receiver.isNil){
+return $2;
+} else {
+var context;
+context=$receiver;
 return $recv(context)._ast();
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
-}, function($ctx2) {$ctx2.fillBlock({context:context},$ctx1,2)});
-//>>excludeEnd("ctx");
-}));
+};
 };
 $3=self["@ast"];
 if(($receiver = $3) == null || $receiver.isNil){