Index: src/ia32/deoptimizer-ia32.cc |
diff --git a/src/ia32/deoptimizer-ia32.cc b/src/ia32/deoptimizer-ia32.cc |
index efe6476203059e05d2238c459abea357d72708e1..abe886383473ebcdd283e8ac23e60a7a1d022c98 100644 |
--- a/src/ia32/deoptimizer-ia32.cc |
+++ b/src/ia32/deoptimizer-ia32.cc |
@@ -207,10 +207,8 @@ void Deoptimizer::CopyDoubleRegisters(FrameDescription* output_frame) { |
} |
} |
- |
-bool Deoptimizer::HasAlignmentPadding(JSFunction* function) { |
- int parameter_count = |
- function->shared()->internal_formal_parameter_count() + 1; |
+bool Deoptimizer::HasAlignmentPadding(SharedFunctionInfo* shared) { |
+ int parameter_count = shared->internal_formal_parameter_count() + 1; |
unsigned input_frame_size = input_->GetFrameSize(); |
unsigned alignment_state_offset = |
input_frame_size - parameter_count * kPointerSize - |