Skip to content

Commit

Permalink
Pass codegen params to setup_module from emit_function.
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt committed Nov 14, 2017
1 parent c14adf0 commit 7c46e3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/codegen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4986,7 +4986,7 @@ static std::unique_ptr<Module> emit_function(

// allocate Function declarations and wrapper objects
Module *M = new Module(ctx.name, jl_LLVMContext);
jl_setup_module(M);
jl_setup_module(M, params);
jl_returninfo_t returninfo = {};
Function *f = NULL;
Function *fwrap = NULL;
Expand Down

0 comments on commit 7c46e3d

Please sign in to comment.