Index: src/objects.cc |
=================================================================== |
--- src/objects.cc (revision 5455) |
+++ src/objects.cc (working copy) |
@@ -3825,7 +3825,7 @@ |
} |
-void DescriptorArray::Sort() { |
+void DescriptorArray::SortUnchecked() { |
// In-place heap sort. |
int len = number_of_descriptors(); |
@@ -3875,7 +3875,11 @@ |
parent_index = child_index; |
} |
} |
+} |
+ |
+void DescriptorArray::Sort() { |
+ SortUnchecked(); |
SLOW_ASSERT(IsSortedNoDuplicates()); |
} |
@@ -5269,6 +5273,13 @@ |
} |
+void SharedFunctionInfo::ForbidInlineConstructor() { |
+ set_compiler_hints(BooleanBit::set(compiler_hints(), |
+ kHasOnlySimpleThisPropertyAssignments, |
+ false)); |
+} |
+ |
+ |
void SharedFunctionInfo::SetThisPropertyAssignmentsInfo( |
bool only_simple_this_property_assignments, |
FixedArray* assignments) { |