| 172 | } |
| 173 | |
| 174 | SIValue SI_ShallowCloneValue(const SIValue v) { |
| 175 | if(v.allocation == M_CONST || v.allocation == M_NONE) return v; |
| 176 | return SI_CloneValue(v); |
| 177 | } |
| 178 | |
| 179 | /* Make an SIValue that shares the original's allocations but can safely expect those allocations |
| 180 | * to remain in scope. This is most frequently the case for GraphEntity properties. */ |
no test coverage detected