Revision: 21076
Author:   [email protected]
Date:     Wed Apr 30 08:40:33 2014 UTC
Log:      TODO in Dictionary resolved.

[email protected]

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

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

=======================================
--- /branches/bleeding_edge/src/objects.cc      Tue Apr 29 14:31:12 2014 UTC
+++ /branches/bleeding_edge/src/objects.cc      Wed Apr 30 08:40:33 2014 UTC
@@ -15762,10 +15762,9 @@

   // Check whether the dictionary should be extended.
   dictionary = EnsureCapacity(dictionary, 1, key);
-
-  Handle<Object> k = Shape::AsHandle(dictionary->GetIsolate(), key);
-  // TODO(ishell): Figure out if it is necessary to call AsHandle() here.
-  USE(k);
+#ifdef DEBUG
+  USE(Shape::AsHandle(dictionary->GetIsolate(), key));
+#endif
   PropertyDetails details = PropertyDetails(NONE, NORMAL, 0);

   AddEntry(dictionary, key, value, details, dictionary->Hash(key));

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