diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-06-17 21:50:25 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-06-17 21:50:25 +0200 |
commit | 473c83961abe4e2fb52c8812e46bf19a41fe52cf (patch) | |
tree | 130b71c9e47b60837257ab7b104adf99d44152b8 /src/ortho/llvm6/llvm-cbindings.cpp | |
parent | 6581cce8c6ea51b5386156fa4d21bd8f1865f851 (diff) | |
download | ghdl-473c83961abe4e2fb52c8812e46bf19a41fe52cf.tar.gz ghdl-473c83961abe4e2fb52c8812e46bf19a41fe52cf.tar.bz2 ghdl-473c83961abe4e2fb52c8812e46bf19a41fe52cf.zip |
src/ortho: add new_convert.
Diffstat (limited to 'src/ortho/llvm6/llvm-cbindings.cpp')
-rw-r--r-- | src/ortho/llvm6/llvm-cbindings.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/ortho/llvm6/llvm-cbindings.cpp b/src/ortho/llvm6/llvm-cbindings.cpp index 2b8c83e85..a6f78df62 100644 --- a/src/ortho/llvm6/llvm-cbindings.cpp +++ b/src/ortho/llvm6/llvm-cbindings.cpp @@ -1959,7 +1959,7 @@ new_dyadic_op (ONOpKind Kind, OEnode Left, OEnode Right) } extern "C" OEnode -new_convert_ov (OEnode Val, OTnode Rtype) +new_convert (OEnode Val, OTnode Rtype) { if (Unreach) { return {nullptr, Rtype}; @@ -2042,6 +2042,12 @@ new_convert_ov (OEnode Val, OTnode Rtype) } extern "C" OEnode +new_convert_ov (OEnode Val, OTnode Rtype) +{ + return new_convert(Val, Rtype); +} + +extern "C" OEnode new_alloca (OTnode Rtype, OEnode Size) { LLVMValueRef Res; |