Generalized memset and memcpy

This commit is contained in:
Denis Merigoux 2018-09-07 15:39:39 -07:00 committed by Eduard-Mihai Burtescu
parent 0514c7b1b2
commit d77e34f35b
23 changed files with 444 additions and 368 deletions

View file

@ -17,6 +17,7 @@ use builder::MemFlags;
use super::backend::Backend;
use super::type_::TypeMethods;
use super::consts::ConstMethods;
use super::intrinsic::IntrinsicMethods;
use std::borrow::Cow;
use std::ops::Range;
@ -24,7 +25,7 @@ use syntax::ast::AsmDialect;
pub trait BuilderMethods<'a, 'tcx: 'a>: Backend {
type CodegenCx: 'a + TypeMethods + ConstMethods + Backend<
type CodegenCx: 'a + TypeMethods + ConstMethods + IntrinsicMethods + Backend<
Value = Self::Value,
BasicBlock = Self::BasicBlock,
Type = Self::Type,