WebAssemblyTableObject.cpp 535 B

12345678910111213141516171819
  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/Bindings/Intrinsics.h>
  8. #include <LibWeb/WebAssembly/WebAssemblyTableObject.h>
  9. namespace Web::Bindings {
  10. WebAssemblyTableObject::WebAssemblyTableObject(JS::Realm& realm, Wasm::TableAddress address)
  11. : Object(ConstructWithPrototypeTag::Tag, Bindings::ensure_web_prototype<WebAssemblyTablePrototype>(realm, "WebAssembly.Table"))
  12. , m_address(address)
  13. {
  14. }
  15. }