js/src/jit-test/tests/ion/bug770235.js

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/js/src/jit-test/tests/ion/bug770235.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,6 @@
     1.4 +a = this;
     1.5 +with(evalcx('')) this.__defineGetter__("x", Function);
     1.6 +AddSplitCases( "splitme", "", "''", ["s", "p", "l", "i", "t", "m", "e"] );
     1.7 +function AddSplitCases( string, separator, str_sep, split_array ) {
     1.8 +  for ( var matches = 0; matches < 5; (a.x) ) { matches++; }
     1.9 +}

mercurial