diff options
author | Chris Lattner <sabre@nondot.org> | 2009-12-29 09:32:19 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-12-29 09:32:19 +0000 |
commit | bf0ca2b477e761e2c81f6c36d6c7bec055933b15 (patch) | |
tree | 03bec991ed5575efa6eaa5f63b0b906c82d6b9d1 /lib/CodeGen/SelectionDAG/FastISel.cpp | |
parent | 099b779a02d3268079b55f41c51809244e7ab03f (diff) |
remove a bunch of unneeded functions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92263 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/FastISel.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/FastISel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/FastISel.cpp b/lib/CodeGen/SelectionDAG/FastISel.cpp index 714345db2c..33694f283e 100644 --- a/lib/CodeGen/SelectionDAG/FastISel.cpp +++ b/lib/CodeGen/SelectionDAG/FastISel.cpp @@ -333,7 +333,7 @@ bool FastISel::SelectCall(User *I) { return true; case Intrinsic::dbg_declare: { DbgDeclareInst *DI = cast<DbgDeclareInst>(I); - if (!isValidDebugInfoIntrinsic(*DI, CodeGenOpt::None) || !DW + if (!DIDescriptor::ValidDebugInfo(DI->getVariable(), CodeGenOpt::None)||!DW || !DW->ShouldEmitDwarfDebug()) return true; |