| Index: src/deoptimizer.cc
|
| diff --git a/src/deoptimizer.cc b/src/deoptimizer.cc
|
| index 8015baf6e9dd02531d4e69b9950f5a5a4c441270..a82fda90f653d83776f2b4d861be59a48b93b48a 100644
|
| --- a/src/deoptimizer.cc
|
| +++ b/src/deoptimizer.cc
|
| @@ -1497,10 +1497,9 @@ unsigned Deoptimizer::ComputeInputFrameSize() const {
|
| // size matches with the stack height we can compute based on the
|
| // environment at the OSR entry. The code for that his built into
|
| // the DoComputeOsrOutputFrame function for now.
|
| - } else {
|
| + } else if (compiled_code_->kind() != Code::COMPILED_STUB) {
|
| unsigned stack_slots = compiled_code_->stack_slots();
|
| - unsigned outgoing_size = compiled_code_->kind() == Code::COMPILED_STUB
|
| - ? 0 : ComputeOutgoingArgumentSize();
|
| + unsigned outgoing_size = ComputeOutgoingArgumentSize();
|
| ASSERT(result == fixed_size + (stack_slots * kPointerSize) + outgoing_size);
|
| }
|
| #endif
|
|
|