| 64 | f->x.reschedule(home,p,PC_BOOL_VAL); |
| 65 | } |
| 66 | forceinline void |
| 67 | ScaleBoolArray::update(Space& home, ScaleBoolArray& sba) { |
| 68 | int n = static_cast<int>(sba._lst - sba._fst); |
| 69 | if (n > 0) { |
| 70 | _fst = home.alloc<ScaleBool>(n); |
| 71 | _lst = _fst+n; |
| 72 | for (int i=0; i<n; i++) { |
| 73 | _fst[i].a = sba._fst[i].a; |
| 74 | _fst[i].x.update(home,sba._fst[i].x); |
| 75 | } |
| 76 | } else { |
| 77 | _fst = _lst = nullptr; |
| 78 | } |
| 79 | } |
| 80 | forceinline ScaleBool* |
| 81 | ScaleBoolArray::fst(void) const { |
| 82 | return _fst; |
no outgoing calls
no test coverage detected