Revision: 17763
Author:   [email protected]
Date:     Thu Nov 14 20:51:18 2013 UTC
Log:      Fix GCMole warning

[email protected]
[email protected]
LOG=N

Review URL: https://codereview.chromium.org/73123002
http://code.google.com/p/v8/source/detail?r=17763

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

=======================================
--- /branches/bleeding_edge/src/objects.cc      Thu Nov 14 17:30:48 2013 UTC
+++ /branches/bleeding_edge/src/objects.cc      Thu Nov 14 20:51:18 2013 UTC
@@ -12231,7 +12231,8 @@
         : FAST_ELEMENTS;

     UpdateAllocationSite(object, kind);
-    object->set_map(*GetElementsTransitionMap(object, kind));
+    Handle<Map> new_map = GetElementsTransitionMap(object, kind);
+    object->set_map(*new_map);
     ASSERT(IsFastObjectElementsKind(object->GetElementsKind()));
   }
   // Increase backing store capacity if that's been decided previously.

--
--
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