Index: src/objects-debug.cc |
diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
index 6195bf58cd6c154c54efa8f1ebca52e24819e33f..9761ed160b3d1cd24d5f5368344b11ad685e2e4e 100644 |
--- a/src/objects-debug.cc |
+++ b/src/objects-debug.cc |
@@ -901,8 +901,7 @@ void JSObject::SpillInformation::Print() { |
} |
-bool DescriptorArray::IsSortedNoDuplicates(int valid_entries) { |
- if (valid_entries == -1) valid_entries = number_of_descriptors(); |
+bool DescriptorArray::IsSortedNoDuplicates() { |
String* current_key = NULL; |
uint32_t current = 0; |
for (int i = 0; i < number_of_descriptors(); i++) { |
@@ -923,8 +922,7 @@ bool DescriptorArray::IsSortedNoDuplicates(int valid_entries) { |
} |
-bool TransitionArray::IsSortedNoDuplicates(int valid_entries) { |
- ASSERT(valid_entries == -1); |
+bool TransitionArray::IsSortedNoDuplicates() { |
String* current_key = NULL; |
uint32_t current = 0; |
for (int i = 0; i < number_of_transitions(); i++) { |