replace some deprecated functions
This commit is contained in:
parent
a5cf8bbd4e
commit
b7c5656713
14 changed files with 61 additions and 87 deletions
|
@ -500,6 +500,7 @@ impl<'a, 'gcc, 'tcx> Deref for Builder<'a, 'gcc, 'tcx> {
|
|||
|
||||
impl<'gcc, 'tcx> BackendTypes for Builder<'_, 'gcc, 'tcx> {
|
||||
type Value = <CodegenCx<'gcc, 'tcx> as BackendTypes>::Value;
|
||||
type Metadata = <CodegenCx<'gcc, 'tcx> as BackendTypes>::Metadata;
|
||||
type Function = <CodegenCx<'gcc, 'tcx> as BackendTypes>::Function;
|
||||
type BasicBlock = <CodegenCx<'gcc, 'tcx> as BackendTypes>::BasicBlock;
|
||||
type Type = <CodegenCx<'gcc, 'tcx> as BackendTypes>::Type;
|
||||
|
|
|
@ -414,6 +414,7 @@ impl<'gcc, 'tcx> CodegenCx<'gcc, 'tcx> {
|
|||
|
||||
impl<'gcc, 'tcx> BackendTypes for CodegenCx<'gcc, 'tcx> {
|
||||
type Value = RValue<'gcc>;
|
||||
type Metadata = RValue<'gcc>;
|
||||
type Function = RValue<'gcc>;
|
||||
|
||||
type BasicBlock = Block<'gcc>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue