|
@@ -581,12 +581,6 @@ function SmalltalkMethodContext(receiver, selector, method, temps, home) {
|
|
|
this.method = method;
|
|
|
this.temps = temps || {};
|
|
|
this.homeContext = home;
|
|
|
-
|
|
|
- this.resume = function() {
|
|
|
- //Brutally set the receiver as thisContext, then re-enter the function
|
|
|
- smalltalk.thisContext = this;
|
|
|
- return this.method.apply(receiver, temps);
|
|
|
- };
|
|
|
};
|
|
|
|
|
|
SmalltalkMethodContext.prototype.copy = function() {
|
|
@@ -601,6 +595,12 @@ SmalltalkMethodContext.prototype.copy = function() {
|
|
|
);
|
|
|
};
|
|
|
|
|
|
+SmalltalkMethodContext.prototype.resume = function() {
|
|
|
+ //Brutally set the receiver as thisContext, then re-enter the function
|
|
|
+ smalltalk.thisContext = this;
|
|
|
+ return this.method.apply(receiver, temps);
|
|
|
+};
|
|
|
+
|
|
|
/* Global Smalltalk objects. */
|
|
|
|
|
|
var nil = new SmalltalkNil();
|