mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-12 01:46:46 +02:00
Report outline storage retained by bytecode executables, table objects, object property iterator cache data, and shared function instance data. This includes bytecode vectors, cache arrays, source maps, class blueprint elements, and binding metadata.
27 lines
490 B
C++
27 lines
490 B
C++
/*
|
|
* Copyright (c) 2023, Andreas Kling <andreas@ladybird.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <AK/DistinctNumeric.h>
|
|
|
|
namespace JS::Bytecode {
|
|
|
|
AK_TYPEDEF_DISTINCT_NUMERIC_GENERAL(u32, RegexTableIndex, Comparison);
|
|
|
|
class RegexTable {
|
|
AK_MAKE_NONMOVABLE(RegexTable);
|
|
AK_MAKE_NONCOPYABLE(RegexTable);
|
|
|
|
public:
|
|
RegexTable() = default;
|
|
|
|
bool is_empty() const { return true; }
|
|
size_t external_memory_size() const { return 0; }
|
|
};
|
|
|
|
}
|