Index: src/deoptimizer.cc |
diff --git a/src/deoptimizer.cc b/src/deoptimizer.cc |
index a44d15fbef1626dc6e99400439cf59d5bcb40d98..fa06caea96781c5ec2133eb9436d672f98d3eda7 100644 |
--- a/src/deoptimizer.cc |
+++ b/src/deoptimizer.cc |
@@ -2031,7 +2031,9 @@ unsigned Deoptimizer::ComputeInputFrameSize() const { |
unsigned stack_slots = compiled_code_->stack_slots(); |
unsigned outgoing_size = |
ComputeOutgoingArgumentSize(compiled_code_, bailout_id_); |
- CHECK(result == fixed_size + (stack_slots * kPointerSize) + outgoing_size); |
+ CHECK(result == |
+ fixed_size + (stack_slots * kPointerSize) - |
+ StandardFrameConstants::kFixedFrameSize + outgoing_size); |
} |
return result; |
} |