Browse Source

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

Nicolas Petton 11 years ago
parent
commit
4d393fc43b
1 changed files with 1 additions and 0 deletions
  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() {