Skip to content

Commit

Permalink
Update per @Praetonus's comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
chalcolith committed Apr 5, 2018
1 parent bc4e98d commit a6ae93a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/libponyc/codegen/host.cc
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,8 @@ LLVMTargetMachineRef codegen_machine(LLVMTargetRef target, pass_opt_t* opt,
TargetMachine* m = t->createTargetMachine(opt->triple, opt->cpu,
opt->features, options, reloc, model, opt_level);
#else
CodeModel::Model model = jit ? CodeModel::Large : CodeModel::Small;
TargetMachine* m = t->createTargetMachine(opt->triple, opt->cpu,
opt->features, options, reloc, model, opt_level, jit);
TargetMachine* m = t->createTargetMachine(opt->triple, opt->cpu,
opt->features, options, reloc, llvm::None, opt_level, jit);
#endif

return reinterpret_cast<LLVMTargetMachineRef>(m);
Expand Down

0 comments on commit a6ae93a

Please sign in to comment.