Index: src/code-stubs-hydrogen.cc |
diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc |
index 11cd307451cc0017429d0ea84be0bbdc410982a5..c055a7c98fdafc05397db47ba2a6f6c7fc234c99 100644 |
--- a/src/code-stubs-hydrogen.cc |
+++ b/src/code-stubs-hydrogen.cc |
@@ -599,7 +599,7 @@ HValue* CodeStubGraphBuilderBase::BuildArraySingleArgumentConstructor( |
HConstant* initial_capacity_node = new(zone()) HConstant(initial_capacity); |
AddInstruction(initial_capacity_node); |
- HBoundsCheck* checked_arg = AddBoundsCheck(argument, max_alloc_length); |
+ HBoundsCheck* checked_arg = Add<HBoundsCheck>(argument, max_alloc_length); |
IfBuilder if_builder(this); |
if_builder.IfCompare(checked_arg, constant_zero, Token::EQ); |
if_builder.Then(); |