diff options
author | Stuart Hastings <stuart@apple.com> | 2010-06-05 00:39:29 +0000 |
---|---|---|
committer | Stuart Hastings <stuart@apple.com> | 2010-06-05 00:39:29 +0000 |
commit | 6d56b9fabcfb1fc874a6122cf41d876c4673e9d4 (patch) | |
tree | 63302fe58a66f2a162ec492afa6c8c0c338e02d5 /include/llvm/Analysis | |
parent | 25fcaff409f5c4c6da08f148ffb9404a71e8e4a7 (diff) | |
download | external_llvm-6d56b9fabcfb1fc874a6122cf41d876c4673e9d4.zip external_llvm-6d56b9fabcfb1fc874a6122cf41d876c4673e9d4.tar.gz external_llvm-6d56b9fabcfb1fc874a6122cf41d876c4673e9d4.tar.bz2 |
Revert 105492 & 105493 due to a testcase regression. Radar 7424645.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105511 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis')
-rw-r--r-- | include/llvm/Analysis/DebugInfo.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/llvm/Analysis/DebugInfo.h b/include/llvm/Analysis/DebugInfo.h index d468b4e..473b127 100644 --- a/include/llvm/Analysis/DebugInfo.h +++ b/include/llvm/Analysis/DebugInfo.h @@ -56,7 +56,6 @@ namespace llvm { } GlobalVariable *getGlobalVariableField(unsigned Elt) const; - Function *getFunctionField(unsigned Elt) const; public: explicit DIDescriptor() : DbgNode(0) {} @@ -410,8 +409,6 @@ namespace llvm { /// describes - Return true if this subprogram provides debugging /// information for the function F. bool describes(const Function *F); - - Function *getFunction() const { return getFunctionField(16); } }; /// DIGlobalVariable - This is a wrapper for a global variable. @@ -661,8 +658,7 @@ namespace llvm { unsigned VIndex = 0, DIType = DIType(), bool isArtificial = 0, - bool isOptimized = false, - Function *Fn = 0); + bool isOptimized = false); /// CreateSubprogramDefinition - Create new subprogram descriptor for the /// given declaration. |