summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorTorok Edwin <edwintorok@gmail.com>2011-10-06 12:13:28 +0000
committerTorok Edwin <edwintorok@gmail.com>2011-10-06 12:13:28 +0000
commit1cd9aded851697cea37652f56898ce37aee4d606 (patch)
tree0379268fe5cf08b11eef0327254ac2c6161c5b63 /llvm/lib
parent60c40de81b7310b2ea96a80fdc0d8d2da5bfde94 (diff)
downloadbcm5719-llvm-1cd9aded851697cea37652f56898ce37aee4d606.tar.gz
bcm5719-llvm-1cd9aded851697cea37652f56898ce37aee4d606.zip
ocaml/C bindings: type->isSized()
llvm-svn: 141288
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/VMCore/Core.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/VMCore/Core.cpp b/llvm/lib/VMCore/Core.cpp
index b8d2baf1e36..a6f04aed1f3 100644
--- a/llvm/lib/VMCore/Core.cpp
+++ b/llvm/lib/VMCore/Core.cpp
@@ -167,6 +167,11 @@ LLVMTypeKind LLVMGetTypeKind(LLVMTypeRef Ty) {
}
}
+LLVMBool LLVMTypeIsSized(LLVMTypeRef Ty)
+{
+ return unwrap(Ty)->isSized();
+}
+
LLVMContextRef LLVMGetTypeContext(LLVMTypeRef Ty) {
return wrap(&unwrap(Ty)->getContext());
}
OpenPOWER on IntegriCloud