⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 155385 in webkit


Ignore:
Timestamp:
Sep 9, 2013, 2:47:23 PM (13 years ago)
Author:
fpizlo@apple.com
Message:

Unreviewed, fix Ruby exception handling.

  • Scripts/run-jsc-stress-tests:
Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/fast/js/script-tests/dfg-exception.js

    r103294 r155385  
    7575};
    7676
     77noInline(test);
     78noInline(doesntDFGCompile);
     79
    7780// warmup the test method
    78 for (i = 0; i < 200; ++i)
     81while (!dfgCompiled({f:test}))
    7982    test(doesntDFGCompile);
    8083
  • trunk/Tools/ChangeLog

    r155383 r155385  
     12013-09-09  Filip Pizlo  <fpizlo@apple.com>
     2
     3        Unreviewed, fix Ruby exception handling.
     4
     5        * Scripts/run-jsc-stress-tests:
     6
    172013-09-09  Filip Pizlo  <fpizlo@apple.com>
    28
  • trunk/Tools/Scripts/run-jsc-stress-tests

    r155383 r155385  
    4040    require 'shellwords'
    4141    $haveShellwords = true
    42 rescue => e
     42rescue Exception => e
    4343    $stderr.puts "Warning: did not find shellwords; some features will be disabled."
    4444    $stderr.puts "Error: #{e.inspect}"
     
    5151    require 'highline'
    5252    $canRunDisplayProfilerOutput = true
    53 rescue => e
     53rescue Exception => e
    5454    $stderr.puts "Warning: did not find json or highline; some features will be disabled."
    5555    $stderr.puts "Error: #{e.inspect}"
     
    199199        addRunCommand("profiler", ["ruby", (HELPERS_PATH + "profiler-test-helper").to_s, (SCRIPTS_PATH + "display-profiler-output").to_s, profilerOutput.to_s, $jscPath.to_s, "-p", profilerOutput.to_s, $benchmark.to_s])
    200200    else
     201        puts "Running simple version of #{$collectionName}/#{$benchmark} because some required Ruby features are unavailable."
    201202        run("profiler-simple", "-p", profilerOutput.to_s)
    202203    end
Note: See TracChangeset for help on using the changeset viewer.