Browse Source

Remove unused IRInstruction >> remove.

Herbert Vojčík 7 years ago
parent
commit
1c73e5ffd3
2 changed files with 0 additions and 28 deletions
  1. 0 24
      src/Compiler-IR.js
  2. 0 4
      src/Compiler-IR.st

+ 0 - 24
src/Compiler-IR.js

@@ -1432,30 +1432,6 @@ messageSends: []
 }),
 $globals.IRInstruction);
 
-$core.addMethod(
-$core.method({
-selector: "remove",
-protocol: 'building',
-fn: function (){
-var self=this;
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
-return $core.withContext(function($ctx1) {
-//>>excludeEnd("ctx");
-$recv(self._parent())._remove_(self);
-return self;
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
-}, function($ctx1) {$ctx1.fill(self,"remove",{},$globals.IRInstruction)});
-//>>excludeEnd("ctx");
-},
-//>>excludeStart("ide", pragmas.excludeIdeData);
-args: [],
-source: "remove\x0a\x09self parent remove: self",
-referencedClasses: [],
-//>>excludeEnd("ide");
-messageSends: ["remove:", "parent"]
-}),
-$globals.IRInstruction);
-
 $core.addMethod(
 $core.method({
 selector: "remove:",

+ 0 - 4
src/Compiler-IR.st

@@ -292,10 +292,6 @@ add: anObject
 	^ self instructions add: anObject
 !
 
-remove
-	self parent remove: self
-!
-
 remove: anIRInstruction
 	self instructions remove: anIRInstruction
 !