summaryrefslogtreecommitdiff
path: root/lib/CodeGen/AsmPrinter/DwarfDebug.h
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2012-09-12 18:42:31 +0000
committerEric Christopher <echristo@apple.com>2012-09-12 18:42:31 +0000
commitfd1cd572211aae8f73dc073c004b865054a34604 (patch)
tree94710ca40583f6255ed5206643fcd0c3f5a35f40 /lib/CodeGen/AsmPrinter/DwarfDebug.h
parentf58ae5dfc1c939e34e660a21b4ea7d192a37a322 (diff)
downloadllvm-fd1cd572211aae8f73dc073c004b865054a34604.tar.gz
llvm-fd1cd572211aae8f73dc073c004b865054a34604.tar.bz2
llvm-fd1cd572211aae8f73dc073c004b865054a34604.tar.xz
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 'lib/CodeGen/AsmPrinter/DwarfDebug.h')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfDebug.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.h b/lib/CodeGen/AsmPrinter/DwarfDebug.h
index d5ae4687df..d662eadab0 100644
--- a/lib/CodeGen/AsmPrinter/DwarfDebug.h
+++ b/lib/CodeGen/AsmPrinter/DwarfDebug.h
@@ -164,16 +164,6 @@ public:
return true;
return false;
}
-
- bool isObjectPointer() const {
- if (Var.isObjectPointer())
- return true;
- if (Var.getTag() == dwarf::DW_TAG_arg_variable
- && getType().isObjectPointer())
- return true;
- return false;
- }
-
bool variableHasComplexAddress() const {
assert(Var.Verify() && "Invalid complex DbgVariable!");
return Var.hasComplexAddress();