about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-08-06 11:25:14 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-08-06 11:25:14 -0700
commit720746a139278adaaac40ed264afeac70d2e9c95 (patch)
treea23d7f639a1c8297592fc6530df2187a9d0a32f3 /src/rustllvm/RustWrapper.cpp
parente5df5f56069de2778857597118a6e5f95d659736 (diff)
parent881bfb1a180a1b545daa9da1539ec4c8ebda7ed1 (diff)
downloadrust-720746a139278adaaac40ed264afeac70d2e9c95.tar.gz
rust-720746a139278adaaac40ed264afeac70d2e9c95.zip
Merge commit '881bfb1a180a1b545daa9da1539ec4c8ebda7ed1' into rollup
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
-rw-r--r--src/rustllvm/RustWrapper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rustllvm/RustWrapper.cpp b/src/rustllvm/RustWrapper.cpp
index 8a3e06aabc6..8051235da20 100644
--- a/src/rustllvm/RustWrapper.cpp
+++ b/src/rustllvm/RustWrapper.cpp
@@ -282,7 +282,7 @@ extern "C" LLVMValueRef LLVMDIBuilderCreateSubroutineType(
     LLVMValueRef ParameterTypes) {
     return wrap(Builder->createSubroutineType(
         unwrapDI<DIFile>(File),
-        unwrapDI<DIArray>(ParameterTypes)));
+        unwrapDI<DITypeArray>(ParameterTypes)));
 }
 
 extern "C" LLVMValueRef LLVMDIBuilderCreateFunction(
@@ -634,7 +634,7 @@ extern "C" void LLVMDICompositeTypeSetTypeArray(
     LLVMValueRef CompositeType,
     LLVMValueRef TypeArray)
 {
-    unwrapDI<DICompositeType>(CompositeType).setTypeArray(unwrapDI<DIArray>(TypeArray));
+    unwrapDI<DICompositeType>(CompositeType).setArrays(unwrapDI<DIArray>(TypeArray));
 }
 
 extern "C" char *LLVMTypeToString(LLVMTypeRef Type) {