about summary refs log tree commit diff
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
commit413edf67713195ebbf57ba50aac84e9387559bbe (patch)
tree1d29d931b72c245991d328bca595de16388133b3
parentaf0b18b454029cea852db105f15d443f4af1e2b1 (diff)
downloadrust-413edf67713195ebbf57ba50aac84e9387559bbe.tar.gz
rust-413edf67713195ebbf57ba50aac84e9387559bbe.zip
Remove type argument of array_alloca and rename to byte_array_alloca
-rw-r--r--src/builder.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/builder.rs b/src/builder.rs
index 15471ecdb03..a314b7cc215 100644
--- a/src/builder.rs
+++ b/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!();
     }