Index: src/ia32/deoptimizer-ia32.cc |
diff --git a/src/ia32/deoptimizer-ia32.cc b/src/ia32/deoptimizer-ia32.cc |
index 27e308d2989c16d3e1205c16db23370fc60212f4..4c1475b9d25c17f82698a027effc88fd059c39bd 100644 |
--- a/src/ia32/deoptimizer-ia32.cc |
+++ b/src/ia32/deoptimizer-ia32.cc |
@@ -212,8 +212,7 @@ |
bool Deoptimizer::HasAlignmentPadding(JSFunction* function) { |
- int parameter_count = |
- function->shared()->internal_formal_parameter_count() + 1; |
+ int parameter_count = function->shared()->formal_parameter_count() + 1; |
unsigned input_frame_size = input_->GetFrameSize(); |
unsigned alignment_state_offset = |
input_frame_size - parameter_count * kPointerSize - |