Fixed an excessive ctor issue. Patch from Kirk Beitz / Jai Menon.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@124928 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Expression/IRForTarget.cpp b/source/Expression/IRForTarget.cpp
index 517ab13..4601a3f 100644
--- a/source/Expression/IRForTarget.cpp
+++ b/source/Expression/IRForTarget.cpp
@@ -374,9 +374,9 @@
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());