| Index: src/objects-inl.h
|
| diff --git a/src/objects-inl.h b/src/objects-inl.h
|
| index 753c80e5bb4db517c0815dfee109e550448d3ad5..ead4e6948513867541c8d2cc257009b9026ad05d 100644
|
| --- a/src/objects-inl.h
|
| +++ b/src/objects-inl.h
|
| @@ -5813,7 +5813,7 @@ bool Script::HasValidSource() {
|
|
|
|
|
| void SharedFunctionInfo::DontAdaptArguments() {
|
| - DCHECK(code()->kind() == Code::BUILTIN);
|
| + DCHECK(code()->kind() == Code::BUILTIN || code()->kind() == Code::STUB);
|
| set_internal_formal_parameter_count(kDontAdaptArgumentsSentinel);
|
| }
|
|
|
|
|