aboutsummaryrefslogtreecommitdiffstats
path: root/src/ortho/llvm6/llvm-cbindings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ortho/llvm6/llvm-cbindings.cpp')
-rw-r--r--src/ortho/llvm6/llvm-cbindings.cpp8
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;