Index: test/cctest/test-serialize.cc |
=================================================================== |
--- test/cctest/test-serialize.cc (revision 1360) |
+++ test/cctest/test-serialize.cc (working copy) |
@@ -157,6 +157,7 @@ |
const int kExtensionCount = 1; |
const char* extension_list[kExtensionCount] = { "v8/gc" }; |
v8::ExtensionConfiguration extensions(kExtensionCount, extension_list); |
+ Serializer::Enable(); |
v8::Persistent<v8::Context> env = v8::Context::New(&extensions); |
env->Enter(); |
@@ -187,6 +188,7 @@ |
if (Snapshot::IsEnabled()) return; |
StatsTable::SetCounterFunction(counter_function); |
v8::HandleScope scope; |
+ Serializer::Enable(); |
v8::Persistent<v8::Context> env = v8::Context::New(); |
v8::Context::Scope context_scope(env); |
Serializer().Serialize(); |