Silence warnings.

R=jkummerow@chromium.org
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/10692131

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12017 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
rossberg@chromium.org 2012-07-09 13:54:29 +00:00
parent f1fec84711
commit e7a3a5bc9c
2 changed files with 1 additions and 1 deletions

View File

@ -593,7 +593,6 @@ void FullCodeGenerator::VisitModuleLiteral(ModuleLiteral* module) {
Block* block = module->body();
Scope* saved_scope = scope();
scope_ = block->scope();
Handle<ScopeInfo> scope_info = scope_->GetScopeInfo();
Interface* interface = module->interface();
Handle<JSModule> instance = interface->Instance();

View File

@ -1378,6 +1378,7 @@ void Scope::LinkModules(CompilationInfo* info) {
Accessors::MakeModuleExport(it.name(), var->index(), attr);
Handle<Object> result = SetAccessor(instance, info);
ASSERT(!(result.is_null() || result->IsUndefined()));
USE(result);
}
}
USE(JSObject::PreventExtensions(instance));