Debian Codegraph @

js/src/jit-test/tests/auto-regress/bug680797.js

raw
1 // |jit-test| slow; error:InternalError
2
3 // Binary: cache/js-dbg-64-a2bbe9c999b4-linux
4 // Flags: -m -n
5 //
6 gczeal(2);
7 function Day( t ) {}
8 function YearFromTime( t ) {}
9 function HourFromTime( t ) {}
10 function MakeTime( hour, min, sec, ms ) {}
11 function MakeDay( year, month, date ) {}
12 function MakeDate( day, time ) {}
13 function TimeClip( t ) {
14 return ToInteger( t );
15 }
16 function ToInteger( t ) {
17 sign = 1
18 return sign * Math.floor( Math.abs( t ) );
19 }
20 addNewTestCase( 28800000, 23, 59, 999,0, "TDATE = new Date(28800000);(TDATE).setHours(23,59,999);TDATE" );
21 function addNewTestCase( time, hours, min, sec, ms, DateString) {
22 UTCDateFromTime( SetHours( time, hours, min, sec, ms ))
23 }
24 function MyDate() { return this.seconds=0; }
25 function UTCDateFromTime(t) {
26 MyDateFromTime(t)
27 }
28 function MyDateFromTime( t ) {
29 d = new MyDate
30 d.year=YearFromTime(t)
31 d.month=
32 d.date=
33 d.hours=HourFromTime(t)
34 d.minutes=
35 d.time=MakeTime( d.hours, d, d.seconds, d )
36 d=TimeClip( MakeDate( MakeDay( d.year, d.month, ( ( MyDateFromTime(t) ) , null ) ), d.time ) )
37 }
38 function SetHours( t, hour, min, sec, ms ) {
39 TIME =
40 HOUR =
41 MIN = min == 0 ? TIME :
42 SEC = sec == 0 ? addNewTestCaseSecFromTime : Number
43 var MS = ms == void 0 ? TIME : ms;
44 var RESULT6 = ( HOUR, MS );
45 var UTC_TIME = MakeDate(Day(TIME), RESULT6);
46 return TimeClip(UTC_TIME);
47 }