| Index: src/scopes.cc
|
| diff --git a/src/scopes.cc b/src/scopes.cc
|
| index bcb64350117130eb2bb02b32cdb23c40ed7098ae..4c4729e69ceee1d55624ddc4d278e3dec1b92495 100644
|
| --- a/src/scopes.cc
|
| +++ b/src/scopes.cc
|
| @@ -1114,7 +1114,7 @@ bool Scope::ResolveVariable(CompilationInfo* info,
|
| Isolate* isolate = info->isolate();
|
| Factory* factory = isolate->factory();
|
| Handle<JSArray> array = factory->NewJSArray(1);
|
| - USE(JSObject::SetElement(array, 0, var->name(), NONE, STRICT));
|
| + JSObject::SetElement(array, 0, var->name(), NONE, STRICT).Assert();
|
| Handle<Object> result =
|
| factory->NewSyntaxError("module_type_error", array);
|
| isolate->Throw(*result, &location);
|
|
|