Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(840)

Unified Diff: src/objects.h

Issue 10743003: Splitting DescriptorArray::CopyInsert into CopyInsert and CopyReplace. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: u Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/factory.cc ('k') | src/objects.cc » ('j') | src/objects.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 89d28099f69cf6595b364a4948e82057a7ea9b95..4cbf2bd75d5f73d871c89e0be423321254c1f444 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -2569,6 +2569,9 @@ class DescriptorArray: public FixedArray {
// If adding a real property, map transitions must be removed. If adding
// a transition, they must not be removed. All null descriptors are removed.
MUST_USE_RESULT MaybeObject* CopyInsert(Descriptor* descriptor);
+ MUST_USE_RESULT MaybeObject* CopyAdd(Descriptor* descriptor);
+ MUST_USE_RESULT MaybeObject* CopyReplace(
+ int insertion_index, Descriptor* descriptor);
Michael Starzinger 2012/07/12 13:17:42 To me it seems more intuitive to switch those two
// Indicates whether the search function should expect a sorted or an unsorted
// descriptor array as input.
« no previous file with comments | « src/factory.cc ('k') | src/objects.cc » ('j') | src/objects.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698