Skip to content

Commit

Permalink
Save memory by removing argNames from DSymbol (#763)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryuukk authored Nov 22, 2023
1 parent 09f4e7e commit 6d63592
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion dsymbol/src/dsymbol/conversion/first.d
Original file line number Diff line number Diff line change
Expand Up @@ -1006,7 +1006,6 @@ private:
break;
}
}
currentSymbol.acSymbol.argNames.insert(parameter.acSymbol.name);

currentSymbol.acSymbol.functionParameters ~= parameter.acSymbol;

Expand Down
5 changes: 0 additions & 5 deletions dsymbol/src/dsymbol/symbol.d
Original file line number Diff line number Diff line change
Expand Up @@ -386,11 +386,6 @@ struct DSymbol

// Is alias this symbols
DSymbol*[] aliasThisSymbols;
/**
* Names of function arguments
*/
// TODO: remove since we have function arguments
UnrolledList!(istring) argNames;

/**
* Function parameter symbols
Expand Down

0 comments on commit 6d63592

Please sign in to comment.