This commit is contained in:
Kevin Jahns
2016-01-27 17:05:28 +01:00
parent 4b6352b11a
commit 89a6ec374e
5 changed files with 55 additions and 54 deletions

View File

@@ -150,7 +150,7 @@ module.exports = function (Y/* :any */) {
var callType = false
if (target == null || !target.deleted) {
yield* this.markDeleted(targetId)
yield* this.markDeleted(targetId, 1)
}
if (target != null && target.gc == null) {
@@ -274,7 +274,8 @@ module.exports = function (Y/* :any */) {
* markDeleted (id, length) {
if (length == null) {
length = 1
// debugger // TODO!!
debugger // TODO!!
throw new Error("dtrnd")
}
// this.mem.push(["del", id]);
var n = yield* this.ds.findWithUpperBound(id)