Files
ladybird/Libraries/LibJS
Linus Groh a02b9983f9 LibJS: Throw RuntimeError when reaching the end of the stack
This prevents stack overflows when calling infinite/deep recursive
functions, e.g.:

    const f = () => f(); f();
    JSON.stringify({}, () => ({ foo: "bar" }));
    new Proxy({}, { get: (_, __, p) => p.foo }).foo;

The VM caches a StackInfo object to not slow down function calls
considerably. VM::push_call_frame() will throw an exception if
necessary (plain Error with "RuntimeError" as its .name).
2020-11-08 16:51:54 +01:00
..
2020-11-02 22:40:59 +01:00
2020-11-02 22:40:59 +01:00
2020-11-02 22:40:59 +01:00
2020-10-26 21:38:34 +01:00