| 3445 | } |
| 3446 | |
| 3447 | BeStoreInst* BeModule::CreateStore(BeValue* val, BeValue* ptr, bool isVolatile) |
| 3448 | { |
| 3449 | BF_ASSERT(ptr->GetType()->IsPointer()); |
| 3450 | |
| 3451 | auto inst = mAlloc.Alloc<BeStoreInst>(); |
| 3452 | inst->mVal = val; |
| 3453 | inst->mPtr = ptr; |
| 3454 | inst->mIsVolatile = isVolatile; |
| 3455 | AddInst(inst); |
| 3456 | return inst; |
| 3457 | } |
| 3458 | |
| 3459 | BeStoreInst* BeModule::CreateAlignedStore(BeValue* val, BeValue* ptr, int alignment, bool isVolatile) |
| 3460 | { |
no test coverage detected