Temporarily revert r65065. It was causing test failures.

llvm-svn: 65068
This commit is contained in:
Bill Wendling 2009-02-19 21:57:07 +00:00
parent 1a0a3d0ff5
commit 7b9f38ad37
1 changed files with 3 additions and 1 deletions

View File

@ -3953,7 +3953,9 @@ SelectionDAGLowering::visitIntrinsicCall(CallInst &I, unsigned Intrinsic) {
// create a label if this is a beginning of inlined function.
unsigned Line = Subprogram.getLineNumber();
if (Fast) {
// FIXME: Support more than just -Os.
const Function *F = I.getParent()->getParent();
if (!F->hasFnAttr(Attribute::OptimizeForSize)) {
unsigned LabelID = DW->RecordSourceLine(Line, 0, SrcFile);
if (DW->getRecordSourceLineCount() != 1)
DAG.setRoot(DAG.getLabel(ISD::DBG_LABEL, getCurDebugLoc(),