mirror of
https://github.com/intel/llvm.git
synced 2026-01-26 12:26:52 +08:00
Define Config::Is64.
This is a shorthand for Config->Wordsize == 8. So this is not strictly necessary but seems handy. "Is 64 bit?" is easier to read than "Is wordsize 8 byte?" llvm-svn: 298463
This commit is contained in:
@@ -140,8 +140,8 @@ OutputSection *SectionBase::getOutputSection() {
|
||||
// Uncompress section contents. Note that this function is called
|
||||
// from parallel_for_each, so it must be thread-safe.
|
||||
void InputSectionBase::uncompress() {
|
||||
Decompressor Dec = check(Decompressor::create(
|
||||
Name, toStringRef(Data), Config->IsLE, Config->Wordsize == 8));
|
||||
Decompressor Dec = check(Decompressor::create(Name, toStringRef(Data),
|
||||
Config->IsLE, Config->Is64));
|
||||
|
||||
size_t Size = Dec.getDecompressedSize();
|
||||
char *OutputBuf;
|
||||
|
||||
Reference in New Issue
Block a user