(&mut self, ty: &'ll Type, align: Align)
| 445 | } |
| 446 | |
| 447 | fn alloca(&mut self, ty: &'ll Type, align: Align) -> &'ll Value { |
| 448 | trace!("Alloca `{:?}`", ty); |
| 449 | let mut bx = Builder::with_cx(self.cx); |
| 450 | bx.position_at_start(unsafe { llvm::LLVMGetFirstBasicBlock(self.llfn()) }); |
| 451 | bx.dynamic_alloca(ty, align) |
| 452 | } |
| 453 | |
| 454 | fn dynamic_alloca(&mut self, ty: &'ll Type, align: Align) -> &'ll Value { |
| 455 | trace!("Dynamic Alloca `{:?}`", ty); |
no test coverage detected