Revision: 10984 Author: [email protected] Date: Fri Mar 9 04:08:05 2012 Log: Fix warning.
[email protected] BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/9655025 http://code.google.com/p/v8/source/detail?r=10984 Modified: /branches/bleeding_edge/src/scopes.cc ======================================= --- /branches/bleeding_edge/src/scopes.cc Thu Mar 8 05:03:07 2012 +++ /branches/bleeding_edge/src/scopes.cc Fri Mar 9 04:08:05 2012 @@ -1006,7 +1006,7 @@ 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); -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
