Cell.cpp 318 B

123456789101112131415161718
  1. /*
  2. * Copyright (c) 2020-2022, Andreas Kling <andreas@ladybird.org>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #include <LibGC/Cell.h>
  7. #include <LibGC/NanBoxedValue.h>
  8. namespace GC {
  9. void GC::Cell::Visitor::visit(NanBoxedValue const& value)
  10. {
  11. if (value.is_cell())
  12. visit_impl(value.as_cell());
  13. }
  14. }