mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Fold the useful features of alist and alist_node into ilist, and
a new ilist_node class, and remove them. Unlike alist_node, ilist_node doesn't attempt to manage storage itself, so it avoids the associated problems, including being opaque in gdb. Adjust the Recycler class so that it doesn't depend on alist_node. Also, change it to use explicit Size and Align parameters, allowing it to work when the largest-sized node doesn't have the greatest alignment requirement. Change MachineInstr's MachineMemOperand list from a pool-backed alist to a std::list for now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54146 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -43,7 +43,7 @@ ArchiveMember::getMemberSize() const {
|
||||
// This default constructor is only use by the ilist when it creates its
|
||||
// sentry node. We give it specific static values to make it stand out a bit.
|
||||
ArchiveMember::ArchiveMember()
|
||||
: next(0), prev(0), parent(0), path("--invalid--"), flags(0), data(0)
|
||||
: parent(0), path("--invalid--"), flags(0), data(0)
|
||||
{
|
||||
info.user = sys::Process::GetCurrentUserId();
|
||||
info.group = sys::Process::GetCurrentGroupId();
|
||||
@@ -58,7 +58,7 @@ ArchiveMember::ArchiveMember()
|
||||
// This is required because correctly setting the data may depend on other
|
||||
// things in the Archive.
|
||||
ArchiveMember::ArchiveMember(Archive* PAR)
|
||||
: next(0), prev(0), parent(PAR), path(), flags(0), data(0)
|
||||
: parent(PAR), path(), flags(0), data(0)
|
||||
{
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user