diff --git a/js-assembler/runtime-src/baselib-frames.js b/js-assembler/runtime-src/baselib-frames.js index f2f0848..53479f2 100644 --- a/js-assembler/runtime-src/baselib-frames.js +++ b/js-assembler/runtime-src/baselib-frames.js @@ -38,7 +38,7 @@ // When we're in the middle of computing with-cont-mark, we // stash the key in here temporarily. - this.pendingContinuationMarkKey = undefined; + // this.pendingContinuationMarkKey = undefined; }; CallFrame.prototype = baselib.heir(Frame.prototype); @@ -55,7 +55,7 @@ // When we're in the middle of computing with-cont-mark, we // stash the key in here temporarily. - this.pendingContinuationMarkKey = undefined; + // this.pendingContinuationMarkKey = undefined; }; PromptFrame.prototype = baselib.heir(Frame.prototype); diff --git a/js-assembler/runtime-src/baselib-primitives.js b/js-assembler/runtime-src/baselib-primitives.js index db35943..ba6ca9c 100644 --- a/js-assembler/runtime-src/baselib-primitives.js +++ b/js-assembler/runtime-src/baselib-primitives.js @@ -2249,11 +2249,7 @@ constructorName, initFieldCount + (superType ? superType.numberOfArgs : 0), function (M) { - var args = []; - var i; - for(i = 0; i < M.a; i++) { - args.push(M.e[M.e.length - 1 - i]); - } + var args = M.e.slice(M.e.length - M.a).reverse(); return structType.constructor.apply(null, args); });