/* * Copyright (c) 2022, David Tuin * * SPDX-License-Identifier: BSD-2-Clause */ #include #include #include namespace JS { NonnullGCPtr SuppressedError::create(Realm& realm) { return realm.heap().allocate(realm, realm.intrinsics().suppressed_error_prototype()).release_allocated_value_but_fixme_should_propagate_errors(); } SuppressedError::SuppressedError(Object& prototype) : Error(prototype) { } }