about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2022-10-01 18:22:46 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2022-10-02 13:42:14 +0000
commit268e02c3875f8d0310a8eeb36007e7d80aa63cbd (patch)
treecdf94a3f3267286ef221c5026e188c6d538502a2 /compiler/rustc_codegen_gcc
parent0fe84bc38b19bacb7cb2a5765fb4ffa2106fe9e2 (diff)
downloadrust-268e02c3875f8d0310a8eeb36007e7d80aa63cbd.tar.gz
rust-268e02c3875f8d0310a8eeb36007e7d80aa63cbd.zip
Remove type argument of array_alloca and rename to byte_array_alloca
Diffstat (limited to 'compiler/rustc_codegen_gcc')
-rw-r--r--compiler/rustc_codegen_gcc/src/builder.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_gcc/src/builder.rs b/compiler/rustc_codegen_gcc/src/builder.rs
index 15471ecdb03..a314b7cc215 100644
--- a/compiler/rustc_codegen_gcc/src/builder.rs
+++ b/compiler/rustc_codegen_gcc/src/builder.rs
@@ -655,7 +655,7 @@ impl<'a, 'gcc, 'tcx> BuilderMethods<'a, 'tcx> for Builder<'a, 'gcc, 'tcx> {
         self.current_func().new_local(None, aligned_type, &format!("stack_var_{}", self.stack_var_count.get())).get_address(None)
     }
 
-    fn array_alloca(&mut self, _ty: Type<'gcc>, _len: RValue<'gcc>, _align: Align) -> RValue<'gcc> {
+    fn byte_array_alloca(&mut self, _len: RValue<'gcc>, _align: Align) -> RValue<'gcc> {
         unimplemented!();
     }