Commit Graph

158 Commits

Author SHA1 Message Date
brendan%mozilla.org
bf948a8432 Property-cache dense array methods in JSOP_CALLPROP (418239, r=shaver).
git-svn-id: svn://10.0.0.236/trunk@245950 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-19 07:04:00 +00:00
shaver%mozilla.org
dc80fcda1f Implement optimized object-ops for dense arrays, b=322889, r+a=brendan.
git-svn-id: svn://10.0.0.236/trunk@245930 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-18 21:01:47 +00:00
brendan%mozilla.org
1707246c5d Lazy ComputeGlobalThis required now in fast native implementations (417893, r=mrbkap).
git-svn-id: svn://10.0.0.236/trunk@245885 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-18 00:12:34 +00:00
shaver%mozilla.org
4d05d2b9a5 back out for mochitest failures in prototype
git-svn-id: svn://10.0.0.236/trunk@245773 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-15 10:31:38 +00:00
shaver%mozilla.org
0bcd031145 Bug 322889: implement specialized storage and operations for JS arrays;
r+a=brendan.


git-svn-id: svn://10.0.0.236/trunk@245772 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-15 09:48:53 +00:00
gavin%gavinsharp.com
375927ca69 Back out bug 322889 due to jQuery unit test failures
git-svn-id: svn://10.0.0.236/trunk@245756 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-15 02:41:18 +00:00
shaver%mozilla.org
e62c24a16c Bug 322889: implement specialized storage and operations for JS arrays; r+a=brendan
git-svn-id: svn://10.0.0.236/trunk@245751 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-15 01:07:53 +00:00
igor%mir2.org
64ab256f8a Bug 400902: Backing out due to test failures.
git-svn-id: svn://10.0.0.236/trunk@244836 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-04 03:41:31 +00:00
igor%mir2.org
c2ea141d7c Bug 400902: specialized arena for fast allocation of double values.r,a=brendan ab3=mtschrep
git-svn-id: svn://10.0.0.236/trunk@244835 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-04 02:37:22 +00:00
igor%mir2.org
f623f52c64 Bug 400902: backing out due to test failures.
git-svn-id: svn://10.0.0.236/trunk@244669 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-01 19:59:59 +00:00
igor%mir2.org
b0e8fbaeb9 Bug 400902: using a specialized GC arena for doubles. r,a=brendan a1.9b3=mtschrep
git-svn-id: svn://10.0.0.236/trunk@244668 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-01 18:39:24 +00:00
igor%mir2.org
49571861af Bug 354135: protect against oo recursion in e4x. r,a=brendan, a1.9b3=mtschrep
git-svn-id: svn://10.0.0.236/trunk@244654 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-01 06:01:17 +00:00
jwalden%mit.edu
e7bd30d30a Bug 409476 - js_ValueToBoolean is pure, remove cx and out parameters and just return a boolean value for better perf. r+a=brendan
git-svn-id: svn://10.0.0.236/trunk@243567 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-20 00:56:09 +00:00
brendan%mozilla.org
1227a2dcbb 64-bit fixes for problems reported by edwin@cheatah.nl (many thanks to Edwin; 410941, r=igor).
git-svn-id: svn://10.0.0.236/trunk@242552 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-07 08:41:06 +00:00
benjamin%smedbergs.us
78cd2c86ba Bug 410929 - Bad C++isms in js/src, r=crowder
git-svn-id: svn://10.0.0.236/trunk@242508 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-06 16:28:46 +00:00
igor%mir2.org
517af6b580 Bug 364776: New operation counter API to replace branch callback. r,a=brendan
git-svn-id: svn://10.0.0.236/trunk@242291 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-03 09:28:40 +00:00
jruderman%hmc.edu
ac3ce7194f Backing out igor's fixes for bug 409109 and bug 364776 in an attempt to fix Tinderbox tgfx failures that are keeping talos red
git-svn-id: svn://10.0.0.236/trunk@242098 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-26 19:19:18 +00:00
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