temporary hack to get the build working again, apparently a header

commit was forgotten

llvm-svn: 26642
This commit is contained in:
Chris Lattner 2006-03-09 17:11:08 +00:00
parent ed7a293b44
commit c44be2c4ef
2 changed files with 4 additions and 4 deletions

View File

@ -1323,7 +1323,7 @@ DIE *DwarfWriter::NewType(DIE *Context, TypeDesc *TyDesc) {
unsigned Line = MemberDesc->getLine(); unsigned Line = MemberDesc->getLine();
TypeDesc *MemTy = MemberDesc->getFromType(); TypeDesc *MemTy = MemberDesc->getFromType();
uint64_t Size = MemberDesc->getSize(); uint64_t Size = MemberDesc->getSize();
uint64_t Align = MemberDesc->getAlign(); uint64_t Align = 0; //MemberDesc->getAlign();
uint64_t Offset = MemberDesc->getOffset(); uint64_t Offset = MemberDesc->getOffset();
// Construct member die. // Construct member die.

View File

@ -653,7 +653,7 @@ TypeDesc::TypeDesc(unsigned T)
, Name("") , Name("")
, File(NULL) , File(NULL)
, Size(0) , Size(0)
, Align(0) //, Align(0)
, Offset(0) , Offset(0)
{} {}
@ -667,7 +667,7 @@ void TypeDesc::ApplyToFields(DIVisitor *Visitor) {
Visitor->Apply((DebugInfoDesc *&)File); Visitor->Apply((DebugInfoDesc *&)File);
Visitor->Apply(Line); Visitor->Apply(Line);
Visitor->Apply(Size); Visitor->Apply(Size);
Visitor->Apply(Align); //Visitor->Apply(Align);
Visitor->Apply(Offset); Visitor->Apply(Offset);
} }
@ -692,7 +692,7 @@ void TypeDesc::dump() {
<< "File(" << File << "), " << "File(" << File << "), "
<< "Line(" << Line << "), " << "Line(" << Line << "), "
<< "Size(" << Size << "), " << "Size(" << Size << "), "
<< "Align(" << Align << "), " //<< "Align(" << Align << "), "
<< "Offset(" << Offset << ")\n"; << "Offset(" << Offset << ")\n";
} }
#endif #endif