| 99 | } |
| 100 | |
| 101 | void ValueArray::copy(Value* it, const Value* from, const Value* to) { |
| 102 | SC_ASSERT((to - from) <= (end() - it)); |
| 103 | |
| 104 | while (from != to) { |
| 105 | *it = *from; |
| 106 | |
| 107 | it++; |
| 108 | from++; |
| 109 | } |
| 110 | } |
| 111 | |
| 112 | void ValueArray::copy(const Value* from, const Value* to) { |
| 113 | copy(begin(), from, to); |