about summary refs log tree commit diff
path: root/src/comp/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/comp/lib')
-rw-r--r--src/comp/lib/llvm.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/comp/lib/llvm.rs b/src/comp/lib/llvm.rs
index 62ad92ac380..4def2d116bc 100644
--- a/src/comp/lib/llvm.rs
+++ b/src/comp/lib/llvm.rs
@@ -571,7 +571,6 @@ native "cdecl" mod llvm = "rustllvm" {
     fn LLVMBuildInvoke(B: BuilderRef, Fn: ValueRef, Args: *ValueRef,
                        NumArgs: uint, Then: BasicBlockRef,
                        Catch: BasicBlockRef, Name: sbuf) -> ValueRef;
-    fn LLVMBuildUnwind(B: BuilderRef) -> ValueRef;
     fn LLVMBuildUnreachable(B: BuilderRef) -> ValueRef;
 
     /* Add a case to the switch instruction */
@@ -949,12 +948,6 @@ obj builder(B: BuilderRef, terminated: @mutable bool,
                                   Then, Catch, str::buf(""));
     }
 
-    fn Unwind() -> ValueRef {
-        assert (!*terminated);
-        *terminated = true;
-        ret llvm::LLVMBuildUnwind(B);
-    }
-
     fn Unreachable() -> ValueRef {
         assert (!*terminated);
         *terminated = true;