aboutsummaryrefslogtreecommitdiff
path: root/src/zig_llvm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/zig_llvm.cpp')
-rw-r--r--src/zig_llvm.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/zig_llvm.cpp b/src/zig_llvm.cpp
index 4f73bd2c3c..586abf5b04 100644
--- a/src/zig_llvm.cpp
+++ b/src/zig_llvm.cpp
@@ -1239,10 +1239,6 @@ void ZigLLVMSetCallElemTypeAttr(LLVMValueRef Call, size_t arg_index, LLVMTypeRef
Attribute::get(call_inst->getContext(), Attribute::ElementType, llvm_type));
}
-LLVMTypeRef ZigLLVMGetGEPResultElementType(LLVMValueRef GEP) {
- return wrap(unwrap<GEPOperator>(GEP)->getResultElementType());
-}
-
void ZigLLVMFunctionSetPrefixData(LLVMValueRef function, LLVMValueRef data) {
unwrap<Function>(function)->setPrefixData(unwrap<Constant>(data));
}