This breaks compilation on newer GCCs:

../src/scopes.cc: In member function 'void
v8::internal::Scope::LinkModules(v8::internal::CompilationInfo*)':
../src/scopes.cc:1379:24: error: variable 'result' set but not used
[-Werror=unused-but-set-variable]

../src/full-codegen.cc: In member function 'virtual void
v8::internal::FullCodeGenerator::VisitModuleLiteral(v8::internal::ModuleLiteral*)':
../src/full-codegen.cc:596:21: error: variable 'scope_info' set but not used
[-Werror=unused-but-set-variable]


https://chromiumcodereview.appspot.com/10690043/diff/4004/src/full-codegen.cc
File src/full-codegen.cc (right):

https://chromiumcodereview.appspot.com/10690043/diff/4004/src/full-codegen.cc#newcode596
src/full-codegen.cc:596: Handle<ScopeInfo> scope_info =
scope_->GetScopeInfo();
unused variable.

https://chromiumcodereview.appspot.com/10690043/diff/4004/src/scopes.cc
File src/scopes.cc (right):

https://chromiumcodereview.appspot.com/10690043/diff/4004/src/scopes.cc#newcode1371
src/scopes.cc:1371: Handle<Object> result = SetAccessor(instance, info);
unused variable (in release mode).

https://chromiumcodereview.appspot.com/10690043/

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to