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); |