| 218 | |
| 219 | |
| 220 | HeapCollection* ValueSlot::asMutableCollection() const { |
| 221 | const Value *ptr = asPointer(); |
| 222 | if (ptr && ptr->isMutable()) |
| 223 | return (HeapCollection*)HeapValue::asHeapValue(ptr); |
| 224 | return nullptr; |
| 225 | } |
| 226 | |
| 227 | |
| 228 | HeapCollection* ValueSlot::makeMutable(tags ifType) { |