Skip to content

Commit

Permalink
Merge pull request #24604 from JuliaLang/tb/module_setup_params
Browse files Browse the repository at this point in the history
Pass codegen params to setup_module from emit_function.
  • Loading branch information
maleadt authored Nov 15, 2017
2 parents 8c8fb67 + 7c46e3d commit e363155
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 e363155

Please sign in to comment.