Commit cb99571c authored by vegorov@chromium.org's avatar vegorov@chromium.org

Fix ContextDeserialization and PartialDeserialization tests.

Space should be reserved twice before each deserialization.

R=erik.corry@gmail.com

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8795 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent a129c95a
......@@ -459,7 +459,9 @@ DEPENDENT_TEST(PartialDeserialization, PartialSerialization) {
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 @@ DEPENDENT_TEST(ContextDeserialization, ContextSerialization) {
CHECK(root->IsContext());
}
v8::HandleScope handle_scope;
Handle<Object>root_handle(root);
Handle<Object> root_handle(root);
ReserveSpaceForPartialSnapshot(file_name);
Object* root2;
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment