Two small cleanups for ELF's templates.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 17 Apr 2013 21:20:55 +0000 (21:20 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 17 Apr 2013 21:20:55 +0000 (21:20 +0000)
commit43239078adac6f32315cadbef9709f2f0f499707
tree8e372e3353d99990d11e1cf6ec79b3ea0f7c1865
parentdf39be6cb4eb44011db3d3e86f8fe463f81ce127
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179726 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Object/ELF.h
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp