mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 19:42:54 +02:00
Fix breakage of bytecode reader when built with VC++.
llvm-svn: 36303
This commit is contained in:
parent
193124f5f1
commit
facf6d55d3
@ -55,8 +55,10 @@ protected:
|
||||
}
|
||||
|
||||
Module *Parent;
|
||||
LinkageTypes Linkage : 4; // The linkage of this global
|
||||
VisibilityTypes Visibility : 1; // The visibility style of this global
|
||||
// Note: VC++ treats enums as signed, so an extra bit is required to prevent
|
||||
// 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
|
||||
std::string Section; // Section to emit this into, empty mean default
|
||||
public:
|
||||
|
Loading…
Reference in New Issue
Block a user