Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(729)

Unified Diff: test/cctest/test-list.cc

Issue 10443114: Progress towards making Zones independent of Isolates and Threads. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix build on ia32. Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/cctest/test-list.cc
diff --git a/test/cctest/test-list.cc b/test/cctest/test-list.cc
index 4c78f02cee1e0bae1bbcb03b9986e461b6a6354c..9138bdac1c340bc3a819dc0e6372468c842a6077 100644
--- a/test/cctest/test-list.cc
+++ b/test/cctest/test-list.cc
@@ -33,9 +33,8 @@
using namespace v8::internal;
// Use a testing allocator that clears memory before deletion.
-class ZeroingAllocationPolicy {
- public:
- static void* New(size_t size) {
+struct ZeroingAllocationPolicy {
danno 2012/06/01 11:29:24 This is an unrelated, unnecessary change. Please r
+ void* New(size_t size) {
// Stash the size in the first word to use for Delete.
size_t true_size = size + sizeof(size_t);
size_t* result = reinterpret_cast<size_t*>(malloc(true_size));
« src/zone-inl.h ('K') | « src/zone-inl.h ('k') | test/cctest/test-parsing.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698