about summary refs log tree commit diff
path: root/src/librustc_codegen_llvm/llvm
diff options
context:
space:
mode:
authorEduard-Mihai Burtescu <edy.burt@gmail.com>2018-11-13 12:51:42 +0200
committerEduard-Mihai Burtescu <edy.burt@gmail.com>2018-11-16 14:40:12 +0200
commit35b40f51fb3fbe177745f251e2f58d928227a89a (patch)
tree6c8c792ca6c87aed0220536549a1c7ab3a68f45e /src/librustc_codegen_llvm/llvm
parent566fa4d003dd27c63a708a9e5e4e5c673a276f8d (diff)
downloadrust-35b40f51fb3fbe177745f251e2f58d928227a89a.tar.gz
rust-35b40f51fb3fbe177745f251e2f58d928227a89a.zip
[eddyb/rebase cleanup] abstracted Funclet
Diffstat (limited to 'src/librustc_codegen_llvm/llvm')
-rw-r--r--src/librustc_codegen_llvm/llvm/mod.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/librustc_codegen_llvm/llvm/mod.rs b/src/librustc_codegen_llvm/llvm/mod.rs
index 1d90f8be46d..fbd5192a63f 100644
--- a/src/librustc_codegen_llvm/llvm/mod.rs
+++ b/src/librustc_codegen_llvm/llvm/mod.rs
@@ -28,7 +28,6 @@ use std::ffi::CStr;
 use std::cell::RefCell;
 use libc::{self, c_uint, c_char, size_t};
 use rustc_data_structures::small_c_str::SmallCStr;
-use common;
 
 pub mod archive_ro;
 pub mod diagnostic;
@@ -272,10 +271,6 @@ impl OperandBundleDef<'a> {
         };
         OperandBundleDef { raw: def }
     }
-
-    pub fn from_generic(bundle: &common::OperandBundleDef<'a, &'a Value>) -> Self {
-        Self::new(bundle.name, &[bundle.val])
-    }
 }
 
 impl Drop for OperandBundleDef<'a> {