Index: src/x87/deoptimizer-x87.cc |
diff --git a/src/x87/deoptimizer-x87.cc b/src/x87/deoptimizer-x87.cc |
index 262535efa1d01eb4f9eeaec539cda295ceace7f0..ffd2fa84efadabd758d99cc5e4ea2b2d27193634 100644 |
--- a/src/x87/deoptimizer-x87.cc |
+++ b/src/x87/deoptimizer-x87.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 - |