PageRenderTime 22ms CodeModel.GetById 15ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/js/src/jit-test/tests/jaeger/loops/hoist-09.js

http://github.com/zpao/v8monkey
JavaScript | 11 lines | 9 code | 2 blank | 0 comment | 2 complexity | 57916e165e3c3b9f3f7b314a3c56c318 MD5 | raw file
 1
 2function foo(x, y) {
 3  for (var i = 0; i < x.length; i++) {
 4    x[i];
 5    if (i < 20)
 6      y[i + 1] = 0;
 7  }
 8}
 9
10var q = Array(1,2,3,4,5);
11foo(q, []);