Commit Graph

141 Commits

Author SHA1 Message Date
igor%mir2.org
d4d9688dca Bug 364776: new operation callback API to replace branch callback. a,r=brendan
git-svn-id: svn://10.0.0.236/trunk@242083 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-25 10:12:26 +00:00
sayrer%gmail.com
774329f1db Bug 409324. js_DoubleToECMA(u)Int32 should return jsdouble, not a useless always-true JSBool. r/a=brendan
git-svn-id: svn://10.0.0.236/trunk@241988 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-21 22:06:37 +00:00
sayrer%gmail.com
0eaa266ae9 Bug 409302. js_DoubleToECMA(u)Int32 has an unused cx param. r/a=brendan
git-svn-id: svn://10.0.0.236/trunk@241878 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-21 01:43:50 +00:00
brendan%mozilla.org
874ad9d353 Don't fix typename bindings without JS2 opt-in (409252, r=mrbkap).
git-svn-id: svn://10.0.0.236/trunk@241869 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-20 23:29:32 +00:00
mrbkap%gmail.com
62dec600b5 Give the JS engine some knowledge of wrappers so that they can compare equal and be noticed when they take part in __proto__ cycles. bug 397855, r=brendan sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@241866 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-20 22:59:44 +00:00
crowder%fiverocks.com
7b24d87cba Bug 408368 - Suboptimal code in array_sort implementation, code by Igor Bukanov, r=crowder
git-svn-id: svn://10.0.0.236/trunk@241259 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-14 17:30:20 +00:00
crowder%fiverocks.com
8f40e08cb7 Bug 403977 - Huge Speed Drop in Array.prototype.sort, patch by Igor Bukanov <igor@mir2.org>, r=crowder, approval1.9 by beltzner
git-svn-id: svn://10.0.0.236/trunk@240985 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-13 19:55:21 +00:00
crowder%fiverocks.com
f9001b753f Bug 403977 -- Backed out due to mochitest failures -- crowder
git-svn-id: svn://10.0.0.236/trunk@240866 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-11 21:07:47 +00:00
crowder%fiverocks.com
a2ba14c301 Bug 403977 - Huge Speed Drop in Array.prototype.sort, patch by Igor Bukanoc <igor@mir2.org, r=crowder
git-svn-id: svn://10.0.0.236/trunk@240860 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-11 20:17:41 +00:00
jwalden%mit.edu
680af8da29 Bug 376957 - Prevent data leaks from cross-site JSON loads (JavaScript literals), by making the global name bindings ReadOnly/DontDelete and making [] and {} use the global bindings. Still more that can be done here, but this covers a lot of the fix. r+a=brendan
git-svn-id: svn://10.0.0.236/trunk@240378 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-04 03:05:24 +00:00
reed%reedloden.com
9ba0da0b43 Bug 371636 - "IE Array sort on numbers using default string comparator is 5x faster" [p=igor@mir2.org (Igor Bukanov) r+a1.9=brendan a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@240092 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-29 07:09:21 +00:00
igor%mir2.org
e5ed9c657f Bug 394941: report exhausting of the script memory quota as ordinary runtime exceptions. r=brendan, a1.9=beltzner
git-svn-id: svn://10.0.0.236/trunk@239845 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-22 22:21:19 +00:00
reed%reedloden.com
cb9b021e59 Bug 403878 - Replacing js_InternalCall with js_Invoke in Array.sort for arrays with scripted compator functions (save alloc/free on each compare) [p=crowder@fiverocks.com (Brian Crowder) r=igor a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@239768 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-21 05:51:46 +00:00
crowder%fiverocks.com
99b710cd58 Bug 403878 - Backing out, potentially caused orange on test tinderbox
git-svn-id: svn://10.0.0.236/trunk@239743 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-20 20:52:14 +00:00
crowder%fiverocks.com
c6962cabd4 Bug 403878 - Replacing js_InternalCall with js_Invoke in Array.sort for arrays with scripted compator functions -- save alloc/free on each compare
r=ibukanov, a=blocking1.9+


git-svn-id: svn://10.0.0.236/trunk@239730 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-20 18:07:13 +00:00
timeless%mozdev.org
6828cd3837 Bug 397239 ActionMonkey: Remove "extra" parameter to JS_FN
patch by Jason Orendorff <jorendorff@mozilla.com> r=igor a=brendan


git-svn-id: svn://10.0.0.236/trunk@237716 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-13 20:09:48 +00:00
igor%mir2.org
5c2043335e Bug 394551: no JS frames for fast native calls. r=brendan
git-svn-id: svn://10.0.0.236/trunk@236200 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-18 07:34:54 +00:00
igor%mir2.org
c419e325d6 Bug 394551: taking out the last patch as broke Windows build.
git-svn-id: svn://10.0.0.236/trunk@236126 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-17 19:28:14 +00:00
igor%mir2.org
7f9902eed6 Bug 394551: no JS frames for fast native calls. r=brendan
git-svn-id: svn://10.0.0.236/trunk@236123 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-17 19:08:46 +00:00
igor%mir2.org
21544a31bd Bug 392263: using mmap/VirtualAlloc for GC arenas. r=brendan
git-svn-id: svn://10.0.0.236/trunk@236056 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-16 13:03:17 +00:00
igor%mir2.org
105b2c6de1 Bug 392263: taking out the patch due to bug 396299.
git-svn-id: svn://10.0.0.236/trunk@236055 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-16 12:02:56 +00:00
igor%mir2.org
81f5a5bb6f Bug 392263: using mmap/VirualAlloc for GC arenas. r=brendan
git-svn-id: svn://10.0.0.236/trunk@236038 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-15 17:19:32 +00:00
igor%mir2.org
563c0e2e53 Bug 392263: taking out the patch due to Mac build problems.
git-svn-id: svn://10.0.0.236/trunk@236031 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-15 15:26:30 +00:00
igor%mir2.org
af63c70b07 Bug 392263: using mmap/VirualAlloc for GC arenas. r=brendan
git-svn-id: svn://10.0.0.236/trunk@236029 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-15 15:11:41 +00:00
igor%mir2.org
fed9f64bb2 Bug 391290: mutability flag for strings is stored inside strings. r=brendan
git-svn-id: svn://10.0.0.236/trunk@232204 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-16 06:23:06 +00:00
brendan%mozilla.org
b7beb07bbf Restore lost ECMA compatibility for length delegating/shadowing (390598, r=igor).
git-svn-id: svn://10.0.0.236/trunk@231347 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 20:36:53 +00:00
brendan%mozilla.org
5a597c1f23 Fix array_pop default return value (390684, r=igor).
git-svn-id: svn://10.0.0.236/trunk@231330 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 18:40:47 +00:00
brendan%mozilla.org
55368bf8a8 No good, un-reverting.
git-svn-id: svn://10.0.0.236/trunk@231258 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 06:05:44 +00:00
brendan%mozilla.org
6987f56330 Attempt to fix orange.
git-svn-id: svn://10.0.0.236/trunk@231256 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 05:46:19 +00:00
brendan%mozilla.org
1625a24bdd Fast (frame-less) native call optimizations (385393, r=igor).
git-svn-id: svn://10.0.0.236/trunk@231255 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 04:33:52 +00:00
brendan%mozilla.org
7050bb0c78 Backing out, see bug 389122 and orange or red tinderboxes.
git-svn-id: svn://10.0.0.236/trunk@230578 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-21 23:21:20 +00:00
brendan%mozilla.org
18ee45583c Fast natives and related optimizations (385393, r=igor).
git-svn-id: svn://10.0.0.236/trunk@230576 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-21 21:39:42 +00:00
brendan%mozilla.org
f54c1b6d4c to{Source,{,Locale}String} are not generic (387501, r=mrbkap).
git-svn-id: svn://10.0.0.236/trunk@229590 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-10 05:07:20 +00:00
mrbkap%gmail.com
93a7020057 Skip initial holes when computing the start value of reduce(Right). bug 386030, r=brendan
git-svn-id: svn://10.0.0.236/trunk@228909 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-28 00:04:49 +00:00
crowder%fiverocks.com
ddcf8c159a Bug 372309: Crash in [@SetArrayElement] using canvas, r=igor@mir2.org
git-svn-id: svn://10.0.0.236/trunk@221236 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-02 17:35:29 +00:00
igor.bukanov%gmail.com
6997abb908 Bug 366975: Allow to allocate new GC things from JSGC_END callback. r=brendan
git-svn-id: svn://10.0.0.236/trunk@218642 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-18 23:36:41 +00:00
brendan%mozilla.org
7c11ff927b Fix bogus assertion and improve comment per mrbkap's suggestion (366468).
git-svn-id: svn://10.0.0.236/trunk@218095 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-10 01:47:58 +00:00
igor.bukanov%gmail.com
703dd01edc Bug 310405: allow to stop long running native code. r=brendan
git-svn-id: svn://10.0.0.236/trunk@217407 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-24 11:31:37 +00:00
brendan%mozilla.org
5963937b03 Back out patch for 310405 due to regressions.
git-svn-id: svn://10.0.0.236/trunk@217339 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-22 05:46:46 +00:00
igor.bukanov%gmail.com
7104aa81f2 Bug 310405: long running loops in native code are brekable now. r=brendan,crowder
git-svn-id: svn://10.0.0.236/trunk@217329 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-22 00:00:40 +00:00
jwalden%mit.edu
efabeb8450 Bug 364104 - Fix two bugs: one in array.indexOf with first argument === array[array.length-1] and second argument >= array.length, and another in array.lastIndexOf with first argument === array[0] and with second argument < -array.length. r=brendan
git-svn-id: svn://10.0.0.236/trunk@217116 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 06:43:02 +00:00
igor.bukanov%gmail.com
ac743bb14b Bug 360681: properly initialize tvr.count in array_sort. r=brendan
git-svn-id: svn://10.0.0.236/trunk@215349 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 14:35:28 +00:00
igor.bukanov%gmail.com
bc26e09d70 Bug 357169: temp root macros are type-safe now and details of AddRoot etc. implementation do not leak ouside jsgc.c. r=brendan
git-svn-id: svn://10.0.0.236/trunk@214256 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-27 19:38:33 +00:00
brendan%mozilla.org
58f3c7b4c1 Checking in patch from Nick Allen <nallen@acm.org> and Thue Janus Kristensen <thuejk@gmail.com> implementing merge-sort for Array.prototype.sort, for stability and best perf on real-world mostly- or often-ordered inputs (224128, r/sr=igor/brendan).
git-svn-id: svn://10.0.0.236/trunk@213195 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-05 23:28:51 +00:00
igor.bukanov%gmail.com
afeebc3eed making sure thta TryMethod deals xml objects properly. bug=352846 r=brendan
git-svn-id: svn://10.0.0.236/trunk@211974 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-19 06:48:25 +00:00
brendan%mozilla.org
543e5891d9 Prep patch for 'plan A' (346642, r=mrbkap).
git-svn-id: svn://10.0.0.236/trunk@211917 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-18 11:04:30 +00:00
igor.bukanov%gmail.com
982c96df91 Bug 348810: Removal of a broken optimization in array_sort that was supposed to shrink the temporary array when there are holes in the array. VM games are off for now. r=mrbkap
git-svn-id: svn://10.0.0.236/trunk@207622 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-16 19:39:38 +00:00
igor.bukanov%gmail.com
9d6ab15e7d Bug 322135: Optimizing large index access for array elements to prevent out-of-memory when calling Array functions for huge sparse arrays. r=mrbkap sr=brendan
git-svn-id: svn://10.0.0.236/trunk@207213 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-12 08:41:54 +00:00
dbaron%dbaron.org
7bb7b45abd Backing out Igor's checkin for bug 322135 to fix orange.
git-svn-id: svn://10.0.0.236/trunk@206948 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-08 23:52:08 +00:00
igor.bukanov%gmail.com
87cc572a63 Bug 322135: Optimizing large index access for array elements to prevent out-of-memory when calling Array functions for huge sparse arrays. r=mrbkap sr=brendan
git-svn-id: svn://10.0.0.236/trunk@206932 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-08 20:25:30 +00:00