Index: src/code-stubs-hydrogen.cc |
diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc |
index 3c90b5effa7ac16f8723b8732a4cf45c84d9f709..894c3d3b22df7f8e40ccf968d580091accc4a540 100644 |
--- a/src/code-stubs-hydrogen.cc |
+++ b/src/code-stubs-hydrogen.cc |
@@ -188,7 +188,7 @@ bool CodeStubGraphBuilderBase::BuildGraph() { |
if (!stack_parameter_count->IsConstant() && |
descriptor_->hint_stack_parameter_count_ < 0) { |
HInstruction* constant_one = graph()->GetConstant1(); |
- stack_pop_count = Add<HAdd>(stack_parameter_count, constant_one); |
+ stack_pop_count = AddUncasted<HAdd>(stack_parameter_count, constant_one); |
stack_pop_count->ClearFlag(HValue::kCanOverflow); |
// TODO(mvstanton): verify that stack_parameter_count+1 really fits in a |
// smi. |