GlobalVariable *GV;
Constant *Initializer;
StoreMap Pending;
-
-public:
- MutatedGlobal(GlobalVariable *GV) : GV(GV), Initializer(nullptr) {}
};
/// MutatedGlobals - This class tracks and commits stores to globals as basic
auto I = Globals.find(GV);
if (I == Globals.end()) {
- auto R = Globals.insert(std::make_pair(GV, MutatedGlobal(GV)));
+ auto R = Globals.insert(std::make_pair(GV, MutatedGlobal{GV, nullptr, {}}));
assert(R.second && "Global value already in the map?");
I = R.first;
}