Index: test/cctest/test-serialize.cc |
diff --git a/test/cctest/test-serialize.cc b/test/cctest/test-serialize.cc |
index 730d72a95bd2f2bb791b77b20d0103c8d5502314..46f8ad6cd7474d21855dd6c9a30ce8df70846fa4 100644 |
--- a/test/cctest/test-serialize.cc |
+++ b/test/cctest/test-serialize.cc |
@@ -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; |
{ |