Generalized base.rs#call_memcpy and everything that it uses
Generalized operand.rs#nontemporal_store and fixed tidy issues Generalized operand.rs#nontemporal_store's implem even more With a BuilderMethod trait implemented by Builder for LLVM Cleaned builder.rs : no more code duplication, no more ValueTrait Full traitification of builder.rs
This commit is contained in:
parent
83b2152ce4
commit
34c5dc045f
28 changed files with 793 additions and 314 deletions
|
@ -49,6 +49,7 @@ use context::{is_pie_binary, get_reloc_model};
|
|||
use common::{C_bytes_in_context, val_ty};
|
||||
use jobserver::{Client, Acquired};
|
||||
use rustc_demangle;
|
||||
use value::Value;
|
||||
|
||||
use std::any::Any;
|
||||
use std::ffi::{CString, CStr};
|
||||
|
@ -2574,7 +2575,7 @@ fn create_msvc_imps(cgcx: &CodegenContext, llcx: &llvm::Context, llmod: &llvm::M
|
|||
"\x01__imp_"
|
||||
};
|
||||
unsafe {
|
||||
let i8p_ty = Type::i8p_llcx(llcx);
|
||||
let i8p_ty = Type::i8p_llcx::<Value>(llcx);
|
||||
let globals = base::iter_globals(llmod)
|
||||
.filter(|&val| {
|
||||
llvm::LLVMRustGetLinkage(val) == llvm::Linkage::ExternalLinkage &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue