Commit e7a3a5bc authored by rossberg@chromium.org's avatar rossberg@chromium.org

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
parent f1fec847
......@@ -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();
......
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment