Revert 71165. It did more than just revert 71158 and it introduced

several regressions. The problem due to 71158 is now fixed.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71176 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman
2009-05-07 19:46:24 +00:00
parent 31e4c77fae
commit 9a38e3e399
8 changed files with 117 additions and 197 deletions

View File

@@ -321,19 +321,6 @@ namespace llvm {
bool describes(const Function *F);
};
/// DIInlinedSubprogram - This is a wrapper for an inlined subprogram.
class DIInlinedSubprogram : public DIGlobal {
public:
explicit DIInlinedSubprogram(GlobalVariable *GV = 0);
DICompositeType getType() const { return getFieldAs<DICompositeType>(8); }
/// Verify - Verify that an inlined subprogram descriptor is well formed.
bool Verify() const;
/// dump - print inlined subprogram.
void dump() const;
};
/// DIGlobalVariable - This is a wrapper for a global variable.
class DIGlobalVariable : public DIGlobal {
public:
@@ -376,7 +363,6 @@ namespace llvm {
public:
explicit DIBlock(GlobalVariable *GV = 0);
DICompileUnit getCompileUnit() const{ return getFieldAs<DICompileUnit>(1); }
DIDescriptor getContext() const { return getDescriptorField(1); }
};