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

Unified Diff: src/factory.cc

Issue 10784014: Removed transitions from the accessor pair descriptors. (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/bootstrapper.cc ('k') | src/heap.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/factory.cc
diff --git a/src/factory.cc b/src/factory.cc
index f56db70f14f895d310dc8ebb033ef7e64c3a2d8f..679bb443b012d81c95b24d88befccbc6491f9600 100644
--- a/src/factory.cc
+++ b/src/factory.cc
@@ -933,7 +933,7 @@ Handle<DescriptorArray> Factory::CopyAppendCallbackDescriptors(
if (0 < descriptor_count) {
result->SetLastAdded(array->LastAdded());
for (int i = 0; i < descriptor_count; i++) {
- DescriptorArray::CopyFrom(result, i, array, i, witness);
+ result->CopyFrom(i, *array, i, witness);
}
}
@@ -967,7 +967,7 @@ Handle<DescriptorArray> Factory::CopyAppendCallbackDescriptors(
Handle<DescriptorArray> new_result =
NewDescriptorArray(new_number_of_descriptors);
for (int i = 0; i < new_number_of_descriptors; i++) {
- DescriptorArray::CopyFrom(new_result, i, result, i, witness);
+ new_result->CopyFrom(i, *result, i, witness);
}
result = new_result;
}
« no previous file with comments | « src/bootstrapper.cc ('k') | src/heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698