Index: src/scopes.cc |
diff --git a/src/scopes.cc b/src/scopes.cc |
index f9cd62065380ffc933058e9139599918b0c9b24a..60ea20f16d5ed94f8e8a6ab8f6e58db7aab1b4c6 100644 |
--- a/src/scopes.cc |
+++ b/src/scopes.cc |
@@ -55,7 +55,7 @@ class ZoneAllocator: public Allocator { |
}; |
-static ZoneAllocator LocalsMapAllocator; |
+static ZoneAllocator* LocalsMapAllocator = ::new ZoneAllocator(); |
// ---------------------------------------------------------------------------- |
@@ -76,7 +76,7 @@ static bool Match(void* key1, void* key2) { |
} |
-VariableMap::VariableMap() : HashMap(Match, &LocalsMapAllocator, 8) {} |
+VariableMap::VariableMap() : HashMap(Match, LocalsMapAllocator, 8) {} |
VariableMap::~VariableMap() {} |