quickjs-done-nextgen/gen
Ben Noordhuis ac4cd17bb5
Track line and column numbers for expressions (#781)
Commit 73cc00e reduced the number of emitted source locations a great
deal but it resulted in at least one observable regression:

    export default async function f() {
         return "abc" + x
    }
    f() // ReferenceError should point to 2:20 but pointed to 1:1

Emit source locations for expressions again. Increases the average
number of source locations by about 15%. Non-scientifically tested
by counting source locations emitted when parsing the test suite
before and after.

No test because we currently cannot easily test stack traces coming
from module imports.

Fixes: https://github.com/quickjs-ng/quickjs/issues/779
2025-01-05 22:20:43 +01:00
..
function_source.c Track line and column numbers for expressions (#781) 2025-01-05 22:20:43 +01:00
hello.c Optimize derived class construction (#753) 2025-01-05 22:01:37 +01:00
hello_module.c Track line and column numbers for expressions (#781) 2025-01-05 22:20:43 +01:00
repl.c Optimize derived class construction (#753) 2025-01-05 22:01:37 +01:00
standalone.c Optimize derived class construction (#753) 2025-01-05 22:01:37 +01:00
test_fib.c Track line and column numbers for expressions (#781) 2025-01-05 22:20:43 +01:00