mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-27 14:58:46 +00:00
LibJS: Move global "should dump bytecode" flag into LibJS
This will allow us to trigger bytecode executable dumps when generating bytecode inside LibJS as well, not just in clients like js and test-js.
This commit is contained in:
parent
da77e2aa4f
commit
c95dde971b
Notes:
sideshowbarker
2024-07-18 01:56:54 +09:00
Author: https://github.com/awesomekling
Commit: c95dde971b
5 changed files with 14 additions and 20 deletions
|
@ -17,6 +17,7 @@
|
|||
namespace JS::Bytecode {
|
||||
|
||||
static Interpreter* s_current;
|
||||
bool g_dump_bytecode = false;
|
||||
|
||||
Interpreter* Interpreter::current()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue