Mercurial > hg > octave-nkf
diff src/pt-jit.h @ 14941:1e3d0366ac8b
warn on divide by zero
author | Max Brister <max@2bass.com> |
---|---|
date | Thu, 07 Jun 2012 17:25:58 -0500 |
parents | 4488022820c9 |
children | e8487d98561c |
line wrap: on
line diff
--- a/src/pt-jit.h +++ b/src/pt-jit.h @@ -440,6 +440,12 @@ void add_binary_fcmp (jit_type *ty, int op, int llvm_op); + llvm::Function *create_function (const llvm::Twine& name, llvm::Type *ret) + { + std::vector<llvm::Type *> args; + return create_function (name, ret, args); + } + llvm::Function *create_function (const llvm::Twine& name, llvm::Type *ret, llvm::Type *arg0) {