Created new global object: branch, with properties that control the
JS_BranchCallback behavior in regards to infinite-loop detection, periodic garbage collection, and periodic time-slice yields. Eliminated global reset_loop() method, ill side-effects. Use branch.limit=0 instead to defeat infinite-loop detection mechanism (e.g. for static services).
Showing with 221 additions and 78 deletions