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:
parent
f1fec84711
commit
e7a3a5bc9c
@ -593,7 +593,6 @@ void FullCodeGenerator::VisitModuleLiteral(ModuleLiteral* module) {
|
|||||||
Block* block = module->body();
|
Block* block = module->body();
|
||||||
Scope* saved_scope = scope();
|
Scope* saved_scope = scope();
|
||||||
scope_ = block->scope();
|
scope_ = block->scope();
|
||||||
Handle<ScopeInfo> scope_info = scope_->GetScopeInfo();
|
|
||||||
Interface* interface = module->interface();
|
Interface* interface = module->interface();
|
||||||
Handle<JSModule> instance = interface->Instance();
|
Handle<JSModule> instance = interface->Instance();
|
||||||
|
|
||||||
|
@ -1378,6 +1378,7 @@ void Scope::LinkModules(CompilationInfo* info) {
|
|||||||
Accessors::MakeModuleExport(it.name(), var->index(), attr);
|
Accessors::MakeModuleExport(it.name(), var->index(), attr);
|
||||||
Handle<Object> result = SetAccessor(instance, info);
|
Handle<Object> result = SetAccessor(instance, info);
|
||||||
ASSERT(!(result.is_null() || result->IsUndefined()));
|
ASSERT(!(result.is_null() || result->IsUndefined()));
|
||||||
|
USE(result);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
USE(JSObject::PreventExtensions(instance));
|
USE(JSObject::PreventExtensions(instance));
|
||||||
|
Loading…
Reference in New Issue
Block a user