diff options
| author | Graydon Hoare <graydon@mozilla.com> | 2010-11-10 17:46:49 -0800 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2010-11-10 17:46:49 -0800 |
| commit | d1e7f0b4146aaaf3aa54902de9eb2ac44ad01160 (patch) | |
| tree | abf363aa278a546ab3065c228cb068c270aec4c1 /src/comp/lib | |
| parent | a404e542614c0848931544eb0281fd546a62a971 (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.rs | 2 |
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; |
