diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2011-04-27 23:17:57 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2011-04-27 23:17:57 +0000 |
commit | ce83fc34636103e10a45299ee3886bd884fad808 (patch) | |
tree | 769c6629e27004871391ffeeb4b0918f1cc126c5 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 65497cce201e667d11b436d24afbcc5d7ca786a8 (diff) | |
download | bcm5719-llvm-ce83fc34636103e10a45299ee3886bd884fad808.tar.gz bcm5719-llvm-ce83fc34636103e10a45299ee3886bd884fad808.zip |
Remove unnecessary argument.
llvm-svn: 130343
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
-rw-r--r-- | llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp b/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp index 1a4da73ffa5..aff33aa9d51 100644 --- a/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp +++ b/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp @@ -179,9 +179,9 @@ const MCSection *TargetLoweringObjectFileELF::getEHFrameSection() const { MCSymbol * TargetLoweringObjectFileELF::getCFIPersonalitySymbol(const GlobalValue *GV, - unsigned Encoding, Mangler *Mang, MachineModuleInfo *MMI) const { + unsigned Encoding = getPersonalityEncoding(); switch (Encoding & 0x70) { default: report_fatal_error("We do not support this DWARF encoding yet!"); @@ -849,7 +849,7 @@ getExprForDwarfGlobalReference(const GlobalValue *GV, Mangler *Mang, } MCSymbol *TargetLoweringObjectFileMachO:: -getCFIPersonalitySymbol(const GlobalValue *GV, unsigned Encoding, Mangler *Mang, +getCFIPersonalitySymbol(const GlobalValue *GV, Mangler *Mang, MachineModuleInfo *MMI) const { // The mach-o version of this method defaults to returning a stub reference. MachineModuleInfoMachO &MachOMMI = |