mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-01 08:12:12 +00:00
Fix breakage of bytecode reader when built with VC++.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36303 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
68c773cf19
commit
8c28c467f6
@ -55,8 +55,10 @@ protected:
|
|||||||
}
|
}
|
||||||
|
|
||||||
Module *Parent;
|
Module *Parent;
|
||||||
LinkageTypes Linkage : 4; // The linkage of this global
|
// Note: VC++ treats enums as signed, so an extra bit is required to prevent
|
||||||
VisibilityTypes Visibility : 1; // The visibility style of this global
|
// Linkage and Visibility from turning into negative values.
|
||||||
|
LinkageTypes Linkage : 5; // The linkage of this global
|
||||||
|
VisibilityTypes Visibility : 2; // The visibility style of this global
|
||||||
unsigned Alignment : 16; // Alignment of this symbol, must be power of two
|
unsigned Alignment : 16; // Alignment of this symbol, must be power of two
|
||||||
std::string Section; // Section to emit this into, empty mean default
|
std::string Section; // Section to emit this into, empty mean default
|
||||||
public:
|
public:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user