summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitc44e973a36fc4333a70b48c2923421512b70b806 (patch)
tree5846697fa85c69ce3f709837073f45cdf4f5cb1e /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
parent48f782bbd2216fdad02accaae897687563b405e5 (diff)
downloadbcm5719-llvm-c44e973a36fc4333a70b48c2923421512b70b806.tar.gz
bcm5719-llvm-c44e973a36fc4333a70b48c2923421512b70b806.zip
Revert "Add some support for dealing with an object pointer on arguments."
This should be done on the subprogram, not the variable itself. llvm-svn: 163734
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
index d5ae4687df5..d662eadab03 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
+++ b/llvm/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();
OpenPOWER on IntegriCloud