|
@@ -4632,7 +4632,7 @@ var self=this,$self=this;
|
|
|
|
|
|
return $core.withContext(function($ctx1) {
|
|
|
|
|
|
-var $1,$4,$3,$2,$5,$6,$7;
|
|
|
+var $1,$4,$3,$2,$5;
|
|
|
$1=$self._stream();
|
|
|
|
|
|
$ctx1.sendIdx["stream"]=1;
|
|
@@ -4681,66 +4681,93 @@ $recv($1)._lf();
|
|
|
|
|
|
$ctx1.sendIdx["lf"]=4;
|
|
|
|
|
|
-$5="(".__comma($recv($self._currentClass())._asJavaScriptSource());
|
|
|
+$self._writeActualSuperSend_(anIRSend);
|
|
|
+$5=$self._stream();
|
|
|
+$recv($5)._nextPutAll_(");");
|
|
|
|
|
|
-$ctx1.sendIdx[","]=2;
|
|
|
+$ctx1.sendIdx["nextPutAll:"]=5;
|
|
|
|
|
|
-$recv($1)._nextPutAll_($5);
|
|
|
+$recv($5)._lf();
|
|
|
|
|
|
-$ctx1.sendIdx["nextPutAll:"]=5;
|
|
|
+$ctx1.sendIdx["lf"]=5;
|
|
|
|
|
|
-$recv($1)._nextPutAll_(".superclass||$boot.nilAsClass).fn.prototype.");
|
|
|
+$recv($5)._nextPutAll_("//>>excludeStart(\x22ctx\x22, pragmas.excludeDebugContexts);");
|
|
|
|
|
|
$ctx1.sendIdx["nextPutAll:"]=6;
|
|
|
|
|
|
-$6=$recv($recv(anIRSend)._javaScriptSelector()).__comma(".apply(");
|
|
|
+$recv($5)._lf();
|
|
|
|
|
|
-$ctx1.sendIdx[","]=3;
|
|
|
+$ctx1.sendIdx["lf"]=6;
|
|
|
|
|
|
-$recv($1)._nextPutAll_($6);
|
|
|
+$recv($5)._nextPutAll_($recv($recv($recv(anIRSend)._scope())._alias()).__comma(".supercall = false;"));
|
|
|
|
|
|
$ctx1.sendIdx["nextPutAll:"]=7;
|
|
|
|
|
|
-$recv($1)._nextPutAll_("$self, ");
|
|
|
+$recv($5)._lf();
|
|
|
+$recv($5)._nextPutAll_("//>>excludeEnd(\x22ctx\x22);");
|
|
|
+return self;
|
|
|
|
|
|
-$ctx1.sendIdx["nextPutAll:"]=8;
|
|
|
+}, function($ctx1) {$ctx1.fill(self,"visitSuperSend:",{anIRSend:anIRSend})});
|
|
|
|
|
|
-$self._visitInstructionList_enclosedBetween_and_($recv(anIRSend)._arguments(),"[","]");
|
|
|
-$7=$self._stream();
|
|
|
-$recv($7)._nextPutAll_("));");
|
|
|
+},
|
|
|
+
|
|
|
+args: ["anIRSend"],
|
|
|
+source: "visitSuperSend: anIRSend\x0a\x09self stream\x0a\x09\x09nextPutAll: '('; lf;\x0a\x09\x09nextPutAll: '//>>excludeStart(\x22ctx\x22, pragmas.excludeDebugContexts);'; lf;\x0a\x09\x09nextPutAll: anIRSend scope alias, '.supercall = true,'; lf;\x0a\x09\x09nextPutAll: '//>>excludeEnd(\x22ctx\x22);'; lf.\x0a\x09self writeActualSuperSend: anIRSend.\x0a\x09self stream \x0a\x09\x09nextPutAll: ');'; lf;\x0a\x09\x09nextPutAll: '//>>excludeStart(\x22ctx\x22, pragmas.excludeDebugContexts);'; lf;\x0a\x09\x09nextPutAll: anIRSend scope alias, '.supercall = false;'; lf;\x0a\x09\x09nextPutAll: '//>>excludeEnd(\x22ctx\x22);'",
|
|
|
+referencedClasses: [],
|
|
|
+
|
|
|
+pragmas: [],
|
|
|
+messageSends: ["nextPutAll:", "stream", "lf", ",", "alias", "scope", "writeActualSuperSend:"]
|
|
|
+}),
|
|
|
+$globals.IRJSTranslator);
|
|
|
+
|
|
|
+$core.addMethod(
|
|
|
+$core.method({
|
|
|
+selector: "writeActualSuperSend:",
|
|
|
+protocol: "visiting",
|
|
|
+fn: function (anIRSend){
|
|
|
+var self=this,$self=this;
|
|
|
|
|
|
-$ctx1.sendIdx["nextPutAll:"]=9;
|
|
|
+return $core.withContext(function($ctx1) {
|
|
|
|
|
|
-$recv($7)._lf();
|
|
|
+var $1,$2;
|
|
|
+$1=$self._stream();
|
|
|
|
|
|
-$ctx1.sendIdx["lf"]=5;
|
|
|
+$ctx1.sendIdx["stream"]=1;
|
|
|
|
|
|
-$recv($7)._nextPutAll_("//>>excludeStart(\x22ctx\x22, pragmas.excludeDebugContexts);");
|
|
|
+$2="(".__comma($recv($self._currentClass())._asJavaScriptSource());
|
|
|
|
|
|
-$ctx1.sendIdx["nextPutAll:"]=10;
|
|
|
+$ctx1.sendIdx[","]=1;
|
|
|
|
|
|
-$recv($7)._lf();
|
|
|
+$recv($1)._nextPutAll_($2);
|
|
|
|
|
|
-$ctx1.sendIdx["lf"]=6;
|
|
|
+$ctx1.sendIdx["nextPutAll:"]=1;
|
|
|
|
|
|
-$recv($7)._nextPutAll_($recv($recv($recv(anIRSend)._scope())._alias()).__comma(".supercall = false;"));
|
|
|
+$recv($1)._nextPutAll_(".superclass||$boot.nilAsClass).fn.prototype.");
|
|
|
|
|
|
-$ctx1.sendIdx["nextPutAll:"]=11;
|
|
|
+$ctx1.sendIdx["nextPutAll:"]=2;
|
|
|
+
|
|
|
+$recv($1)._nextPutAll_($recv($recv(anIRSend)._javaScriptSelector()).__comma(".apply("));
|
|
|
+
|
|
|
+$ctx1.sendIdx["nextPutAll:"]=3;
|
|
|
+
|
|
|
+$recv($1)._nextPutAll_("$self, ");
|
|
|
+
|
|
|
+$ctx1.sendIdx["nextPutAll:"]=4;
|
|
|
|
|
|
-$recv($7)._lf();
|
|
|
-$recv($7)._nextPutAll_("//>>excludeEnd(\x22ctx\x22);");
|
|
|
+$self._visitInstructionList_enclosedBetween_and_($recv(anIRSend)._arguments(),"[","]");
|
|
|
+$recv($self._stream())._nextPutAll_(")");
|
|
|
return self;
|
|
|
|
|
|
-}, function($ctx1) {$ctx1.fill(self,"visitSuperSend:",{anIRSend:anIRSend})});
|
|
|
+}, function($ctx1) {$ctx1.fill(self,"writeActualSuperSend:",{anIRSend:anIRSend})});
|
|
|
|
|
|
},
|
|
|
|
|
|
args: ["anIRSend"],
|
|
|
-source: "visitSuperSend: anIRSend\x0a\x09self stream\x0a\x09\x09nextPutAll: '('; lf;\x0a\x09\x09nextPutAll: '//>>excludeStart(\x22ctx\x22, pragmas.excludeDebugContexts);'; lf;\x0a\x09\x09nextPutAll: anIRSend scope alias, '.supercall = true,'; lf;\x0a\x09\x09nextPutAll: '//>>excludeEnd(\x22ctx\x22);'; lf;\x0a\x09\x09nextPutAll: '(', self currentClass asJavaScriptSource;\x0a\x09\x09nextPutAll: '.superclass||$boot.nilAsClass).fn.prototype.';\x0a\x09\x09nextPutAll: anIRSend javaScriptSelector, '.apply(';\x0a\x09\x09nextPutAll: '$self, '.\x0a\x09self\x0a\x09\x09visitInstructionList: anIRSend arguments\x0a\x09\x09enclosedBetween: '[' and: ']'.\x0a\x09self stream \x0a\x09\x09nextPutAll: '));'; lf;\x0a\x09\x09nextPutAll: '//>>excludeStart(\x22ctx\x22, pragmas.excludeDebugContexts);'; lf;\x0a\x09\x09nextPutAll: anIRSend scope alias, '.supercall = false;'; lf;\x0a\x09\x09nextPutAll: '//>>excludeEnd(\x22ctx\x22);'",
|
|
|
+source: "writeActualSuperSend: anIRSend\x0a\x09self stream\x0a\x09\x09nextPutAll: '(', self currentClass asJavaScriptSource;\x0a\x09\x09nextPutAll: '.superclass||$boot.nilAsClass).fn.prototype.';\x0a\x09\x09nextPutAll: anIRSend javaScriptSelector, '.apply(';\x0a\x09\x09nextPutAll: '$self, '.\x0a\x09self\x0a\x09\x09visitInstructionList: anIRSend arguments\x0a\x09\x09enclosedBetween: '[' and: ']'.\x0a\x09self stream\x0a\x09\x09nextPutAll: ')'",
|
|
|
referencedClasses: [],
|
|
|
|
|
|
pragmas: [],
|
|
|
-messageSends: ["nextPutAll:", "stream", "lf", ",", "alias", "scope", "asJavaScriptSource", "currentClass", "javaScriptSelector", "visitInstructionList:enclosedBetween:and:", "arguments"]
|
|
|
+messageSends: ["nextPutAll:", "stream", ",", "asJavaScriptSource", "currentClass", "javaScriptSelector", "visitInstructionList:enclosedBetween:and:", "arguments"]
|
|
|
}),
|
|
|
$globals.IRJSTranslator);
|
|
|
|