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

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: Addressed comments 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') | no next file with comments »
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..28eb4f3096412d59fc276b75327199793a32072a 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(Descriptor* descriptor,
+ int insertion_index);
// 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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698