comparison: js/src/jit-test/tests/auto-regress/bug692300.js
js/src/jit-test/tests/auto-regress/bug692300.js
- changeset 0
- 6474c204b198
equal
deleted
inserted
replaced
|
1 // Binary: cache/js-dbg-64-38a487da2def-linux |
|
2 // Flags: |
|
3 // |
|
4 |
|
5 var x = newGlobal().Date; |
|
6 var OBJ = new MyObject( new x(0) ); |
|
7 try { eval("OBJ.valueOf()"); } catch(exc1) {} |
|
8 function MyObject( value ) { |
|
9 this.valueOf = x.prototype.valueOf; |
|
10 } |