diff options
| author | Graydon Hoare <[email protected]> | 2010-11-10 17:46:49 -0800 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-11-10 17:46:49 -0800 |
| commit | d1e7f0b4146aaaf3aa54902de9eb2ac44ad01160 (patch) | |
| tree | abf363aa278a546ab3065c228cb068c270aec4c1 /src/comp/lib | |
| parent | Teach rustc about const tag value, begin work on trans_copy_ty, make uint's t... (diff) | |
| download | rust-d1e7f0b4146aaaf3aa54902de9eb2ac44ad01160.tar.xz rust-d1e7f0b4146aaaf3aa54902de9eb2ac44ad01160.zip | |
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 456b82cd..d30bb3ba 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; |