| Index: src/objects.cc
|
| diff --git a/src/objects.cc b/src/objects.cc
|
| index 820e2289decd8bae4715d6e73528f3c283f83e61..89ae2a6536ca331fb8d346b45eafe9484edd6ca9 100644
|
| --- a/src/objects.cc
|
| +++ b/src/objects.cc
|
| @@ -10667,7 +10667,7 @@
|
|
|
| void JSFunction::SetPrototype(Handle<JSFunction> function,
|
| Handle<Object> value) {
|
| - DCHECK(function->IsConstructor());
|
| + DCHECK(function->should_have_prototype());
|
| Handle<Object> construct_prototype = value;
|
|
|
| // If the value is not a JSReceiver, store the value in the map's
|
|
|