NFCI, optimize layout of FileEntry
The reordering of the UID field makes the size of a FileEntry 8 bytes smaller on 64bit platforms. llvm-svn: 367371
This commit is contained in:
parent
d8e7967a22
commit
50044763f6
|
@ -64,8 +64,8 @@ class FileEntry {
|
|||
off_t Size; // File size in bytes.
|
||||
time_t ModTime; // Modification time of file.
|
||||
const DirectoryEntry *Dir; // Directory file lives in.
|
||||
unsigned UID; // A unique (small) ID for the file.
|
||||
llvm::sys::fs::UniqueID UniqueID;
|
||||
unsigned UID; // A unique (small) ID for the file.
|
||||
bool IsNamedPipe;
|
||||
bool IsValid; // Is this \c FileEntry initialized and valid?
|
||||
|
||||
|
|
Loading…
Reference in New Issue