| 333 | |
| 334 | template <typename T> |
| 335 | void ReturnValue<T>::SetNull() { |
| 336 | static_assert(std::is_base_of<T, Primitive>::value, "type check"); |
| 337 | using I = internal::Internals; |
| 338 | *value_ = *I::GetRoot(GetIsolate(), I::kNullValueRootIndex); |
| 339 | } |
| 340 | |
| 341 | template <typename T> |
| 342 | void ReturnValue<T>::SetUndefined() { |