perf(ProtoRecord): remove the unused prev field
This commit is contained in:
parent
f088e9ef15
commit
f8c070c5e4
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue