projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Debug Info: revert 178722 for now.
[oota-llvm.git]
/
lib
/
CodeGen
/
AsmPrinter
/
DIE.cpp
diff --git
a/lib/CodeGen/AsmPrinter/DIE.cpp
b/lib/CodeGen/AsmPrinter/DIE.cpp
index 326fbe55672ce0f239786e5c72349b81b52ba3ea..57e0acda890ff7b731161799c007da1e79b3e2a7 100644
(file)
--- a/
lib/CodeGen/AsmPrinter/DIE.cpp
+++ b/
lib/CodeGen/AsmPrinter/DIE.cpp
@@
-310,12
+310,6
@@
void DIEEntry::EmitValue(AsmPrinter *AP, unsigned Form) const {
AP->EmitInt32(Entry->getOffset());
}
AP->EmitInt32(Entry->getOffset());
}
-unsigned DIEEntry::SizeOf(AsmPrinter *AP, unsigned Form) const {
- if (Form == dwarf::DW_FORM_ref_addr)
- return AP->getDataLayout().getPointerSize();
- return sizeof(int32_t);
-}
-
#ifndef NDEBUG
void DIEEntry::print(raw_ostream &O) {
O << format("Die: 0x%lx", (long)(intptr_t)Entry);
#ifndef NDEBUG
void DIEEntry::print(raw_ostream &O) {
O << format("Die: 0x%lx", (long)(intptr_t)Entry);