()
| 229 | IrRegister::Named(name.to_owned()) |
| 230 | } |
| 231 | |
| 232 | #[test] |
| 233 | fn alloc_slot_for_struct_reserves_full_struct_size() { |
| 234 | let mut ctx = FunctionContext::new(&HashMap::new()); |
| 235 | let struct_ty = heap_block_ty(); |
| 236 | ctx.alloc_slot_for_alloc(®("block"), &struct_ty, None); |
no outgoing calls