PageRenderTime 13ms CodeModel.GetById 10ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/js/src/jit-test/tests/jaeger/recompile/bug649769.js

http://github.com/zpao/v8monkey
JavaScript | 16 lines | 13 code | 3 blank | 0 comment | 1 complexity | 1793840008c14959cc6b8cb197c22d0a MD5 | raw file
 1
 2function g(x) {
 3    if (!x) {
 4        throw 1;
 5    }
 6}
 7
 8function f(a, b, c, d) {
 9    var x = [].push(3);
10    g(true);
11    assertEq(x, 1);
12}
13f(1.2, 2, 3, 4);
14gc();
15f(1, 2, 3, 4);
16