Reviewers: Sven Panne,

Description:
symbols should be in the startup snapshot

[email protected]
BUG=

Please review this at https://codereview.chromium.org/17366004/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/serialize.h


Index: src/serialize.h
diff --git a/src/serialize.h b/src/serialize.h
index e5664ff39c35c101b47e3d15b9c7c9a54f28398a..a6099afc23f397fdcfedea0781cca8c7767c5ec2 100644
--- a/src/serialize.h
+++ b/src/serialize.h
@@ -613,7 +613,7 @@ class PartialSerializer : public Serializer {
// unique ID, and deserializing several partial snapshots containing script
     // would cause dupes.
     ASSERT(!o->IsScript());
-    return o->IsString() || o->IsSharedFunctionInfo() ||
+    return o->IsName() || o->IsSharedFunctionInfo() ||
            o->IsHeapNumber() || o->IsCode() ||
            o->IsScopeInfo() ||
            o->map() == HEAP->fixed_cow_array_map();


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to