浏览代码

Removes old Node methods fron *Compiler-Interpreter

Nicolas Petton 10 年之前
父节点
当前提交
55b3ab1142
共有 2 个文件被更改,包括 0 次插入346 次删除
  1. 0 270
      js/Compiler-Interpreter.js
  2. 0 76
      st/Compiler-Interpreter.st

+ 0 - 270
js/Compiler-Interpreter.js

@@ -2316,24 +2316,6 @@ referencedClasses: []
 smalltalk.ASTPCNodeVisitor);
 
 
-smalltalk.addMethod(
-smalltalk.method({
-selector: "interpreter:continue:",
-category: '*Compiler-Interpreter',
-fn: function (anInterpreter,aBlock){
-var self=this;
-return smalltalk.withContext(function($ctx1) { 
-var $1;
-$1=_st(anInterpreter)._interpretNode_continue_(self,aBlock);
-return $1;
-}, function($ctx1) {$ctx1.fill(self,"interpreter:continue:",{anInterpreter:anInterpreter,aBlock:aBlock},smalltalk.Node)})},
-args: ["anInterpreter", "aBlock"],
-source: "interpreter: anInterpreter continue: aBlock\x0a\x09^ anInterpreter interpretNode: self continue: aBlock",
-messageSends: ["interpretNode:continue:"],
-referencedClasses: []
-}),
-smalltalk.Node);
-
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isSteppingNode",
@@ -2350,24 +2332,6 @@ referencedClasses: []
 }),
 smalltalk.Node);
 
-smalltalk.addMethod(
-smalltalk.method({
-selector: "interpreter:continue:",
-category: '*Compiler-Interpreter',
-fn: function (anInterpreter,aBlock){
-var self=this;
-return smalltalk.withContext(function($ctx1) { 
-var $1;
-$1=_st(anInterpreter)._interpretAssignmentNode_continue_(self,aBlock);
-return $1;
-}, function($ctx1) {$ctx1.fill(self,"interpreter:continue:",{anInterpreter:anInterpreter,aBlock:aBlock},smalltalk.AssignmentNode)})},
-args: ["anInterpreter", "aBlock"],
-source: "interpreter: anInterpreter continue: aBlock\x0a\x09^ anInterpreter interpretAssignmentNode: self continue: aBlock",
-messageSends: ["interpretAssignmentNode:continue:"],
-referencedClasses: []
-}),
-smalltalk.AssignmentNode);
-
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isSteppingNode",
@@ -2384,24 +2348,6 @@ referencedClasses: []
 }),
 smalltalk.AssignmentNode);
 
-smalltalk.addMethod(
-smalltalk.method({
-selector: "interpreter:continue:",
-category: '*Compiler-Interpreter',
-fn: function (anInterpreter,aBlock){
-var self=this;
-return smalltalk.withContext(function($ctx1) { 
-var $1;
-$1=_st(anInterpreter)._interpretBlockNode_continue_(self,aBlock);
-return $1;
-}, function($ctx1) {$ctx1.fill(self,"interpreter:continue:",{anInterpreter:anInterpreter,aBlock:aBlock},smalltalk.BlockNode)})},
-args: ["anInterpreter", "aBlock"],
-source: "interpreter: anInterpreter continue: aBlock\x0a\x09^ anInterpreter interpretBlockNode: self continue: aBlock",
-messageSends: ["interpretBlockNode:continue:"],
-referencedClasses: []
-}),
-smalltalk.BlockNode);
-
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isSteppingNode",
@@ -2418,42 +2364,6 @@ referencedClasses: []
 }),
 smalltalk.BlockNode);
 
-smalltalk.addMethod(
-smalltalk.method({
-selector: "interpreter:continue:",
-category: '*Compiler-Interpreter',
-fn: function (anInterpreter,aBlock){
-var self=this;
-return smalltalk.withContext(function($ctx1) { 
-var $1;
-$1=_st(anInterpreter)._interpretCascadeNode_continue_(self,aBlock);
-return $1;
-}, function($ctx1) {$ctx1.fill(self,"interpreter:continue:",{anInterpreter:anInterpreter,aBlock:aBlock},smalltalk.CascadeNode)})},
-args: ["anInterpreter", "aBlock"],
-source: "interpreter: anInterpreter continue: aBlock\x0a\x09^ anInterpreter interpretCascadeNode: self continue: aBlock",
-messageSends: ["interpretCascadeNode:continue:"],
-referencedClasses: []
-}),
-smalltalk.CascadeNode);
-
-smalltalk.addMethod(
-smalltalk.method({
-selector: "interpreter:continue:",
-category: '*Compiler-Interpreter',
-fn: function (anInterpreter,aBlock){
-var self=this;
-return smalltalk.withContext(function($ctx1) { 
-var $1;
-$1=_st(anInterpreter)._interpretDynamicArrayNode_continue_(self,aBlock);
-return $1;
-}, function($ctx1) {$ctx1.fill(self,"interpreter:continue:",{anInterpreter:anInterpreter,aBlock:aBlock},smalltalk.DynamicArrayNode)})},
-args: ["anInterpreter", "aBlock"],
-source: "interpreter: anInterpreter continue: aBlock\x0a\x09^ anInterpreter interpretDynamicArrayNode: self continue: aBlock",
-messageSends: ["interpretDynamicArrayNode:continue:"],
-referencedClasses: []
-}),
-smalltalk.DynamicArrayNode);
-
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isSteppingNode",
@@ -2470,24 +2380,6 @@ referencedClasses: []
 }),
 smalltalk.DynamicArrayNode);
 
-smalltalk.addMethod(
-smalltalk.method({
-selector: "interpreter:continue:",
-category: '*Compiler-Interpreter',
-fn: function (anInterpreter,aBlock){
-var self=this;
-return smalltalk.withContext(function($ctx1) { 
-var $1;
-$1=_st(anInterpreter)._interpretDynamicDictionaryNode_continue_(self,aBlock);
-return $1;
-}, function($ctx1) {$ctx1.fill(self,"interpreter:continue:",{anInterpreter:anInterpreter,aBlock:aBlock},smalltalk.DynamicDictionaryNode)})},
-args: ["anInterpreter", "aBlock"],
-source: "interpreter: anInterpreter continue: aBlock\x0a\x09^ anInterpreter interpretDynamicDictionaryNode: self continue: aBlock",
-messageSends: ["interpretDynamicDictionaryNode:continue:"],
-referencedClasses: []
-}),
-smalltalk.DynamicDictionaryNode);
-
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isSteppingNode",
@@ -2504,24 +2396,6 @@ referencedClasses: []
 }),
 smalltalk.DynamicDictionaryNode);
 
-smalltalk.addMethod(
-smalltalk.method({
-selector: "interpreter:continue:",
-category: '*Compiler-Interpreter',
-fn: function (anInterpreter,aBlock){
-var self=this;
-return smalltalk.withContext(function($ctx1) { 
-var $1;
-$1=_st(anInterpreter)._interpretJSStatementNode_continue_(self,aBlock);
-return $1;
-}, function($ctx1) {$ctx1.fill(self,"interpreter:continue:",{anInterpreter:anInterpreter,aBlock:aBlock},smalltalk.JSStatementNode)})},
-args: ["anInterpreter", "aBlock"],
-source: "interpreter: anInterpreter continue: aBlock\x0a\x09^ anInterpreter interpretJSStatementNode: self continue: aBlock",
-messageSends: ["interpretJSStatementNode:continue:"],
-referencedClasses: []
-}),
-smalltalk.JSStatementNode);
-
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isSteppingNode",
@@ -2538,60 +2412,6 @@ referencedClasses: []
 }),
 smalltalk.JSStatementNode);
 
-smalltalk.addMethod(
-smalltalk.method({
-selector: "interpreter:continue:",
-category: '*Compiler-Interpreter',
-fn: function (anInterpreter,aBlock){
-var self=this;
-return smalltalk.withContext(function($ctx1) { 
-var $1;
-$1=_st(anInterpreter)._interpretMethodNode_continue_(self,aBlock);
-return $1;
-}, function($ctx1) {$ctx1.fill(self,"interpreter:continue:",{anInterpreter:anInterpreter,aBlock:aBlock},smalltalk.MethodNode)})},
-args: ["anInterpreter", "aBlock"],
-source: "interpreter: anInterpreter continue: aBlock\x0a\x09^ anInterpreter interpretMethodNode: self continue: aBlock",
-messageSends: ["interpretMethodNode:continue:"],
-referencedClasses: []
-}),
-smalltalk.MethodNode);
-
-smalltalk.addMethod(
-smalltalk.method({
-selector: "interpreter:continue:",
-category: '*Compiler-Interpreter',
-fn: function (anInterpreter,aBlock){
-var self=this;
-return smalltalk.withContext(function($ctx1) { 
-var $1;
-$1=_st(anInterpreter)._interpretReturnNode_continue_(self,aBlock);
-return $1;
-}, function($ctx1) {$ctx1.fill(self,"interpreter:continue:",{anInterpreter:anInterpreter,aBlock:aBlock},smalltalk.ReturnNode)})},
-args: ["anInterpreter", "aBlock"],
-source: "interpreter: anInterpreter continue: aBlock\x0a\x09^ anInterpreter interpretReturnNode: self continue: aBlock",
-messageSends: ["interpretReturnNode:continue:"],
-referencedClasses: []
-}),
-smalltalk.ReturnNode);
-
-smalltalk.addMethod(
-smalltalk.method({
-selector: "interpreter:continue:",
-category: '*Compiler-Interpreter',
-fn: function (anInterpreter,aBlock){
-var self=this;
-return smalltalk.withContext(function($ctx1) { 
-var $1;
-$1=_st(anInterpreter)._interpretSendNode_continue_(self,aBlock);
-return $1;
-}, function($ctx1) {$ctx1.fill(self,"interpreter:continue:",{anInterpreter:anInterpreter,aBlock:aBlock},smalltalk.SendNode)})},
-args: ["anInterpreter", "aBlock"],
-source: "interpreter: anInterpreter continue: aBlock\x0a\x09^ anInterpreter interpretSendNode: self continue: aBlock",
-messageSends: ["interpretSendNode:continue:"],
-referencedClasses: []
-}),
-smalltalk.SendNode);
-
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isSteppingNode",
@@ -2608,94 +2428,4 @@ referencedClasses: []
 }),
 smalltalk.SendNode);
 
-smalltalk.addMethod(
-smalltalk.method({
-selector: "interpreter:continue:",
-category: '*Compiler-Interpreter',
-fn: function (anInterpreter,aBlock){
-var self=this;
-return smalltalk.withContext(function($ctx1) { 
-var $1;
-$1=_st(anInterpreter)._interpretSequenceNode_continue_(self,aBlock);
-return $1;
-}, function($ctx1) {$ctx1.fill(self,"interpreter:continue:",{anInterpreter:anInterpreter,aBlock:aBlock},smalltalk.SequenceNode)})},
-args: ["anInterpreter", "aBlock"],
-source: "interpreter: anInterpreter continue: aBlock\x0a\x09^ anInterpreter interpretSequenceNode: self continue: aBlock",
-messageSends: ["interpretSequenceNode:continue:"],
-referencedClasses: []
-}),
-smalltalk.SequenceNode);
-
-smalltalk.addMethod(
-smalltalk.method({
-selector: "interpreter:continue:",
-category: '*Compiler-Interpreter',
-fn: function (anInterpreter,aBlock){
-var self=this;
-return smalltalk.withContext(function($ctx1) { 
-var $1;
-$1=_st(anInterpreter)._interpretBlockSequenceNode_continue_(self,aBlock);
-return $1;
-}, function($ctx1) {$ctx1.fill(self,"interpreter:continue:",{anInterpreter:anInterpreter,aBlock:aBlock},smalltalk.BlockSequenceNode)})},
-args: ["anInterpreter", "aBlock"],
-source: "interpreter: anInterpreter continue: aBlock\x0a\x09^ anInterpreter interpretBlockSequenceNode: self continue: aBlock",
-messageSends: ["interpretBlockSequenceNode:continue:"],
-referencedClasses: []
-}),
-smalltalk.BlockSequenceNode);
-
-smalltalk.addMethod(
-smalltalk.method({
-selector: "interpreter:continue:",
-category: '*Compiler-Interpreter',
-fn: function (anInterpreter,aBlock){
-var self=this;
-return smalltalk.withContext(function($ctx1) { 
-var $1;
-$1=_st(anInterpreter)._interpretValueNode_continue_(self,aBlock);
-return $1;
-}, function($ctx1) {$ctx1.fill(self,"interpreter:continue:",{anInterpreter:anInterpreter,aBlock:aBlock},smalltalk.ValueNode)})},
-args: ["anInterpreter", "aBlock"],
-source: "interpreter: anInterpreter continue: aBlock\x0a\x09^ anInterpreter interpretValueNode: self continue: aBlock",
-messageSends: ["interpretValueNode:continue:"],
-referencedClasses: []
-}),
-smalltalk.ValueNode);
-
-smalltalk.addMethod(
-smalltalk.method({
-selector: "interpreter:continue:",
-category: '*Compiler-Interpreter',
-fn: function (anInterpreter,aBlock){
-var self=this;
-return smalltalk.withContext(function($ctx1) { 
-var $1;
-$1=_st(anInterpreter)._interpretVariableNode_continue_(self,aBlock);
-return $1;
-}, function($ctx1) {$ctx1.fill(self,"interpreter:continue:",{anInterpreter:anInterpreter,aBlock:aBlock},smalltalk.VariableNode)})},
-args: ["anInterpreter", "aBlock"],
-source: "interpreter: anInterpreter continue: aBlock\x0a\x09^ anInterpreter interpretVariableNode: self continue: aBlock",
-messageSends: ["interpretVariableNode:continue:"],
-referencedClasses: []
-}),
-smalltalk.VariableNode);
-
-smalltalk.addMethod(
-smalltalk.method({
-selector: "interpreter:continue:",
-category: '*Compiler-Interpreter',
-fn: function (anInterpreter,aBlock){
-var self=this;
-return smalltalk.withContext(function($ctx1) { 
-var $1;
-$1=_st(anInterpreter)._interpretClassReferenceNode_continue_(self,aBlock);
-return $1;
-}, function($ctx1) {$ctx1.fill(self,"interpreter:continue:",{anInterpreter:anInterpreter,aBlock:aBlock},smalltalk.ClassReferenceNode)})},
-args: ["anInterpreter", "aBlock"],
-source: "interpreter: anInterpreter continue: aBlock\x0a\x09^ anInterpreter interpretClassReferenceNode: self continue: aBlock",
-messageSends: ["interpretClassReferenceNode:continue:"],
-referencedClasses: []
-}),
-smalltalk.ClassReferenceNode);
-
 });

+ 0 - 76
st/Compiler-Interpreter.st

@@ -796,119 +796,43 @@ visitSendNode: aNode
 
 !Node methodsFor: '*Compiler-Interpreter'!
 
-interpreter: anInterpreter continue: aBlock
-	^ anInterpreter interpretNode: self continue: aBlock
-!
-
 isSteppingNode
 	^ false
 ! !
 
 !AssignmentNode methodsFor: '*Compiler-Interpreter'!
 
-interpreter: anInterpreter continue: aBlock
-	^ anInterpreter interpretAssignmentNode: self continue: aBlock
-!
-
 isSteppingNode
 	^ true
 ! !
 
 !BlockNode methodsFor: '*Compiler-Interpreter'!
 
-interpreter: anInterpreter continue: aBlock
-	^ anInterpreter interpretBlockNode: self continue: aBlock
-!
-
 isSteppingNode
 	^ true
 ! !
 
-!CascadeNode methodsFor: '*Compiler-Interpreter'!
-
-interpreter: anInterpreter continue: aBlock
-	^ anInterpreter interpretCascadeNode: self continue: aBlock
-! !
-
 !DynamicArrayNode methodsFor: '*Compiler-Interpreter'!
 
-interpreter: anInterpreter continue: aBlock
-	^ anInterpreter interpretDynamicArrayNode: self continue: aBlock
-!
-
 isSteppingNode
 	^ true
 ! !
 
 !DynamicDictionaryNode methodsFor: '*Compiler-Interpreter'!
 
-interpreter: anInterpreter continue: aBlock
-	^ anInterpreter interpretDynamicDictionaryNode: self continue: aBlock
-!
-
 isSteppingNode
 	^ true
 ! !
 
 !JSStatementNode methodsFor: '*Compiler-Interpreter'!
 
-interpreter: anInterpreter continue: aBlock
-	^ anInterpreter interpretJSStatementNode: self continue: aBlock
-!
-
 isSteppingNode
 	^ true
 ! !
 
-!MethodNode methodsFor: '*Compiler-Interpreter'!
-
-interpreter: anInterpreter continue: aBlock
-	^ anInterpreter interpretMethodNode: self continue: aBlock
-! !
-
-!ReturnNode methodsFor: '*Compiler-Interpreter'!
-
-interpreter: anInterpreter continue: aBlock
-	^ anInterpreter interpretReturnNode: self continue: aBlock
-! !
-
 !SendNode methodsFor: '*Compiler-Interpreter'!
 
-interpreter: anInterpreter continue: aBlock
-	^ anInterpreter interpretSendNode: self continue: aBlock
-!
-
 isSteppingNode
 	^ true
 ! !
 
-!SequenceNode methodsFor: '*Compiler-Interpreter'!
-
-interpreter: anInterpreter continue: aBlock
-	^ anInterpreter interpretSequenceNode: self continue: aBlock
-! !
-
-!BlockSequenceNode methodsFor: '*Compiler-Interpreter'!
-
-interpreter: anInterpreter continue: aBlock
-	^ anInterpreter interpretBlockSequenceNode: self continue: aBlock
-! !
-
-!ValueNode methodsFor: '*Compiler-Interpreter'!
-
-interpreter: anInterpreter continue: aBlock
-	^ anInterpreter interpretValueNode: self continue: aBlock
-! !
-
-!VariableNode methodsFor: '*Compiler-Interpreter'!
-
-interpreter: anInterpreter continue: aBlock
-	^ anInterpreter interpretVariableNode: self continue: aBlock
-! !
-
-!ClassReferenceNode methodsFor: '*Compiler-Interpreter'!
-
-interpreter: anInterpreter continue: aBlock
-	^ anInterpreter interpretClassReferenceNode: self continue: aBlock
-! !
-