summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/MachineModuleInfo.h
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2010-10-21 00:08:21 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2010-10-21 00:08:21 +0000
commitdd0a00a6e377b11c3c122e111da3d1f53f13756d (patch)
tree0d888f48e2d9559d2961a428dbfd6faa4b5373f0 /include/llvm/CodeGen/MachineModuleInfo.h
parent2d8f6fe610fa859370c38cfbe38ff809a3a417de (diff)
downloadllvm-dd0a00a6e377b11c3c122e111da3d1f53f13756d.tar.gz
llvm-dd0a00a6e377b11c3c122e111da3d1f53f13756d.tar.bz2
llvm-dd0a00a6e377b11c3c122e111da3d1f53f13756d.tar.xz
CodeGen-Windows: Only emit _fltused if a VarArg function is called with floating point args.
This should be the minimum set of functions that could possibly need it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116978 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineModuleInfo.h')
-rw-r--r--include/llvm/CodeGen/MachineModuleInfo.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/include/llvm/CodeGen/MachineModuleInfo.h b/include/llvm/CodeGen/MachineModuleInfo.h
index 4376478ec2..43405c0937 100644
--- a/include/llvm/CodeGen/MachineModuleInfo.h
+++ b/include/llvm/CodeGen/MachineModuleInfo.h
@@ -157,10 +157,9 @@ class MachineModuleInfo : public ImmutablePass {
/// in this module.
bool DbgInfoAvailable;
- /// True if this module calls an external function with floating point
- /// arguments. This is used to emit an undefined reference to fltused on
- /// Windows targets.
- bool CallsExternalFunctionWithFloatingPointArguments;
+ /// True if this module calls VarArg function with floating point arguments.
+ /// This is used to emit an undefined reference to fltused on Windows targets.
+ bool CallsExternalVAFunctionWithFloatingPointArguments;
public:
static char ID; // Pass identification, replacement for typeid
@@ -217,12 +216,12 @@ public:
bool callsUnwindInit() const { return CallsUnwindInit; }
void setCallsUnwindInit(bool b) { CallsUnwindInit = b; }
- bool callsExternalFunctionWithFloatingPointArguments() const {
- return CallsExternalFunctionWithFloatingPointArguments;
+ bool callsExternalVAFunctionWithFloatingPointArguments() const {
+ return CallsExternalVAFunctionWithFloatingPointArguments;
}
- void setCallsExternalFunctionWithFloatingPointArguments(bool b) {
- CallsExternalFunctionWithFloatingPointArguments = b;
+ void setCallsExternalVAFunctionWithFloatingPointArguments(bool b) {
+ CallsExternalVAFunctionWithFloatingPointArguments = b;
}
/// getFrameMoves - Returns a reference to a list of moves done in the current