Fix debug builds.
authoryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 18 Nov 2011 11:16:58 +0000 (11:16 +0000)
committeryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 18 Nov 2011 11:16:58 +0000 (11:16 +0000)
BUG=
TEST=

Review URL: http://codereview.chromium.org/8595007

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10029 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/hashmap.cc
src/scopes.cc

index 20118a7..0b404a9 100644 (file)
@@ -36,7 +36,7 @@
 namespace v8 {
 namespace internal {
 
-Allocator* HashMap::DefaultAllocator = new Allocator();
+Allocator* HashMap::DefaultAllocator = ::new Allocator();
 
 
 HashMap::HashMap(MatchFun match,
index 224c1ae..60ea20f 100644 (file)
@@ -55,7 +55,7 @@ class ZoneAllocator: public Allocator {
 };
 
 
-static ZoneAllocator* LocalsMapAllocator = new ZoneAllocator();
+static ZoneAllocator* LocalsMapAllocator = ::new ZoneAllocator();
 
 
 // ----------------------------------------------------------------------------