Revision: 8795
Author: [email protected]
Date: Tue Aug 2 10:43:32 2011
Log: Fix ContextDeserialization and PartialDeserialization tests.
Space should be reserved twice before each deserialization.
[email protected]
Review URL: http://codereview.chromium.org/7550009
http://code.google.com/p/v8/source/detail?r=8795
Modified:
/branches/bleeding_edge/test/cctest/test-serialize.cc
=======================================
--- /branches/bleeding_edge/test/cctest/test-serialize.cc Wed Mar 23
06:40:07 2011
+++ /branches/bleeding_edge/test/cctest/test-serialize.cc Tue Aug 2
10:43:32 2011
@@ -459,7 +459,9 @@
CHECK(root->IsString());
}
v8::HandleScope handle_scope;
- Handle<Object>root_handle(root);
+ Handle<Object> root_handle(root);
+
+ ReserveSpaceForPartialSnapshot(file_name);
Object* root2;
{
@@ -542,7 +544,9 @@
CHECK(root->IsContext());
}
v8::HandleScope handle_scope;
- Handle<Object>root_handle(root);
+ Handle<Object> root_handle(root);
+
+ ReserveSpaceForPartialSnapshot(file_name);
Object* root2;
{
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev