summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86ISelLowering.cpp
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2006-09-17 20:25:45 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2006-09-17 20:25:45 +0000
commit6f7072c66a84a26644572efb1a0ba35bb7e70732 (patch)
treec3f37b02038c1aa88e40a67b768f86f21bb1347d /llvm/lib/Target/X86/X86ISelLowering.cpp
parentf16dc007e652c6d935abef319db8f0cbc9912416 (diff)
downloadbcm5719-llvm-6f7072c66a84a26644572efb1a0ba35bb7e70732.tar.gz
bcm5719-llvm-6f7072c66a84a26644572efb1a0ba35bb7e70732.zip
Added some eye-candy for Subtarget type checking
Added X86 StdCall & FastCall calling conventions. Codegen will follow. llvm-svn: 30446
Diffstat (limited to 'llvm/lib/Target/X86/X86ISelLowering.cpp')
-rw-r--r--llvm/lib/Target/X86/X86ISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index c86d1711979..3baff5cd93f 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -3907,7 +3907,7 @@ X86TargetLowering::LowerFORMAL_ARGUMENTS(SDOperand Op, SelectionDAG &DAG) {
MachineFunction &MF = DAG.getMachineFunction();
const Function* Fn = MF.getFunction();
if (Fn->hasExternalLinkage() &&
- Subtarget->TargetType == X86Subtarget::isCygwin &&
+ Subtarget->isTargetCygwin() &&
Fn->getName() == "main")
MF.getInfo<X86FunctionInfo>()->setForceFramePointer(true);
OpenPOWER on IntegriCloud