| Index: src/deoptimizer.cc
|
| diff --git a/src/deoptimizer.cc b/src/deoptimizer.cc
|
| index e2fa5f33ce4a88753f8d46559c59c90f13d172a5..5517deef4d2dcb3802f3e08601ea3e7814da8f7a 100644
|
| --- a/src/deoptimizer.cc
|
| +++ b/src/deoptimizer.cc
|
| @@ -2632,13 +2632,11 @@ unsigned Deoptimizer::ComputeInputFrameSize() const {
|
| // function into account so we have to avoid double counting them.
|
| unsigned result = fixed_size + fp_to_sp_delta_ -
|
| StandardFrameConstants::kFixedFrameSizeFromFp;
|
| -#ifdef DEBUG
|
| if (compiled_code_->kind() == Code::OPTIMIZED_FUNCTION) {
|
| unsigned stack_slots = compiled_code_->stack_slots();
|
| unsigned outgoing_size = ComputeOutgoingArgumentSize();
|
| - ASSERT(result == fixed_size + (stack_slots * kPointerSize) + outgoing_size);
|
| + CHECK(result == fixed_size + (stack_slots * kPointerSize) + outgoing_size);
|
| }
|
| -#endif
|
| return result;
|
| }
|
|
|
|
|