From 60ec2e87e1dce922e7cd70e65ce5897a3a4abf28 Mon Sep 17 00:00:00 2001 From: Oliver Schranz Date: Sat, 19 Jan 2019 13:18:26 +0100 Subject: [PATCH] Workaround for Project-ARTist/meta#23, avoiding arena allocation --- src/module.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/module.cc b/src/module.cc index 570184a..1ed2945 100644 --- a/src/module.cc +++ b/src/module.cc @@ -39,7 +39,8 @@ TemplateModule::TemplateModule(const shared_ptr fs) HArtist * TemplateModule::createPass(const MethodInfo &method_info) const { // Due to the *clone bug* (https://github.com/Project-ARTist/ARTist/issues/10), we can only define one pass per // module right now, but this will change as soon as this bug is resolved. - return new (method_info.GetGraph()->GetArena()) HStethoArtist(method_info); +// return new (method_info.GetGraph()->GetArena()) HStethoArtist(method_info); + return new HStethoArtist(method_info); } shared_ptr TemplateModule::createCodeLib() const {