Minor compilation speed improvement.

llvm-svn: 28736
This commit is contained in:
Evan Cheng 2006-06-09 06:24:42 +00:00
parent 398f70292c
commit 0e14a56d35
1 changed files with 2 additions and 2 deletions

View File

@ -3413,8 +3413,8 @@ X86TargetLowering::LowerFORMAL_ARGUMENTS(SDOperand Op, SelectionDAG &DAG) {
MachineFunction &MF = DAG.getMachineFunction();
const Function* Fn = MF.getFunction();
if (Fn->hasExternalLinkage() &&
Fn->getName() == "main" &&
Subtarget->TargetType == X86Subtarget::isCygwin)
Subtarget->TargetType == X86Subtarget::isCygwin &&
Fn->getName() == "main")
MF.getInfo<X86FunctionInfo>()->setForceFramePointer(true);
unsigned CC = cast<ConstantSDNode>(Op.getOperand(1))->getValue();