about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2022-10-01 18:22:46 +0000
committerAntoni Boucher <bouanto@zoho.com>2023-02-28 19:18:41 -0500
commit4310bbdfa6bdd2fa5ebbd9cd32c850ee12bcd0a2 (patch)
tree704c3bb6e0e4114cc9a389b3d9942c841f7356f8 /src
parentb909493151dbe517c9c897eb81de3346e0d451f9 (diff)
downloadrust-4310bbdfa6bdd2fa5ebbd9cd32c850ee12bcd0a2.tar.gz
rust-4310bbdfa6bdd2fa5ebbd9cd32c850ee12bcd0a2.zip
Remove type argument of array_alloca and rename to byte_array_alloca
Diffstat (limited to 'src')
-rw-r--r--src/builder.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/builder.rs b/src/builder.rs
index e3d4462cb2b..c43895ee565 100644
--- a/src/builder.rs
+++ b/src/builder.rs
@@ -714,7 +714,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!();
     }