(
self, ptr: Value, struct: RStruct, field: str, *, borrow: bool = False
)
| 339 | return None |
| 340 | |
| 341 | def load_struct_field( |
| 342 | self, ptr: Value, struct: RStruct, field: str, *, borrow: bool = False |
| 343 | ) -> Value: |
| 344 | address = self.add(GetElementPtr(ptr, struct, field)) |
| 345 | return self.load_mem(address, struct.field_type(field), borrow=borrow) |
| 346 | |
| 347 | def set_struct_field( |
| 348 | self, ptr: Value, struct: RStruct, field: str, value: Value, line: int |
nothing calls this directly
no test coverage detected