Hello all, I have modified d8 to explore certain branches depending on
whether or not I find them interesting (my definition of interesting
is not so important).

Basically, I have changed the d8 shell to call Shell::Main() multiple
times until I have exhaustively explored the branches that I am
interested in. The first invocation works as I expect, I see
Shell::ExecuteString() eventually call CodeGenerator::MakeCode() and
my AST modification code runs on the FunctionLiteral passed to that
function. However, the next time I call Shell::Main() no such function
call chain can be observed. I suspect that the compiled code is being
cached and a simple check is being performed on the filename/source
code to see if the code needs to be recompiled. However, I have spent
the last day looking through the code and I cannot find anything that
would indicate that is happening.

Any help/hints on the issue would be most excellent. I am happy to
provide more details if something above is unclear.
--~--~---------~--~----~------------~-------~--~----~
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to