Revision: 23335
Author:   [email protected]
Date:     Mon Aug 25 07:04:21 2014 UTC
Log:      Fix GC mole warning.

[email protected]

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

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

=======================================
--- /branches/bleeding_edge/src/runtime.cc      Fri Aug 22 12:55:23 2014 UTC
+++ /branches/bleeding_edge/src/runtime.cc      Mon Aug 25 07:04:21 2014 UTC
@@ -1714,7 +1714,8 @@
       Handle<Object> key(table->KeyAt(i), isolate);
       if (table->IsKey(*key)) {
         entries->set(number_of_non_hole_elements++, *key);
-        entries->set(number_of_non_hole_elements++, table->Lookup(key));
+        Object* value = table->Lookup(key);
+        entries->set(number_of_non_hole_elements++, value);
       }
     }
     DCHECK_EQ(table->NumberOfElements() * 2, number_of_non_hole_elements);

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