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

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

http://github.com/zpao/v8monkey
JavaScript | 16 lines | 14 code | 1 blank | 1 comment | 5 complexity | d1052e6ccc177e2bc16428437f544d0f MD5 | raw file
 1// |jit-test| error: TypeError
 2
 3for (var i = 0; i <= 0x017f; i++) {
 4    var U = new Unicode(i);
 5}
 6function Unicode(c) {
 7    u = GetUnicodeValues(c);
 8    this.upper = u[0];
 9}
10function GetUnicodeValues(c) {
11    u = new Array();
12    if ((c >= 0x0100 && c < 0x0138) || (c > 0x0149 && c < 0x0178)) try {} finally {
13        return;
14    }
15    return u;
16}