| 44 | } |
| 45 | |
| 46 | std::size_t |
| 47 | Pointer::val( Pointer &ptr ) |
| 48 | { |
| 49 | #ifdef JVEC_MACHINE |
| 50 | struct{ |
| 51 | std::uint64_t a; |
| 52 | std::uint64_t b; |
| 53 | }copy; |
| 54 | do{ |
| 55 | copy.a = ptr.a; |
| 56 | copy.b = ptr.b; |
| 57 | }while( copy.a != copy.b ); |
| 58 | return( copy.b ); |
| 59 | #else |
| 60 | return( ptr.a ); |
| 61 | #endif |
| 62 | } |
| 63 | |
| 64 | void |
| 65 | Pointer::inc( Pointer &ptr ) |
nothing calls this directly
no outgoing calls
no test coverage detected