| Index: src/bootstrapper.cc
|
| diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
|
| index 20b3cfdf2096103ccc833bae1c91306798218ddb..1d1436dd87de4f2bd40dc8531a900c5d433e62e0 100644
|
| --- a/src/bootstrapper.cc
|
| +++ b/src/bootstrapper.cc
|
| @@ -687,7 +687,9 @@ Handle<JSFunction> Genesis::GetThrowTypeErrorIntrinsic(
|
| function->shared()->DontAdaptArguments();
|
|
|
| // %ThrowTypeError% must not have a name property.
|
| - JSReceiver::DeleteProperty(function, factory()->name_string()).Assert();
|
| + if (JSReceiver::DeleteProperty(function, factory()->name_string())
|
| + .IsNothing())
|
| + DCHECK(false);
|
|
|
| // length needs to be non configurable.
|
| Handle<Object> value(Smi::FromInt(function->shared()->length()), isolate());
|
|
|