/external/v8/test/webkit/fast/js/ |
string-split-conformance.js | 91 shouldBe(testCode[i][0], 'testCode[i][1]'); 95 shouldBe("'hello'.split({toString:function(){return 'e';}})", '["h", "llo"]'); 96 shouldBe("var a = 'hello'.split({toString:function(){separatorToStringCalled='OKAY';return 'e';}},0); a.push(separatorToStringCalled); a", '["OKAY"]');
|
/external/v8/test/webkit/ |
toString-prefix-postfix-preserve-parens.js | 111 shouldBe("unevalf(eval(unevalf("+fn+")))", "unevalf(" + fn + ")"); 137 shouldBe("" + fn + "(" + p1 + ", " + p2 +");", retval); 140 shouldBe("eval(unevalf("+fn+ "))" + "(" + p1 + ", " + p2 +");", retval);
|
array-enumerators-functions.js | 90 shouldBe("count=0;lastIndex=-1;copyArray("+arrays[a]+")."+functionName+"(forwarders[f], "+testFunctions[t]+", 0)", 106 shouldBe("count=0;lastIndex=-1;copyArray("+arrays[a]+")."+functionName+"(forwarders[f], "+testFunctions[t]+", 0)", 139 shouldBe("count=0;lastIndex=-1;copyArray("+arrays[a]+")."+functionName+"(forwarders[f], "+testFunctions[t]+", 0); count", expectedCnt); 141 shouldBe("count=0;lastIndex=-1;Array.prototype."+functionName+".call(toObject("+arrays[a]+"), forwarders[f], "+testFunctions[t]+", 0); count", expectedCnt); 142 shouldBe("count=0;lastIndex=-1;Array.prototype."+functionName+".call(toObject("+arrays[a]+"), forwarders[f], "+testFunctions[t]+", 0); count", expectedCnt);
|
array-type-speculation.js | 56 myCode += "shouldBe(\"result\", " + predicateArray[i][2] + ");\n";
|
dfg-arguments-osr-exit-multiple-blocks-before-exit.js | 61 shouldBe("bar(42)", expected);
|
dfg-arguments-osr-exit-multiple-blocks.js | 59 shouldBe("bar(42)", expected);
|
dfg-arith-add-overflow-check-elimination-tower-of-large-numbers.js | 58 shouldBe("bar(" + a + ", " + b + ")", "" + expected);
|
dfg-array-dead.js | 50 shouldBe("foo()", "2");
|
dfg-captured-var-get-local.js | 101 shouldBe("foo()", "42");
|
dfg-cfg-simplify-eliminate-set-local-type-check-then-branch-not-null-and-decrement.js | 52 shouldBe("foo(o)", expected);
|
dfg-cfg-simplify-phantom-get-local-on-same-block-set-local.js | 62 shouldBe("thingy(o)", "42");
|
dfg-cfg-simplify-redundant-dead-get-local.js | 54 shouldBe("array[i]", "2.23606797749979");
|
dfg-check-structure-elimination-for-non-cell.js | 49 shouldBe("baz(i)", i == 190 ? "\"ERROR\"" : "66");
|
dfg-constant-fold-uncaptured-variable-that-is-later-captured.js | 52 shouldBe("foo(true, 5)[0]", "462");
|
dfg-cse-cfa-discrepancy.js | 53 shouldBe("foo(i, i + 1)", "162");
|
dfg-inline-arguments-become-double.js | 52 shouldBe("argsToStr(baz(\"a\" + __i, \"b\" + __i, \"c\" + __i))", "\"[object Arguments]: a" + __i + ", 42.5, c" + __i + "\"");
|
dfg-inline-arguments-become-int32.js | 52 shouldBe("argsToStr(baz(\"a\" + __i, \"b\" + __i, \"c\" + __i))", "\"[object Arguments]: a" + __i + ", 42, c" + __i + "\"");
|
dfg-inline-arguments-int32.js | 51 shouldBe("argsToStr(baz(__i + 1, __i + 2, __i + 3))", "\"[object Arguments]: " + (__i + 1) + ", " + (__i + 2) + ", " + (__i + 3) + "\"");
|
dfg-inline-arguments-osr-exit-and-capture.js | 54 shouldBe("baz(arg1, arg2)", "" + expected);
|
dfg-inline-arguments-reset-changetype.js | 52 shouldBe("argsToStr(baz(\"a\" + __i, __i + 2, \"c\" + __i))", "\"[object Arguments]: a" + __i + ", a" + __i + ", c" + __i + "\"");
|
dfg-inline-arguments-reset.js | 52 shouldBe("argsToStr(baz(\"a\" + __i, \"b\" + __i, \"c\" + __i))", "\"[object Arguments]: a" + __i + ", a" + __i + ", c" + __i + "\"");
|
dfg-inline-arguments-use-from-getter.js | 50 shouldBe("argsToStr(bar(o, \"b\" + __i, \"c\" + __i))", "\"[object Arguments]: [object Object], b" + __i + ", c" + __i + "\"");
|
dfg-inline-arguments-use-from-uninlined-code.js | 52 shouldBe("\"\" + baz(\"a\" + __i, \"b\" + (__i + 1), \"c\" + (__i + 2))",
|
dfg-inline-unused-this-method-check.js | 52 shouldBe("baz(object, " + i + ", " + (i * 2) + ")", "" + (offset + i + i * 2));
|
dfg-inline-unused-this.js | 55 shouldBe("baz(object, " + i + ", " + (i * 2) + ")", "" + (offset + i + i * 2));
|