|
@@ -5816,41 +5816,19 @@ $globals.ASTNode);
|
|
|
|
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
-selector: "shouldBeAliased",
|
|
|
|
|
|
+selector: "subtreeNeedsAliasing",
|
|
protocol: "*Compiler-IR",
|
|
protocol: "*Compiler-IR",
|
|
//>>excludeStart("ide", pragmas.excludeIdeData);
|
|
//>>excludeStart("ide", pragmas.excludeIdeData);
|
|
args: [],
|
|
args: [],
|
|
-source: "shouldBeAliased\x0a\x09^ super shouldBeAliased or: [ self isReferenced ]",
|
|
|
|
|
|
+source: "subtreeNeedsAliasing\x0a\x09^ true",
|
|
referencedClasses: [],
|
|
referencedClasses: [],
|
|
//>>excludeEnd("ide");
|
|
//>>excludeEnd("ide");
|
|
pragmas: [],
|
|
pragmas: [],
|
|
-messageSends: ["or:", "shouldBeAliased", "isReferenced"]
|
|
|
|
|
|
+messageSends: []
|
|
}, function ($methodClass){ return function (){
|
|
}, function ($methodClass){ return function (){
|
|
var self=this,$self=this;
|
|
var self=this,$self=this;
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
|
-return $core.withContext(function($ctx1) {
|
|
|
|
-//>>excludeEnd("ctx");
|
|
|
|
-var $1;
|
|
|
|
-$1=(
|
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
|
-$ctx1.supercall = true,
|
|
|
|
-//>>excludeEnd("ctx");
|
|
|
|
-($methodClass.superclass||$boot.nilAsClass).fn.prototype._shouldBeAliased.call($self));
|
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
|
-$ctx1.supercall = false;
|
|
|
|
-//>>excludeEnd("ctx");;
|
|
|
|
-return $recv($1)._or_((function(){
|
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
|
-return $core.withContext(function($ctx2) {
|
|
|
|
-//>>excludeEnd("ctx");
|
|
|
|
-return $self._isReferenced();
|
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
|
-}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
|
|
|
|
-//>>excludeEnd("ctx");
|
|
|
|
-}));
|
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
|
-}, function($ctx1) {$ctx1.fill(self,"shouldBeAliased",{})});
|
|
|
|
-//>>excludeEnd("ctx");
|
|
|
|
|
|
+return true;
|
|
|
|
+
|
|
}; }),
|
|
}; }),
|
|
$globals.AssignmentNode);
|
|
$globals.AssignmentNode);
|
|
|
|
|
|
@@ -5883,20 +5861,15 @@ selector: "subtreeNeedsAliasing",
|
|
protocol: "*Compiler-IR",
|
|
protocol: "*Compiler-IR",
|
|
//>>excludeStart("ide", pragmas.excludeIdeData);
|
|
//>>excludeStart("ide", pragmas.excludeIdeData);
|
|
args: [],
|
|
args: [],
|
|
-source: "subtreeNeedsAliasing\x0a\x09^ self parent isSequenceNode not",
|
|
|
|
|
|
+source: "subtreeNeedsAliasing\x0a\x09^ true",
|
|
referencedClasses: [],
|
|
referencedClasses: [],
|
|
//>>excludeEnd("ide");
|
|
//>>excludeEnd("ide");
|
|
pragmas: [],
|
|
pragmas: [],
|
|
-messageSends: ["not", "isSequenceNode", "parent"]
|
|
|
|
|
|
+messageSends: []
|
|
}, function ($methodClass){ return function (){
|
|
}, function ($methodClass){ return function (){
|
|
var self=this,$self=this;
|
|
var self=this,$self=this;
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
|
-return $core.withContext(function($ctx1) {
|
|
|
|
-//>>excludeEnd("ctx");
|
|
|
|
-return $recv($recv($self._parent())._isSequenceNode())._not();
|
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
|
-}, function($ctx1) {$ctx1.fill(self,"subtreeNeedsAliasing",{})});
|
|
|
|
-//>>excludeEnd("ctx");
|
|
|
|
|
|
+return true;
|
|
|
|
+
|
|
}; }),
|
|
}; }),
|
|
$globals.CascadeNode);
|
|
$globals.CascadeNode);
|
|
|
|
|