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