Bug 1270811 - initialize |current_| in GraphStoreInfo. r?jdemooij
MozReview-Commit-ID: JWFHDDr6xWT
--- a/js/src/jit/FlowAliasAnalysis.cpp
+++ b/js/src/jit/FlowAliasAnalysis.cpp
@@ -75,17 +75,18 @@ class GraphStoreInfo : public TempObject
// Only keeping the info during iteration if needed, else contains nullptr.
GraphStoreVector stores_;
// All BlockStoreInfo's that aren't needed anymore and can be reused.
GraphStoreVector empty_;
public:
explicit GraphStoreInfo(TempAllocator& alloc)
- : stores_(alloc),
+ : current_(nullptr),
+ stores_(alloc),
empty_(alloc)
{ }
bool reserve(size_t num) {
return stores_.appendN(nullptr, num);
}
BlockStoreInfo& current() {