| 360 | |
| 361 | template <typename T> |
| 362 | Local<Value> ReturnValue<T>::Get() const { |
| 363 | using I = internal::Internals; |
| 364 | if (*value_ == *I::GetRoot(GetIsolate(), I::kTheHoleValueRootIndex)) |
| 365 | return Local<Value>(*Undefined(GetIsolate())); |
| 366 | return Local<Value>::New(GetIsolate(), reinterpret_cast<Value*>(value_)); |
| 367 | } |
| 368 | |
| 369 | template <typename T> |
| 370 | template <typename S> |
nothing calls this directly
no test coverage detected