| 103 | } |
| 104 | |
| 105 | std::size_t |
| 106 | Pointer::wrapIndicator( Pointer &ptr ) |
| 107 | { |
| 108 | #ifdef JVEC_MACHINE |
| 109 | struct{ |
| 110 | std::uint64_t a; |
| 111 | std::uint64_t b; |
| 112 | }copy; |
| 113 | do{ |
| 114 | copy.a = ptr.wrap_a; |
| 115 | copy.b = ptr.wrap_b; |
| 116 | }while( copy.a != copy.b ); |
| 117 | return( copy.b ); |
| 118 | #else |
| 119 | return( ptr.wrap_a ); |
| 120 | #endif |
| 121 | } |
nothing calls this directly
no outgoing calls
no test coverage detected