aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86/X86AsmPrinter.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-09-26 03:57:53 +0000
committerChris Lattner <sabre@nondot.org>2006-09-26 03:57:53 +0000
commite87e1154a12b91f3c7a5dec8b946c7c9829deb16 (patch)
tree409852705a4fb9c22e5b26a59ca7bf1615527f81 /lib/Target/X86/X86AsmPrinter.h
parent6961329c47faebdd2feea78d966996de2582b400 (diff)
downloadexternal_llvm-e87e1154a12b91f3c7a5dec8b946c7c9829deb16.zip
external_llvm-e87e1154a12b91f3c7a5dec8b946c7c9829deb16.tar.gz
external_llvm-e87e1154a12b91f3c7a5dec8b946c7c9829deb16.tar.bz2
Various random and minor code cleanups.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30608 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86AsmPrinter.h')
-rwxr-xr-xlib/Target/X86/X86AsmPrinter.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/Target/X86/X86AsmPrinter.h b/lib/Target/X86/X86AsmPrinter.h
index 3222da5..1bbfa55 100755
--- a/lib/Target/X86/X86AsmPrinter.h
+++ b/lib/Target/X86/X86AsmPrinter.h
@@ -46,19 +46,18 @@ struct VISIBILITY_HIDDEN X86SharedAsmPrinter : public AsmPrinter {
Subtarget = &TM.getSubtarget<X86Subtarget>();
}
- typedef std::map<const Function*, X86FunctionInfo> FMFInfoMap ;
-
// We have to propagate some information about MachineFunction to
// AsmPrinter. It's ok, when we're printing the function, since we have
- // access to MachineFunction and can get the appropriate MachineFunctionInfo.
+ // access to MachineFunction and can get the appropriate MachineFunctionInfo.
// Unfortunately, this is not possible when we're printing reference to
// Function (e.g. calling it and so on). Even more, there is no way to get the
// corresponding MachineFunctions: it can even be not created at all. That's
// why we should use additional structure, when we're collecting all necessary
// information.
-
+ //
// This structure is using e.g. for name decoration for stdcall & fastcall'ed
// function, since we have to use arguments' size for decoration.
+ typedef std::map<const Function*, X86FunctionInfo> FMFInfoMap;
FMFInfoMap FunctionInfoMap;
void decorateName(std::string& Name, const GlobalValue* GV);