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

Unified Diff: src/hydrogen.cc

Issue 95053002: Fix allocation memento bookeeping code for js arrays. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/hydrogen.cc
diff --git a/src/hydrogen.cc b/src/hydrogen.cc
index 5b9e42f9979195104780f8c89e5cb5ca061b8932..634d2cacd055f30fc0134b477a3ce05c01ec40e4 100644
--- a/src/hydrogen.cc
+++ b/src/hydrogen.cc
@@ -2248,9 +2248,8 @@ HInnerAllocatedObject* HGraphBuilder::BuildJSArrayHeader(HValue* array,
AllocationSite::kMementoCreateCountOffset);
HValue* create_info = Add<HLoadNamedField>(allocation_site_payload,
access);
- HInstruction* new_create_info = HAdd::New(zone(), context(),
- create_info,
- graph()->GetConstant1());
+ HInstruction* new_create_info =
+ AddUncasted<HAdd>(create_info, graph()->GetConstant1());
new_create_info->ClearFlag(HValue::kCanOverflow);
HStoreNamedField* store = Add<HStoreNamedField>(allocation_site_payload,
access, new_create_info);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698