mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-07 11:33:44 +00:00
Remove non-static field initializer to appease MSVC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212212 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
773d63e2ad
commit
7950cae7b9
@ -219,6 +219,7 @@ namespace {
|
|||||||
/// Frontend-provided metadata for global variables.
|
/// Frontend-provided metadata for global variables.
|
||||||
class GlobalsMetadata {
|
class GlobalsMetadata {
|
||||||
public:
|
public:
|
||||||
|
GlobalsMetadata() : inited_(false) {}
|
||||||
void init(Module& M) {
|
void init(Module& M) {
|
||||||
assert(!inited_);
|
assert(!inited_);
|
||||||
inited_ = true;
|
inited_ = true;
|
||||||
@ -277,7 +278,7 @@ class GlobalsMetadata {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool inited_ = false;
|
bool inited_;
|
||||||
DenseMap<GlobalVariable*, GlobalVariable*> SourceLocation;
|
DenseMap<GlobalVariable*, GlobalVariable*> SourceLocation;
|
||||||
DenseSet<GlobalVariable*> DynInitGlobals;
|
DenseSet<GlobalVariable*> DynInitGlobals;
|
||||||
DenseSet<GlobalVariable*> BlacklistedGlobals;
|
DenseSet<GlobalVariable*> BlacklistedGlobals;
|
||||||
|
Loading…
Reference in New Issue
Block a user