mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
Remove non-static field initializer to appease MSVC
llvm-svn: 212212
This commit is contained in:
parent
b0b3a01657
commit
58b70a4353
@ -219,6 +219,7 @@ namespace {
|
||||
/// Frontend-provided metadata for global variables.
|
||||
class GlobalsMetadata {
|
||||
public:
|
||||
GlobalsMetadata() : inited_(false) {}
|
||||
void init(Module& M) {
|
||||
assert(!inited_);
|
||||
inited_ = true;
|
||||
@ -277,7 +278,7 @@ class GlobalsMetadata {
|
||||
}
|
||||
|
||||
private:
|
||||
bool inited_ = false;
|
||||
bool inited_;
|
||||
DenseMap<GlobalVariable*, GlobalVariable*> SourceLocation;
|
||||
DenseSet<GlobalVariable*> DynInitGlobals;
|
||||
DenseSet<GlobalVariable*> BlacklistedGlobals;
|
||||
|
Loading…
x
Reference in New Issue
Block a user