Andrew Kaster
26e5c20cfa
LibJS: Don't try to use backtrace(3) on Android below API level 33
2023-11-01 14:30:30 -06:00
Simon Wanner
fb7b4b9c59
LibJS/JIT: Provide source location information for JIT code
...
This works by walking a backtrace until the currently executing
native executable is found, and then mapping the native address
to its bytecode instruction.
2023-10-31 07:07:17 +01:00
Simon Wanner
112eadc863
LibJS/JIT: Annotate disassembly with bytecode information
2023-10-31 07:07:17 +01:00
Simon Wanner
9f78e56823
LibJS/JIT: Record machine code location to bytecode location mapping
2023-10-31 07:07:17 +01:00
Simon Wanner
ec8330b647
LibJS/JIT: Dump disassembly of generated code using LibX86
...
This avoids the need for redirecting stdout to a file and using
ndisasm, which can lead to problems if other things are printed.
2023-10-27 21:49:55 +02:00
Andreas Kling
310bcd4717
LibJS/JIT: Don't keep trying to JIT unsupported bytecode executables
...
We now only try jitting each Bytecode::Executable once, and then cache
the resulting NativeExecutable.
2023-10-27 19:07:22 +02:00
Andreas Kling
babdc0a25b
LibJS: Work-in-progress JIT compiler :^)
2023-10-27 19:07:22 +02:00