| 61 | #endif |
| 62 | |
| 63 | std::string getRoleStr(RestoreRole role) { |
| 64 | if ((int)role >= numRoles || (int)role < 0) { |
| 65 | printf("[ERROR] role:%d is out of scope\n", (int)role); |
| 66 | return "[Unset]"; |
| 67 | } |
| 68 | return RestoreRoleStr[(int)role]; |
| 69 | } |
| 70 | |
| 71 | bool isRangeMutation(MutationRef m) { |
| 72 | if (m.type == MutationRef::Type::ClearRange) { |
no test coverage detected