Explorar o código

adds a third argument for fillBlock() to keep track of the block index while debugging

Nicolas Petton %!s(int64=11) %!d(string=hai) anos
pai
achega
4d393fc43b
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      support/boot.js

+ 1 - 0
support/boot.js

@@ -824,6 +824,7 @@ function RuntimeBrik(brikz, st) {
 		SmalltalkMethodContext.prototype.fillBlock = function(locals, ctx) {
 			this.locals        = locals || {};
 			this.outerContext  = ctx;
+			this.index         = index || 0;
 		};
 
 		SmalltalkMethodContext.prototype.init = function() {