1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 13:05:09 +00:00
serenity/Libraries/LibJS
Andreas Kling ab404a2f88 LibJS: Implement basic conservative garbage collection
We now scan the stack and CPU registers for potential pointers into the
GC heap, and include any valid Cell pointers in the set of roots.

This works pretty well but we'll also need to solve marking of things
passed to native functions, since those are currently in Vector<Value>
and the Vector storage is on the heap (not scanned.)
2020-03-16 19:14:09 +01:00
..
Heap LibJS: Implement basic conservative garbage collection 2020-03-16 19:14:09 +01:00
Runtime LibJS: Replace the global print() function with console.log() :^) 2020-03-16 14:58:20 +01:00
AST.cpp LibJS: Add "Heap" and "Runtime" subdirectories 2020-03-16 14:37:19 +01:00
AST.h LibJS: Add "Heap" and "Runtime" subdirectories 2020-03-16 14:37:19 +01:00
Forward.h LibJS: Add NativeFunction, a callable wrapper around a C++ lambda 2020-03-12 19:54:47 +01:00
Interpreter.cpp LibJS: Add "Heap" and "Runtime" subdirectories 2020-03-16 14:37:19 +01:00
Interpreter.h LibJS: Add "Heap" and "Runtime" subdirectories 2020-03-16 14:37:19 +01:00
Lexer.cpp LibJS: Implement null and undefined literals 2020-03-16 13:42:13 +01:00
Lexer.h LibJS: Lex single quote strings, escaped chars and unterminated strings 2020-03-14 12:13:53 +01:00
Makefile LibJS: Replace the global print() function with console.log() :^) 2020-03-16 14:58:20 +01:00
Parser.cpp LibJS: Implement abstract equality and inequality 2020-03-16 13:42:13 +01:00
Parser.h LibJS/Parser: Implement the parsing of unary/prefixed update expressions 2020-03-14 20:02:53 +01:00
Token.cpp LibJS: Implement null and undefined literals 2020-03-16 13:42:13 +01:00
Token.h LibJS: Implement null and undefined literals 2020-03-16 13:42:13 +01:00