| Index: src/ia32/deoptimizer-ia32.cc
|
| diff --git a/src/ia32/deoptimizer-ia32.cc b/src/ia32/deoptimizer-ia32.cc
|
| index 649bf9cff3c7e7cd5c661416ddb2eea13ea29d1f..09a86836f666f6c8ef7a5909e359e4ba2447c0df 100644
|
| --- a/src/ia32/deoptimizer-ia32.cc
|
| +++ b/src/ia32/deoptimizer-ia32.cc
|
| @@ -203,9 +203,7 @@ void Deoptimizer::SetPlatformCompiledStubRegisters(
|
| intptr_t handler =
|
| reinterpret_cast<intptr_t>(descriptor->deoptimization_handler_);
|
| int params = descriptor->register_param_count_;
|
| - if (descriptor->stack_parameter_count_ != NULL) {
|
| - params++;
|
| - }
|
| + if (descriptor->PassCallerArguments()) params++;
|
| output_frame->SetRegister(eax.code(), params);
|
| output_frame->SetRegister(ebx.code(), handler);
|
| }
|
|
|