Revision: 23399
Author:   [email protected]
Date:     Tue Aug 26 13:01:55 2014 UTC
Log:      Delete unused DescriptorArray::Append with whitenesswitness

BUG=
[email protected]

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

Modified:
 /branches/bleeding_edge/src/objects-inl.h
 /branches/bleeding_edge/src/objects.h

=======================================
--- /branches/bleeding_edge/src/objects-inl.h   Mon Aug 25 15:17:06 2014 UTC
+++ /branches/bleeding_edge/src/objects-inl.h   Tue Aug 26 13:01:55 2014 UTC
@@ -3050,27 +3050,6 @@
   set(ToValueIndex(descriptor_number), *desc->GetValue());
   set(ToDetailsIndex(descriptor_number), desc->GetDetails().AsSmi());
 }
-
-
-void DescriptorArray::Append(Descriptor* desc,
-                             const WhitenessWitness& witness) {
-  DisallowHeapAllocation no_gc;
-  int descriptor_number = number_of_descriptors();
-  SetNumberOfDescriptors(descriptor_number + 1);
-  Set(descriptor_number, desc, witness);
-
-  uint32_t hash = desc->GetKey()->Hash();
-
-  int insertion;
-
-  for (insertion = descriptor_number; insertion > 0; --insertion) {
-    Name* key = GetSortedKey(insertion - 1);
-    if (key->Hash() <= hash) break;
-    SetSortedKey(insertion, GetSortedKeyIndex(insertion - 1));
-  }
-
-  SetSortedKey(insertion, descriptor_number);
-}


 void DescriptorArray::Append(Descriptor* desc) {
=======================================
--- /branches/bleeding_edge/src/objects.h       Mon Aug 25 15:41:09 2014 UTC
+++ /branches/bleeding_edge/src/objects.h       Tue Aug 26 13:01:55 2014 UTC
@@ -3484,8 +3484,6 @@
                   Descriptor* desc,
                   const WhitenessWitness&);

-  inline void Append(Descriptor* desc, const WhitenessWitness&);
-
   // Swap first and second descriptor.
   inline void SwapSortedKeys(int first, int second);

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