diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-04-17 21:20:55 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-04-17 21:20:55 +0000 |
commit | 035b41653e1400475112d7bca6ef431120eba6fd (patch) | |
tree | 6361981aef000da72290ac6d746927b647ee7bd3 /llvm/lib/ExecutionEngine | |
parent | 2f495b93eeab096e9d4f7df05ccde4c7538f53cb (diff) | |
download | bcm5719-llvm-035b41653e1400475112d7bca6ef431120eba6fd.tar.gz bcm5719-llvm-035b41653e1400475112d7bca6ef431120eba6fd.zip |
Two small cleanups for ELF's templates.
* We only ever specialize these templates with an instantiation of ELFType,
so we don't need a template template.
* Replace LLVM_ELF_COMMA with just passing the individual parameters to the
macro. This requires a second macro for when we only have ELFT, but that
is still a small win.
llvm-svn: 179726
Diffstat (limited to 'llvm/lib/ExecutionEngine')
-rw-r--r-- | llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp index 0b23b2bdb4b..7e9407217b4 100644 --- a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp +++ b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp @@ -41,7 +41,7 @@ error_code check(error_code Err) { template<class ELFT> class DyldELFObject : public ELFObjectFile<ELFT> { - LLVM_ELF_IMPORT_TYPES(ELFT) + LLVM_ELF_IMPORT_TYPES_ELFT(ELFT) typedef Elf_Shdr_Impl<ELFT> Elf_Shdr; typedef Elf_Sym_Impl<ELFT> Elf_Sym; |