| Index: src/runtime/runtime-scopes.cc
|
| diff --git a/src/runtime/runtime-scopes.cc b/src/runtime/runtime-scopes.cc
|
| index e99963dfbbc605fc362d73ea62b9a75cd89d0b87..c416e244faabec36df54efd75e4ef2b0d9f3602c 100644
|
| --- a/src/runtime/runtime-scopes.cc
|
| +++ b/src/runtime/runtime-scopes.cc
|
| @@ -826,8 +826,10 @@ RUNTIME_FUNCTION(Runtime_DeclareModules) {
|
| }
|
| }
|
|
|
| - if (JSObject::PreventExtensions(module, Object::THROW_ON_ERROR).IsNothing())
|
| + if (JSObject::PreventExtensions(module, Object::THROW_ON_ERROR)
|
| + .IsNothing()) {
|
| DCHECK(false);
|
| + }
|
| }
|
|
|
| DCHECK(!isolate->has_pending_exception());
|
|
|