Skip to content

Commit

Permalink
Remove dead code.
Browse files Browse the repository at this point in the history
This is part of a future patch to use yamlio that incorrectly ended up in a
cleanup patch.

Thanks to Benjamin Kramer for reporting it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179938 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
espindola committed Apr 20, 2013
1 parent d9f82b7 commit 972b26b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tools/obj2yaml/coff2yaml.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -235,10 +235,6 @@ const char *nameLookup(const pod_pair<T, const char *> (&Arr)[N],

static void yamlCOFFHeader(const object::coff_file_header *Header,
raw_ostream &Out) {
COFF::header H;
H.Machine = Header->Machine;
H.Characteristics = Header->Characteristics;

Out << "header: !Header\n";
Out << " Machine: ";
Out << nameLookup(MachineTypePairs, Header->Machine, "# Unknown_MachineTypes")
Expand Down

0 comments on commit 972b26b

Please sign in to comment.