Skip to content
Snippets Groups Projects
Commit fbfe10f2 authored by George Rimar's avatar George Rimar
Browse files

Removed dead code. NFC.

llvm-svn: 268497
parent c07f06ae
No related branches found
No related tags found
No related merge requests found
...@@ -342,7 +342,6 @@ private: ...@@ -342,7 +342,6 @@ private:
void readLocationCounterValue(); void readLocationCounterValue();
void readOutputSectionDescription(); void readOutputSectionDescription();
void readSectionPatterns(StringRef OutSec);
const static StringMap<Handler> Cmd; const static StringMap<Handler> Cmd;
ScriptConfiguration &Opt = *ScriptConfig; ScriptConfiguration &Opt = *ScriptConfig;
...@@ -513,12 +512,6 @@ void ScriptParser::readSections() { ...@@ -513,12 +512,6 @@ void ScriptParser::readSections() {
} }
} }
void ScriptParser::readSectionPatterns(StringRef OutSec) {
expect("(");
while (!Error && !skip(")"))
Opt.Sections.emplace_back(OutSec, next());
}
void ScriptParser::readLocationCounterValue() { void ScriptParser::readLocationCounterValue() {
expect("."); expect(".");
expect("="); expect("=");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment