mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-05 12:31:33 +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.
|
||||
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…
Reference in New Issue
Block a user