Fix one possible (reproducible!) startup crash in IRJit. May help #8848

This commit is contained in:
Henrik Rydgard
2016-07-25 00:21:01 +02:00
parent a1e815e356
commit eb72a746b9
+2 -1
View File
@@ -121,6 +121,7 @@ private:
class IRBlockCache {
public:
IRBlockCache() : size_(0) {}
void Clear();
void InvalidateICache(u32 address, u32 length);
int GetNumBlocks() const { return (int)blocks_.size(); }
@@ -141,7 +142,7 @@ public:
void RestoreSavedEmuHackOps(std::vector<u32> saved);
private:
int size_;
int size_; // Hm, is this a cache for speed in debug mode, or what?
std::vector<IRBlock> blocks_;
};