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

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:4e5e0e682e52
1
2 called = 0;
3 function foo() {
4 this.what();
5 this.random = 0;
6 this.what = 1;
7 }
8 foo.prototype.what = function() { called = 1; }
9 new foo();
10 assertEq(called, 1);

mercurial