Index: src/x87/deoptimizer-x87.cc |
diff --git a/src/x87/deoptimizer-x87.cc b/src/x87/deoptimizer-x87.cc |
index 5a1951a0edec3799fe43eb3ef26ce37dd9bf8229..b5e7dc818101a5589caf7a7a0b77346c27da0e43 100644 |
--- a/src/x87/deoptimizer-x87.cc |
+++ b/src/x87/deoptimizer-x87.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 - |