Skip to content

Commit

Permalink
Workaround for Project-ARTist/meta#23, avoiding arena allocation
Browse files Browse the repository at this point in the history
  • Loading branch information
schrnz committed Jan 19, 2019
1 parent b431ef7 commit f71ce3a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/module.cc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ using art::FilesystemHelper;


HArtist *TraceModule::createPass(const MethodInfo &method_info) const {
return new(method_info.GetGraph()->GetArena()) HTraceArtist(method_info);
// return new(method_info.GetGraph()->GetArena()) HTraceArtist(method_info);
return new HTraceArtist(method_info);
}

shared_ptr<const CodeLib> TraceModule::createCodeLib() const {
Expand Down

0 comments on commit f71ce3a

Please sign in to comment.