Revision: 24090
Author:   [email protected]
Date:     Fri Sep 19 14:03:34 2014 UTC
Log:      Fix visitor for generators

BUG=
[email protected]

Review URL: https://codereview.chromium.org/589513005
https://code.google.com/p/v8/source/detail?r=24090

Modified:
 /branches/bleeding_edge/src/bootstrapper.cc

=======================================
--- /branches/bleeding_edge/src/bootstrapper.cc Fri Sep 19 13:40:38 2014 UTC
+++ /branches/bleeding_edge/src/bootstrapper.cc Fri Sep 19 14:03:34 2014 UTC
@@ -1176,6 +1176,8 @@
         JSGeneratorObject::kResultPropertyCount);
     iterator_result_map->set_pre_allocated_property_fields(
         JSGeneratorObject::kResultPropertyCount);
+    iterator_result_map->set_visitor_id(
+        StaticVisitorBase::GetVisitorId(*iterator_result_map));
     DCHECK_EQ(JSGeneratorObject::kResultSize,
               iterator_result_map->instance_size());
     native_context()->set_iterator_result_map(*iterator_result_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/d/optout.

Reply via email to