summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit104aa5dbc184ffaacceb93431cffa7a957979786 (patch)
tree9b8c4bcc312ebf2f7a31d1389fa5bfceabe38eaf /llvm/lib/Target/X86/X86AsmPrinter.h
parentae7ff8b0c64753337d5c63c36e700e9b31c50043 (diff)
downloadbcm5719-llvm-104aa5dbc184ffaacceb93431cffa7a957979786.tar.gz
bcm5719-llvm-104aa5dbc184ffaacceb93431cffa7a957979786.zip
Various random and minor code cleanups.
llvm-svn: 30608
Diffstat (limited to 'llvm/lib/Target/X86/X86AsmPrinter.h')
-rwxr-xr-xllvm/lib/Target/X86/X86AsmPrinter.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/llvm/lib/Target/X86/X86AsmPrinter.h b/llvm/lib/Target/X86/X86AsmPrinter.h
index 3222da5717d..1bbfa559e6e 100755
--- a/llvm/lib/Target/X86/X86AsmPrinter.h
+++ b/llvm/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);
OpenPOWER on IntegriCloud