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

Unified Diff: src/ic.cc

Issue 256993003: Remove some remnants of MaybeObjects in objects.*. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: addressed comment Created 6 years, 8 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/ia32/lithium-codegen-ia32.cc ('k') | src/mips/lithium-codegen-mips.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ic.cc
diff --git a/src/ic.cc b/src/ic.cc
index 09444b337aba82437c5c4b80ea8b37fd7ad0ab7c..32efa5f0eee5f915a5c84f287f18836211a90a24 100644
--- a/src/ic.cc
+++ b/src/ic.cc
@@ -1945,8 +1945,7 @@ RUNTIME_FUNCTION(SharedStoreIC_ExtendStorage) {
int new_unused = transition->unused_property_fields();
int new_size = old_storage->length() + new_unused + 1;
- Handle<FixedArray> new_storage = isolate->factory()->CopySizeFixedArray(
- old_storage, new_size);
+ Handle<FixedArray> new_storage = FixedArray::CopySize(old_storage, new_size);
Handle<Object> to_store = value;
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/mips/lithium-codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698