Commit Graph

48037 Commits

Author SHA1 Message Date
Alan Pierce
e951ce56be Bug 578189 - Add the invariant that dependent strings must have a flat string as the base (r=gal) 2010-07-24 20:22:35 -07:00
Andreas Gal
3eefbea893 Move GC triggering into the runtime (580803 part 2, r=igor). 2010-07-24 15:30:33 -07:00
Makoto Kato
514a532f7b Bug 580904 - remove jsval_layout.debugView in msvc x64 (r=lw) 2010-07-24 09:10:31 -07:00
Luke Wagner
b4626a511d Bug 581574 - Remove JSVAL_IS_UNDERLYING_TYPE_OF_PRIVATE (r=mrbkap) 2010-07-23 17:20:12 -07:00
Luke Wagner
5f73207275 Remove js::Value default ctor (jsval doesn't have one) (no bug) 2010-07-23 17:16:00 -07:00
Andreas Gal
404cbee80f Don't lock the GC if its already locked (follow-up for 580803). 2010-07-23 20:02:13 -07:00
Paul Biggar
1504032238 Bug 578159: remove object allocation debug hook. (r=gal, sr=brendan) 2010-07-23 19:33:49 -07:00
Andreas Gal
f31287d478 More fallout from bug 581264. 2010-07-23 17:24:55 -07:00
Jeff Walden
aef4ed93a4 Followup to bug 465199: properly perform ToInteger rather than just ToNumber when determining lastIndex in RegExp.prototype.exec; could have sworn I did this already...
--HG--
extra : rebase_source : c63fa22c169751610bc09e7d2c91858ec9cd56b5
2010-07-23 18:30:34 -05:00
Andreas Gal
20afe268df Use proper exported JS_PUBLIC_API function (follow-up for 581264). 2010-07-23 16:08:59 -07:00
Andreas Gal
2588647cb3 Remove leftover use of js_NewArrayObjectWithCapacity (follow-up for bug 581264). 2010-07-23 16:05:36 -07:00
Andreas Gal
c9bde05bd6 Always allocate dslots for dense arrays (580877, r=njn). 2010-07-23 15:29:02 -07:00
Andreas Gal
a5591066f8 Don't use broken js_NewArrayObjectWithCapacity API (581264, r=bz,jst,dwitte). 2010-07-23 15:25:42 -07:00
Andreas Gal
d1c3d893c1 Trigger all operation callbacks from triggerGC (follow-up for 580803). 2010-07-23 15:21:13 -07:00
Andreas Gal
ff0430908b Consolidate GC heuristics (580803, r=igor). 2010-07-23 15:17:42 -07:00
Igor Bukanov
6b8de5f2a8 bug 576596 - follow up to rename js_HasInstance into HasInstance
--HG--
extra : rebase_source : 2f4d4db7a849d3683a85f971e88855b1e72d8398
2010-07-23 23:56:16 +02:00
Jeff Walden
bb1681a89f Bug 580200 - Assertion failure, or duplicated enumeration, enumerating own properties of proxy returning duplicated property names. r=jorendorff
--HG--
extra : rebase_source : 19d4bf112e0dfdb5ed619f9d6e1f72b72a3e0801
2010-07-20 12:46:58 -05:00
Jeff Walden
496e7515a9 Bug 581067 - U+FEFF should be a WhiteSpace character (change in ES5 from ES3). r=cdleary
--HG--
extra : rebase_source : 38947caa8d4f21d0867137d0933495061a88d052
2010-07-22 22:28:33 -05:00
Jeff Walden
e009ebc027 Bug 465199 - RegExp.lastIndex setting shouldn't coerce to integer (should happen during internal use of the property instead). r=cdleary
--HG--
extra : rebase_source : d2f32831a11a4e88dbed927a9a17e96f2a9561b3
2010-07-12 15:40:44 -05:00
Brendan Eich
1813531fe8 Back out patch for bug 577648, need to fix a leak. 2010-07-23 14:21:50 -07:00
Brendan Eich
72e638d9ef arguments.callee.caller does not work in FF 4 under certain circumstances (577648, r=jwalden). 2010-07-10 11:48:00 -07:00
Jason Orendorff
cdfa6b4210 Fix debug non-threadsafe builds. rs=brendan. 2010-07-23 11:32:50 -05:00
Jacek Caban
f55478a89b Bug 578340 - Sync jschar and PRUnichar on Windows r=jorendorff 2010-07-23 17:03:43 +02:00
Igor Bukanov
6eb0fa7807 bug 552266 - - asserting that autorooters are used only under a request. r=mrbkap 2010-07-23 13:33:15 +02:00
Igor Bukanov
8e449d33fb bug 580458 - trigger operation callback once per thread, not once per cx. r=gal,mrbkap 2010-07-22 22:59:59 +02:00
Andreas Gal
817e9fe04a Remove hole count from dense arrays (580846, r=njn). 2010-07-22 18:45:21 -07:00
Alan Pierce
76244684a9 Bug 579173 - Use ropes to avoid large copies in simple string replace cases (r=lw) 2010-07-22 17:54:39 -07:00
Luke Wagner
131d736cea Bug 578922 - remove wasteful store/load in box_value_for_native_call on x64 (r=njn) 2010-07-22 17:47:59 -07:00
Dan Witte
1d912899b3 Fix build. 2010-07-22 15:30:03 -07:00
Dan Witte
39e10d599b Bug 573841 - Assertion of non-null-terminated string on returning a ctypes array.readString(). r=mrbkap, a=sayrer 2010-07-22 15:01:17 -07:00
Dan Witte
3babb202bc Marshal small integer return values through ffi_arg to avoid invalid writes. b=564739, r=bsmedberg, a=blocking2.0 2010-07-22 14:55:49 -07:00
Luke Wagner
3a499b8646 Bug 579183 - CallStack was a confusing name, CallStackSegment is more accurate (r=dvander) 2010-07-22 13:46:43 -07:00
Jason Orendorff
6f5fe37ae7 Bug 580411 - AutoCompartment and JS_Enter/LeaveCrossCompartmentCall should support the trivial case of not changing compartments. r=mrbkap. 2010-07-20 18:59:29 -05:00
Igor Bukanov
246300e968 bug 576596 - removal of JSObjectOps::(call|construct|hasInstance). r=jorendorff
--HG--
extra : rebase_source : 8fd09ab6bfb4daece7a27b9a46097ae74bdc055c
2010-07-07 09:53:50 +02:00
Jacek Caban
2655d7d62e Bug 569819 - Fix nanojit compilation failure on mingw-w64. r=edwsmith 2010-06-25 15:59:05 +02:00
Jacek Caban
618928dd9b Bug 573341 - Wrong AVMPLUS_ALIGN16 declaration on mingw r=dvander 2010-06-27 01:28:10 +02:00
Ginn Chen
1e8dd96599 Bug 580549 NativeSparc.cpp failed to compile r=leon.sha 2010-07-22 15:07:07 +08:00
Luke Wagner
d232049628 Fix jshashtable.h bustage 2010-07-21 19:47:02 -07:00
Luke Wagner
3dfee16b90 Bug 580633 - Do less copying when adding elements to HashMap (r=bz) 2010-07-21 19:01:33 -07:00
Sean Stangl
71a64382fa Bug 580745 - Add JSValueShiftedTag (r=lw) 2010-07-21 18:57:01 -07:00
Nicholas Nethercote
efc24067fd Update nanojit-import-rev stamp. 2010-07-20 21:10:57 -07:00
Nicholas Nethercote
e56dfae6ff Bug 574969 - add LIR_qasd / LIR_dasq. r=edwsmith.
--HG--
extra : convert_revision : 06774ab0e7e002b4fe6f4091a5dd59904fb6b080
2010-07-20 21:04:21 -07:00
Luke Wagner
53a742ae98 Bug 579598 - Help GCC out in array_splice (r=waldo) 2010-07-20 20:27:15 -07:00
Luke Wagner
d4e0a53756 Bug 578044 - fix setterOrUndefined (r=waldo) 2010-07-20 19:33:51 -07:00
Luke Wagner
0fd878fe59 Bug 580051 - Catch ints-as-doubles in JSOP_TABLESWITCH (r=jorendorff) 2010-07-20 19:32:11 -07:00
Luke Wagner
890c4cda11 Bug 580187 - Pass vp to ComputeThisFromVp (r=dvander) 2010-07-20 19:32:04 -07:00
Luke Wagner
de91418c20 Mark some inline JSString members as JS_ALWAYS_INLINE 2010-07-20 19:31:55 -07:00
Robert Sayre
ec27ccd212 Merge. 2010-07-20 15:49:14 -07:00
Robert Sayre
1b744a7685 Merge mozilla-central to tracemonkey. 2010-07-20 15:07:03 -07:00
Jason Orendorff
02f46a123c Bug 580084 - JS_InitClass with no methods or properties breaks JSScope::emptyScope invariant. r=brendan. 2010-07-20 16:57:12 -05:00