| 347 | |
| 348 | template <typename T> |
| 349 | void ReturnValue<T>::SetEmptyString() { |
| 350 | static_assert(std::is_base_of<T, String>::value, "type check"); |
| 351 | using I = internal::Internals; |
| 352 | *value_ = *I::GetRoot(GetIsolate(), I::kEmptyStringRootIndex); |
| 353 | } |
| 354 | |
| 355 | template <typename T> |
| 356 | Isolate* ReturnValue<T>::GetIsolate() const { |
nothing calls this directly
no test coverage detected