Fixed an excessive ctor issue. Patch from Kirk Beitz / Jai Menon.

llvm-svn: 124928
This commit is contained in:
Greg Clayton 2011-02-05 02:28:58 +00:00
parent fd18426e55
commit 9c139319f8
1 changed files with 3 additions and 3 deletions

View File

@ -374,9 +374,9 @@ IRForTarget::CreateResultVariable (llvm::Module &llvm_module, llvm::Function &ll
result_decl_type);
}
StoreInst *synthesized_store = new StoreInst::StoreInst(initializer,
new_result_global,
first_entry_instruction);
StoreInst *synthesized_store = new StoreInst(initializer,
new_result_global,
first_entry_instruction);
if (log)
log->Printf("Synthesized result store \"%s\"\n", PrintValue(synthesized_store).c_str());