ladybird/Userland/Libraries/LibJS
Andreas Kling 87ac906ee6 LibJS: Make Error stack traces lazier
Instead of eagerly populating the stack trace with a textual
representation of every call frame, just store the raw source code range
(code, start offset, end offset). From that, we can generate the full
rich backtrace when requested, and save ourselves the trouble otherwise.

This makes test-wasm take ~7 seconds on my machine instead of ~60. :^)
2023-05-28 10:03:11 +02:00
..
Bytecode LibJS/Bytecode: Make for..in iterate property names as string 2023-05-26 17:52:51 +02:00
Contrib/Test262 Everywhere: Use MonotonicTime instead of Duration 2023-05-24 23:18:07 +02:00
Heap AK: Rename Time to Duration 2023-05-24 23:18:07 +02:00
Runtime LibJS: Make Error stack traces lazier 2023-05-28 10:03:11 +02:00
Tests LibJS: Disallow creating ArrayBuffers larger than 2^53 - 1 2023-05-26 05:23:55 +02:00
AST.cpp Userland: Silence or resolve new GCC 13 warnings 2023-05-15 07:00:29 +02:00
AST.h LibJS: Make Error stack traces lazier 2023-05-28 10:03:11 +02:00
CMakeLists.txt
Console.cpp
Console.h
CyclicModule.cpp LibJS+LibWeb: Add missing visit calls in visit_edges implementations 2023-04-30 06:04:33 +02:00
CyclicModule.h
Forward.h
Interpreter.cpp
Interpreter.h
Lexer.cpp
Lexer.h
MarkupGenerator.cpp LibJS: Make Error stack traces lazier 2023-05-28 10:03:11 +02:00
MarkupGenerator.h
Module.cpp
Module.h
Parser.cpp
Parser.h
ParserError.cpp
ParserError.h
Print.cpp AK: Rename Stream::format() to Stream::write_formatted() 2023-04-25 07:30:16 +01:00
Print.h
SafeFunction.h
Script.cpp
Script.h
SourceCode.cpp
SourceCode.h
SourceRange.h
SourceTextModule.cpp
SourceTextModule.h
SyntaxHighlighter.cpp
SyntaxHighlighter.h
SyntheticModule.cpp
SyntheticModule.h
Token.cpp
Token.h