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