about summary refs log tree commit diff
path: root/src/comp/lib
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@mozilla.com>2010-11-10 17:46:49 -0800
committerGraydon Hoare <graydon@mozilla.com>2010-11-10 17:46:49 -0800
commitd1e7f0b4146aaaf3aa54902de9eb2ac44ad01160 (patch)
treeabf363aa278a546ab3065c228cb068c270aec4c1 /src/comp/lib
parenta404e542614c0848931544eb0281fd546a62a971 (diff)
Redo the scheme for block context chaining and termination, to simplify and support ret better.
Diffstat (limited to 'src/comp/lib')
-rw-r--r--src/comp/lib/llvm.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/comp/lib/llvm.rs b/src/comp/lib/llvm.rs
index 456b82cdc44..d30bb3ba6aa 100644
--- a/src/comp/lib/llvm.rs
+++ b/src/comp/lib/llvm.rs
@@ -679,6 +679,8 @@ native mod llvm = llvm_lib {
     fn LLVMBuildPtrDiff(BuilderRef B, ValueRef LHS,
                         ValueRef RHS, sbuf Name) -> ValueRef;
 
+    /* Selected entries from the downcasts. */
+    fn LLVMIsATerminatorInst(ValueRef Inst) -> ValueRef;
 
     /** Writes a module to the specified path. Returns 0 on success. */
     fn LLVMWriteBitcodeToFile(ModuleRef M, sbuf Path) -> int;