PageRenderTime 6ms CodeModel.GetById 1ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/js/src/jit-test/tests/jaeger/bug581871.js

http://github.com/zpao/v8monkey
JavaScript | 10 lines | 10 code | 0 blank | 0 comment | 2 complexity | 74260c34fc115e40c94cfc042296e22a MD5 | raw file
 1function test(p) {
 2  var alwaysFalse = p && !p;
 3  var k = [];
 4  var g;
 5  if (!alwaysFalse) {
 6    k[0] = g = alwaysFalse ? "failure" : "success";
 7    return g;
 8  }
 9}
10assertEq(test("anything"), "success");