summaryrefslogtreecommitdiff
path: root/Meta/CMake/all_the_debug_macros.cmake
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-06-07 15:12:43 +0200
committerAndreas Kling <kling@serenityos.org>2021-06-07 18:11:59 +0200
commite7d69c5d3ca8c3d84beb6a8753c77c4cdeccc130 (patch)
tree87e8f5597e4f637a8f3cce266df935b9c410858c /Meta/CMake/all_the_debug_macros.cmake
parent845f2826aa0f558116bf57ade4ec29cded1fd185 (diff)
downloadserenity-e7d69c5d3ca8c3d84beb6a8753c77c4cdeccc130.zip
LibJS: Devirtualize and pack the bytecode stream :^)
This patch changes the LibJS bytecode to be a stream of instructions packed one-after-the-other in contiguous memory, instead of a vector of OwnPtr<Instruction>. This should be a lot more cache-friendly. :^) Instructions are also devirtualized and instead have a type field using a new Instruction::Type enum. To iterate over a bytecode stream, one must now use Bytecode::InstructionStreamIterator.
Diffstat (limited to 'Meta/CMake/all_the_debug_macros.cmake')
0 files changed, 0 insertions, 0 deletions