diff options
author | Eric Christopher <echristo@apple.com> | 2012-09-12 18:42:31 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2012-09-12 18:42:31 +0000 |
commit | fd1cd572211aae8f73dc073c004b865054a34604 (patch) | |
tree | 94710ca40583f6255ed5206643fcd0c3f5a35f40 /include | |
parent | f58ae5dfc1c939e34e660a21b4ea7d192a37a322 (diff) |
Revert "Add some support for dealing with an object pointer on arguments."
This should be done on the subprogram, not the variable itself.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163734 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/DIBuilder.h | 4 | ||||
-rw-r--r-- | include/llvm/DebugInfo.h | 10 |
2 files changed, 1 insertions, 13 deletions
diff --git a/include/llvm/DIBuilder.h b/include/llvm/DIBuilder.h index 2610ce104f..dd4ea96ae2 100644 --- a/include/llvm/DIBuilder.h +++ b/include/llvm/DIBuilder.h @@ -347,10 +347,6 @@ namespace llvm { /// createArtificialType - Create a new DIType with "artificial" flag set. DIType createArtificialType(DIType Ty); - /// createObjectPointerType - Create a new DIType with the "object pointer" - /// flag set. - DIType createObjectPointerType(DIType Ty); - /// createTemporaryType - Create a temporary forward-declared type. DIType createTemporaryType(); DIType createTemporaryType(DIFile F); diff --git a/include/llvm/DebugInfo.h b/include/llvm/DebugInfo.h index 4c1d045fa0..618220fcb0 100644 --- a/include/llvm/DebugInfo.h +++ b/include/llvm/DebugInfo.h @@ -60,8 +60,7 @@ namespace llvm { FlagArtificial = 1 << 6, FlagExplicit = 1 << 7, FlagPrototyped = 1 << 8, - FlagObjcClassComplete = 1 << 9, - FlagObjectPointer = 1 << 10 + FlagObjcClassComplete = 1 << 9 }; protected: const MDNode *DbgNode; @@ -288,9 +287,6 @@ namespace llvm { bool isArtificial() const { return (getFlags() & FlagArtificial) != 0; } - bool isObjectPointer() const { - return (getFlags() & FlagObjectPointer) != 0; - } bool isObjcClassComplete() const { return (getFlags() & FlagObjcClassComplete) != 0; } @@ -648,10 +644,6 @@ namespace llvm { return (getUnsignedField(6) & FlagArtificial) != 0; } - bool isObjectPointer() const { - return (getUnsignedField(6) & FlagObjectPointer) != 0; - } - /// getInlinedAt - If this variable is inlined then return inline location. MDNode *getInlinedAt() const; |