perf(ProtoRecord): remove the unused prev field

This commit is contained in:
Victor Berchet 2014-12-03 11:03:52 +01:00
parent f088e9ef15
commit f8c070c5e4
2 changed files with 2 additions and 6 deletions

View File

@ -33,10 +33,9 @@ export class ProtoRecord {
funcOrValue:any;
arity:int;
name:string;
dest;
dest:any;
next:ProtoRecord;
prev:ProtoRecord;
recordInConstruction:Record;
constructor(recordRange:ProtoRecordRange,
mode:int,
@ -53,7 +52,6 @@ export class ProtoRecord {
this.dest = dest;
this.next = null;
this.prev = null;
// The concrete Record instantiated from this ProtoRecord
this.recordInConstruction = null;
}

View File

@ -70,7 +70,6 @@ export class ProtoRecordRange {
this.headRecord = head;
} else {
this.tailRecord.next = head;
head.prev = this.tailRecord;
}
this.tailRecord = tail;
}
@ -514,7 +513,6 @@ class ProtoRecordCreator {
this.headRecord = this.tailRecord = protoRecord;
} else {
this.tailRecord.next = protoRecord;
protoRecord.prev = this.tailRecord;
this.tailRecord = protoRecord;
}
}