浏览代码

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

Nicolas Petton 11 年之前
父节点
当前提交
4d393fc43b
共有 1 个文件被更改,包括 1 次插入0 次删除
  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() {