Ejemplo n.º 1
0
 internal void Delta(DwarfLine against, out ulong deltaAddress,
                     out byte deltaOperationIndex,
                     out bool fileNameChanged,
                     out int deltaLine,
                     out int deltaColumn,
                     out bool isStatementChanged,
                     out bool isBasicBlockChanged,
                     out bool isPrologueEndChanged,
                     out bool isEpilogueBeginChanged,
                     out bool isaChanged,
                     out bool isDiscriminatorChanged)
 {
     deltaAddress           = against.Address - this.Address;
     deltaOperationIndex    = (byte)(against.OperationIndex - this.OperationIndex);
     fileNameChanged        = !ReferenceEquals(this.File, against.File);
     deltaLine              = (int)((long)against.Line - (long)this.Line);
     deltaColumn            = (int)((long)against.Column - (long)this.Column);
     isStatementChanged     = against.IsStatement != this.IsStatement;
     isBasicBlockChanged    = against.IsBasicBlock != this.IsBasicBlock;
     isPrologueEndChanged   = against.IsPrologueEnd != this.IsPrologueEnd;
     isEpilogueBeginChanged = against.IsEpilogueBegin != this.IsEpilogueBegin;
     isaChanged             = against.Isa != this.Isa;
     isDiscriminatorChanged = against.Discriminator != this.Discriminator;
 }
Ejemplo n.º 2
0
 public void Remove(DwarfLine line)
 {
     _lines.Remove(this, line);
 }
Ejemplo n.º 3
0
 public void Add(DwarfLine line)
 {
     _lines.Add(this, line);
 }