1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00

[DWARF] DWARFDebugLine: delete unused parameter Offset

llvm-svn: 357866
This commit is contained in:
Fangrui Song 2019-04-07 13:56:14 +00:00
parent a34395f7ad
commit 10e78deefb
2 changed files with 5 additions and 5 deletions

View File

@ -351,7 +351,7 @@ private:
ParsingState(struct LineTable *LT);
void resetRowAndSequence();
void appendRowToMatrix(uint32_t Offset);
void appendRowToMatrix();
/// Line table we're currently parsing.
struct LineTable *LineTable;

View File

@ -424,7 +424,7 @@ void DWARFDebugLine::ParsingState::resetRowAndSequence() {
Sequence.reset();
}
void DWARFDebugLine::ParsingState::appendRowToMatrix(uint32_t Offset) {
void DWARFDebugLine::ParsingState::appendRowToMatrix() {
if (Sequence.Empty) {
// Record the beginning of instruction sequence.
Sequence.Empty = false;
@ -540,7 +540,7 @@ Error DWARFDebugLine::LineTable::parse(
// address is that of the byte after the last target machine instruction
// of the sequence.
State.Row.EndSequence = true;
State.appendRowToMatrix(*OffsetPtr);
State.appendRowToMatrix();
if (OS) {
*OS << "\n";
OS->indent(12);
@ -642,7 +642,7 @@ Error DWARFDebugLine::LineTable::parse(
// Takes no arguments. Append a row to the matrix using the
// current values of the state-machine registers. Then set
// the basic_block register to false.
State.appendRowToMatrix(*OffsetPtr);
State.appendRowToMatrix();
if (OS) {
*OS << "\n";
OS->indent(12);
@ -827,7 +827,7 @@ Error DWARFDebugLine::LineTable::parse(
State.Row.dump(*OS);
}
State.appendRowToMatrix(*OffsetPtr);
State.appendRowToMatrix();
// Reset discriminator to 0.
State.Row.Discriminator = 0;
}