WebAssemblyTableObject.cpp 511 B

123456789101112131415161718
  1. /*
  2. * Copyright (c) 2021, Ali Mohammad Pur <mpfard@serenityos.org>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #include "WebAssemblyTablePrototype.h"
  7. #include <LibWeb/WebAssembly/WebAssemblyTableObject.h>
  8. namespace Web::Bindings {
  9. WebAssemblyTableObject::WebAssemblyTableObject(JS::GlobalObject& global_object, Wasm::TableAddress address)
  10. : Object(static_cast<WindowObject&>(global_object).ensure_web_prototype<WebAssemblyTablePrototype>("WebAssemblyTablePrototype"))
  11. , m_address(address)
  12. {
  13. }
  14. }