Reviewers: Michael Starzinger,

Message:
PTAQL.

Description:
Fix debug builds.


BUG=
TEST=


Please review this at http://codereview.chromium.org/8595007/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/hashmap.cc
  M src/scopes.cc


Index: src/hashmap.cc
diff --git a/src/hashmap.cc b/src/hashmap.cc
index 20118a74f488cc15b925a095fa0dba232bb45165..0b404a97e18667830198c2527ce86a792d751a82 100644
--- a/src/hashmap.cc
+++ b/src/hashmap.cc
@@ -36,7 +36,7 @@
 namespace v8 {
 namespace internal {

-Allocator* HashMap::DefaultAllocator = new Allocator();
+Allocator* HashMap::DefaultAllocator = ::new Allocator();


 HashMap::HashMap(MatchFun match,
Index: src/scopes.cc
diff --git a/src/scopes.cc b/src/scopes.cc
index 224c1aed9d5ebb736b7fd6f7017d5df2607d31cc..60ea20f16d5ed94f8e8a6ab8f6e58db7aab1b4c6 100644
--- a/src/scopes.cc
+++ b/src/scopes.cc
@@ -55,7 +55,7 @@ class ZoneAllocator: public Allocator {
 };


-static ZoneAllocator* LocalsMapAllocator = new ZoneAllocator();
+static ZoneAllocator* LocalsMapAllocator = ::new ZoneAllocator();


// ----------------------------------------------------------------------------


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to