Use a consistent argument order in TargetLoweringObjectFile.
authorRafael Espindola <rafael.espindola@gmail.com>
Sun, 9 Feb 2014 14:50:44 +0000 (14:50 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Sun, 9 Feb 2014 14:50:44 +0000 (14:50 +0000)
commit965e3bc5ff578d9b5af706237c20c7bc2c66aacc
tree3efccb0676861602db1f30b5ba80199a9211dff1
parentcc719cf87f311dcd7c10b17d653bdc41f10264ca
Use a consistent argument order in TargetLoweringObjectFile.

These methods normally call each other and it is really annoying if the
arguments are in different order. The more common rule was that the arguments
specific to call are first (GV, Encoding, Suffix) and the auxiliary objects
(Mang, TM) come after. This patch changes the exceptions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201044 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
include/llvm/Target/TargetLoweringObjectFile.h
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
lib/Target/ARM/ARMTargetObjectFile.cpp
lib/Target/ARM/ARMTargetObjectFile.h
lib/Target/Sparc/SparcTargetObjectFile.cpp
lib/Target/Sparc/SparcTargetObjectFile.h
lib/Target/TargetLoweringObjectFile.cpp
lib/Target/X86/X86TargetObjectFile.cpp
lib/Target/X86/X86TargetObjectFile.h