203885 Commits

Author SHA1 Message Date
Jeff Walden
6f7d355335 Bug 484750 - Assertion failure: newlen == 0 || obj->dslots[newlen - 1] != JSVAL_HOLE, at ../jsarray.cpp. Modify an assertion to properly handle intentional fenceposting behavior where we copy 0 elements to the end of an array -- can't assert that the end of the array isn't a hole in this case because we're intentionally not changing the array from what it was before -- demonstrated by [,].splice(1). r=me as obvious from debugging the testcase 2009-03-23 00:26:52 -07:00
Jeff Walden
4efdc2378b Modify code which produces |if (cond);| in non-debug builds to not expand into an empty control statement. r=sparky 2009-03-22 18:37:06 -07:00
Jeff Walden
64214803a7 Bug 465980 - Some array methods don't work right on ginormous arrays. r=brendan 2009-01-12 13:07:48 -08:00
Jeff Walden
a7458f9903 Bug 484495 - new String(obj) asserts when tracing. r=brendan, r=gal 2009-03-22 12:49:15 -07:00
Igor Bukanov
88fe77b78d bug 455981 - duplicated arguments no longer supported when destructuring pattern is used. r=brendan 2009-03-22 10:54:17 +01:00
Igor Bukanov
1c99624b73 Backed out changeset e117c22cc1d1 - the landed patch for bug 437325 has a shutdown leak. 2009-03-22 10:15:27 +01:00
Igor Bukanov
81ea7376bc bug 437325 - JSThread is no longer shared between JSRuntime instances. r=brendan 2009-03-22 10:07:14 +01:00
Andreas Gal
94ca9effa3 Don't reason about fragment when deep aborting (484543, r=brendan). 2009-03-21 14:46:06 -07:00
Vladimir Vukicevic
ef9d1730fd b=484561; [arm] minimal fix to get LIR_alloc working 2009-03-21 08:40:19 -07:00
Andreas Gal
a98d1b6b43 Property close loops even in the presence of partially constant loop conditions (482800, r=brendan). 2009-03-21 01:07:51 -07:00
Andreas Gal
716676180d Don't attempt to call fast native constructors on trace (484531, r=brendan). 2009-03-21 00:40:39 -07:00
Andreas Gal
4d6b502b65 Can't allocate new stack chunks while on trace (484524, r=brendan). 2009-03-21 00:26:03 -07:00
Vladimir Vukicevic
6f000b11ea arm bustage fix 2009-03-20 19:40:54 -07:00
Andreas Gal
f3fbb75fb4 Remove all traceable natives from jsstr.cpp that don't have any fast path code in them (463238 part 2, r=brendan). 2009-03-20 18:53:07 -07:00
Andreas Gal
803ed7a872 Support calling arbitrary JSFastNatives from trace (463238, r=brendan). 2009-03-20 18:52:11 -07:00
Andreas Gal
143ec1dbc6 trace JSOP_CALLELEM (484334, r=mrbkap) 2009-03-20 17:21:57 -07:00
Andreas Gal
c032e2a741 str_match should use js_GetCurrentBytecodePC (484308, r=mrbkap). 2009-03-20 17:07:30 -07:00
Andreas Gal
83fdc6b0fd Make new String() trace (484333, r=brendan). 2009-03-20 16:30:31 -07:00
Vladimir Vukicevic
c002ad5a70 void -> bool 2009-03-20 16:10:31 -07:00
Vladimir Vukicevic
93a0adea14 call underrunProtect more aggressively, and remove some LD32_nochks that weren't being protected 2009-03-20 15:53:38 -07:00
Vladimir Vukicevic
c19ad6c10e b=484196; fix softfloat due to missing iu2fArg call; r=gal 2009-03-20 15:53:35 -07:00
Vladimir Vukicevic
f1ce2aa384 b=480796; detect whether ARM chip has VFP and/or v6t2 instructions; r=gal 2009-03-20 15:53:33 -07:00
Vladimir Vukicevic
90e95b3df3 Fix asm_quad to use existing load instructions; fix branch macros to use existing conditional branch macro 2009-03-20 15:53:14 -07:00
Vladimir Vukicevic
0c719435ef trace-tests: Add int overflow/underflow test 2009-03-20 15:53:14 -07:00
Vladimir Vukicevic
c9e4e6ff49 [arm] b=481761; use movw/movt when possible for loading 32-bit constants; r=graydon 2009-03-20 15:53:14 -07:00
Vladimir Vukicevic
0547d2b940 [arm] b=481761; clean up load and store instructions; change move macro to follow covention; r=graydon 2009-03-20 15:53:14 -07:00
Vladimir Vukicevic
e80144bcfa [arm] b=481761; rename MOV instructions to match ARM, not x86; r=graydon 2009-03-20 15:53:14 -07:00
Vladimir Vukicevic
f01747cd4d [arm] b=481761; fix up asm_cmov; assert on non-qcmov; r=graydon 2009-03-20 15:53:14 -07:00
Vladimir Vukicevic
d9cc36613d [arm] b=481761; Finish up ALU op conversions; r=graydon 2009-03-20 15:53:14 -07:00
Vladimir Vukicevic
835dec69fe [arm] b=481761; ARM ALU step 1; r=graydon 2009-03-20 15:53:14 -07:00
Vladimir Vukicevic
de18fe3eca [arm] b=481761; Rename ccName -> condName, rename Scratch to IP; r=graydon 2009-03-20 15:53:14 -07:00
Jeff Walden
7d08e13210 Bug 483103 - Better fixes for getting the lengths of strings and String objects. r=brendan 2009-03-20 15:31:01 -07:00
Andreas Gal
b47993240d Bump maxbranches to 32 (484341, r=dmandelin). 2009-03-20 14:24:23 -07:00
Igor Bukanov
00f75172a9 bug 426827 - removing incorrect assert. r=mrbkap 2009-03-20 12:37:20 +01:00
Igor Bukanov
8cf88bb4fd 436700 - fixing backref assert. r=dmandelin 2009-03-20 12:30:40 +01:00
Bob Clary
c6415e514f bug 457065 - JavaScript Tests by Jesse Ruderman, Gary Kwong. 2009-03-19 21:47:12 -07:00
Bob Clary
07287c87d5 bug 471373 - JavaScript Test by Jesse Ruderman. 2009-03-19 21:47:11 -07:00
Bob Clary
26909d9820 bug 472528 - JavaScript Tests by Gary Kwong, Jesse Ruderman. 2009-03-19 21:47:11 -07:00
Bob Clary
f1c539e146 bug 472703 - JavaScript Test by Gary Kwong. 2009-03-19 21:47:11 -07:00
Bob Clary
4f6a780cf6 bug 471660 - JavaScript Test by Gary Kwong. 2009-03-19 21:47:11 -07:00
Bob Clary
3958c49bcd JavaScript Tests - sync cvs->hg browser.js, no bug. 2009-03-19 21:47:11 -07:00
Bob Clary
4e8317c107 bug 469937 - JavaScript Test by Jesse Ruderman, merge cvs->hg. 2009-03-19 21:47:11 -07:00
Bob Clary
7ced971dbe bug 476655 - JavaScript Test by Gary Kwong. 2009-03-19 21:47:10 -07:00
Bob Clary
1750b3bc76 bug 477733 - JavaScript Test by Jesse Ruderman. 2009-03-19 21:47:10 -07:00
Bob Clary
31b2020b51 bug 479252 - JavaScript Test by Igor Bukanov. 2009-03-19 21:47:10 -07:00
Bob Clary
1f137dc024 bug 479381 - JavaScript Test by Jason Orendorff. 2009-03-19 21:47:10 -07:00
Bob Clary
3d06ec1cc0 bug 479430 - JavaScript Tests by Igor Bukanov. 2009-03-19 21:47:10 -07:00
Bob Clary
6de19d06c2 bug 479487 - JavaScript Test by Igor Bukanov. 2009-03-19 21:47:10 -07:00
Bob Clary
102d38aacb bug 479551 - JavaScript Test by Jeff Walden. 2009-03-19 21:47:09 -07:00
Bob Clary
3c4d012b2f bug 480096 - JavaScript Test by Peter Seliger. 2009-03-19 21:47:09 -07:00