Skip to content
  • oliver@apple.com's avatar
    Bug 18626: SQUIRRELFISH: support the "slow script" dialog... · c8f3a755
    oliver@apple.com authored
    Bug 18626: SQUIRRELFISH: support the "slow script" dialog <https://bugs.webkit.org/show_bug.cgi?id=18626>
    <rdar://problem/5973931> Slow script dialog needs to be reimplemented for squirrelfish
    
    Reviewed by Sam
    
    Adds support for the slow script dialog in squirrelfish.  This requires the addition
    of three new op codes, op_loop, op_loop_if_true, and op_loop_if_less which have the
    same behaviour as their simple jump equivalents but have an additional time out check.
    
    Additional assertions were added to other jump instructions to prevent accidentally
    creating loops with jump types that do not support time out checks.
    
    Sunspider does not report a regression, however this appears very sensitive to code
    layout and hardware, so i would expect up to a 1% regression on other systems.
    
    Part of this required moving the old timeout logic from JSGlobalObject and into Machine
    which is the cause of a number of the larger diff blocks.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34842 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    c8f3a755