From 15b26696afe37e40adad3a9806ee11886b3ea349 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Sun, 9 Feb 2014 14:50:44 +0000 Subject: 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. llvm-svn: 201044 --- llvm/lib/Target/Sparc/SparcTargetObjectFile.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/Target/Sparc/SparcTargetObjectFile.h') diff --git a/llvm/lib/Target/Sparc/SparcTargetObjectFile.h b/llvm/lib/Target/Sparc/SparcTargetObjectFile.h index fb97bdac8e9..933d758f76d 100644 --- a/llvm/lib/Target/Sparc/SparcTargetObjectFile.h +++ b/llvm/lib/Target/Sparc/SparcTargetObjectFile.h @@ -23,9 +23,9 @@ public: TargetLoweringObjectFileELF() {} - const MCExpr *getTTypeGlobalReference(const GlobalValue *GV, Mangler &Mang, + const MCExpr *getTTypeGlobalReference(const GlobalValue *GV, + unsigned Encoding, Mangler &Mang, MachineModuleInfo *MMI, - unsigned Encoding, MCStreamer &Streamer) const LLVM_OVERRIDE; }; -- cgit v1.2.3