Re: [JS-internals] Recursive function analysis

2012-07-10 Thread Nicolas B. Pierron
Hi Igor, On 07/09/2012 12:02 PM, Igor Rafael wrote: I would like to know if there is a way to check if a JS function is recursive before any JIT compilation. We run the script analysis before compiling each script. I don't know if there is a mean to run an analysis on all scripts but I gues

[JS-internals] Recursive function analysis

2012-07-09 Thread Igor Rafael
Hi guys, I would like to know if there is a way to check if a JS function is recursive before any JIT compilation. I have noticed, for instance, that there is a file named "jsanalyze.cpp" that traverses the bytecode to gather useful information about the script, but I have not found anything a