Commit Graph

17769 Commits

Author SHA1 Message Date
Jeff Walden
303fb63077 Bug 720759 - Delete the fallible EqualStrings signature when both provided strings are linear, so that callers are required to use the faster, infallible linear-strings overload. r=Ms2ger 2012-01-24 10:30:46 -08:00
Jeff Walden
1fb6b6d79d Bug 720759 - Convert js::SameValue, js::StrictlyEqual, js::LooselyEqual, and js::EqualStrings to return a value through a bool*, not a JSBool*, to eliminate a (single!) Windows warning. r=Ms2ger 2012-01-24 10:29:55 -08:00
Justin Lebar
a0e8e11a18 Bug 696162 - Fix jsgcchunk's AllocGCChunk to be more efficient and to avoid potential problems on Mac 10.7. r=igor
--HG--
extra : rebase_source : 13160f0e9d8b09ed31359daf451adff3e68de30d
2012-01-24 13:50:45 -05:00
Luke Wagner
411fc35146 Bug 675078 - rm JSThreadData and JSThread (JSRuntime is now officially single-threaded) (r=igor) 2011-07-18 14:54:48 -07:00
Bill McCloskey
228da7352f Bug 720505 - Remove MarkRuntime from jsapi.h exports (r=Ms2ger) 2012-01-24 10:21:12 -08:00
Matt Brubeck
8337d3ee56 Back out e7fa7c10803e and ebf0c9794a34 (bug 696162) because of Win64 build failure 2012-01-24 08:59:40 -08:00
Justin Lebar
cb22da07c0 Bug 696162 - Followup: Fix comment style. DONTBUILD 2012-01-24 10:57:33 -05:00
Justin Lebar
1f875754d0 Bug 696162 - Modify jsgcchunk's AllocGCChunk to be more efficient and to avoid potential hangs on Mac 10.7. r=igor 2011-11-10 15:08:59 -05:00
Jan de Mooij
76646917e5 Move GETELEM/SETELEM operations to jsinterpinlines (bug 718683, r=pierron) 2012-01-24 16:20:34 +01:00
Nathan Froyd
e0439c9672 Bug 714365 - DictionaryHelpers.cpp gets rebuilt on every build. r=ted 2012-01-23 07:55:21 -08:00
Ms2ger
ba66231d2a No bug - Try to fix ¬m bustage. 2012-01-24 14:45:35 +01:00
Ben Turner
c043698ddd Bug 705640 - Implement DOMError as defined in DOM 4, r=mounir.
--HG--
extra : transplant_source : %15%98Xx%C3%F3%89%95%94%5Eu%99%B0%CC%8B%E0V%3A4%C6
2012-01-24 02:13:41 -08:00
Jim Blandy
e60f106c45 Bug 717417: Don't skip ScriptDebugEpilogue when an onExceptionUnwind handler throws an uncaught exception or terminates the debuggee. r=jorendorff 2012-01-23 17:44:32 -08:00
Jim Blandy
fabd941a59 Bug 717417: Add 'terminate' shell primitive. r=jorendorff 2012-01-23 17:44:30 -08:00
Brian Hackett
ac2db7245b Ensure code is discarded appropriately when kicking frames into the interpreter, bug 719674. r=dvander 2012-01-23 16:50:23 -08:00
Bill McCloskey
492dacdb0b Bug 716027 - Add write barrier to SetReservedSlot in jsfriendapi.h (r=bhackett) 2012-01-23 16:43:19 -08:00
Bill McCloskey
37bab689c0 Bug 716033 - Move write barriers from jsapi.h to jsfriendapi.h (r=luke,bholley) 2012-01-23 16:43:12 -08:00
Brian Hackett
6924b97c89 Convert integers to doubles at join points immediately after a chunk boundary, bug 719918. r=dvander 2012-01-23 16:42:21 -08:00
Brian Hackett
731515157c Don't leak JITScript->shimPool, bug 720359. r=dvander 2012-01-23 16:35:12 -08:00
Jeff Walden
9fc97a2c2a Bug 720316 - Convert RegExp indexes into uint32_t. r=luke
--HG--
extra : rebase_source : bc166b8b951b7142b27f423fdbb6aba7e3087d97
2012-01-19 17:15:24 -08:00
Jeff Walden
a25d5c7e3b Bug 720316 - Remove the entirely-unused JOF_SLOTATOM. r=luke
--HG--
extra : rebase_source : 2f2222eebe863873d7d85323e9dd5c5484c72193
2012-01-18 16:55:59 -08:00
Jeff Walden
d66f282a1c Bug 720316 - Introduce GET_UINT8 and SET_UINT8 helpers for bytecode immediate examination/setting. r=luke
--HG--
extra : rebase_source : 7413b96b2e1b048b78c37d6a7b0700d6b1d84874
2012-01-17 17:55:27 -08:00
Jeff Walden
d8e49e4876 Bug 720511 - Make sure indexed elements on prototypes of an array being joined show through in the final join-string. r=luke
--HG--
extra : rebase_source : 9979fa265e18e347fb0406c39044bce6fa183aef
2012-01-21 04:05:53 -08:00
Santiago Gimeno
9a6bbb0d41 Bug 715265 - Optimize all-int array sort and avoid creating a JSString per element when there is no comparator (r=luke)
--HG--
extra : rebase_source : 0a61ff4ac1cafa450b78fad1cf4adde3246729fc
2012-01-23 14:06:02 -08:00
Andrew McCreight
8a73fee0b0 Bug 720292 - add more cycle collector edge names. r=smaug 2012-01-23 15:25:53 -08:00
Brian Hackett
a6ed50bb70 Add incremental GC barrier for generator frames associated with args/call objects, bug 716013. r=billm 2012-01-23 13:59:04 -08:00
Brian Hackett
fdbc9982b5 Add JSOP_LOOPENTRY for target of initial loop jump, bug 720169. r=dvander 2012-01-23 13:51:01 -08:00
Gregory Szorc
2e6dbb6f65 Bug 717713 - Add -Qunused-arguments to default Clang compiler flags; r=ted 2012-01-23 13:32:12 -08:00
Jeff Walden
917e2ed288 Bug 720094 - Simplify the implementation of JSDOUBLE_IS_NaN a bit, consolidating two implementations (conditioned on the architecture) into one. r=dvander 2012-01-20 23:39:32 -08:00
Jeff Walden
661ca52260 Bug 719659 - Add -std=gnu99 to CFLAGS so that gcc and friends permit use of C99 constructs without warnings. This doesn't mean that everything in C99 is permitted now -- only the stuff supported by all the compilers we care about, including MSVC. r=espindola
--HG--
extra : rebase_source : 0788763db92464426eaab05cc92ba9d4baea152c
2012-01-20 19:00:55 -08:00
Adam
37eac4d6c0 Bug 688891: Remove unaligned LifoAlloc API. (r=cdleary) 2012-01-18 20:40:20 -08:00
Adam
383585fcc8 Bug 688891: C++ power-armor for Sprinter. (r=cdleary) 2012-01-20 15:09:56 -08:00
Luke Wagner
e55b378409 Bug 720067 - re-merge StackSpace.h with Stack.h, extract gc/Root.h (r=bhackett) 2012-01-20 19:49:33 -08:00
Ed Morley
52a93f5d13 Backout 143f01714f2b (bug 705640) for build failures 2012-01-23 14:25:47 +00:00
Ben Turner
00f78a4ed3 Bug 705640 - 'Implement DOMError as defined in DOM 4'. r=mounir. 2012-01-23 03:02:54 -08:00
Ed Morley
0c97f287c4 Backout fcb3a7884fa9 (bug 705640) for build failures 2012-01-23 11:48:35 +00:00
Ben Turner
70d8b59c47 Bug 705640 - 'Implement DOMError as defined in DOM 4'. r=mounir. 2012-01-23 03:02:54 -08:00
Tom Schuster
90198b9888 Bug 686296 - Non-extensible ArrayBuffer __proto__ should not be changable. r=jorendorff
--HG--
extra : rebase_source : 93384a978862d4f140e6d28296f24340a32fe4df
2012-01-21 19:25:54 +01:00
David Mandelin
4361fd08d0 Bug 718128: Implement draft spec ArrayBuffer.slice, r=jwalden 2012-01-18 17:27:13 -08:00
Brian Hackett
c3449a4176 Root strings in native iterators when converting from array of jsids, bug 719686. r=dvander 2012-01-20 16:22:16 -08:00
Brian Hackett
b75944b118 Fix use of space above the active JS stack pointer, bug 718347. r=dvander 2012-01-20 16:19:05 -08:00
Brian Hackett
a928d30ab7 Keep track of SSA variable values at exception blocks after an explicit throw, bug 719758. r=dvander 2012-01-20 16:13:23 -08:00
Luke Wagner
ddf14cd886 Bug 719878 - AllFramesIter does not find all frames when the current segment contains only a native call (r=sfink)
--HG--
extra : rebase_source : c9f22d1ee0e2aa0501ad90ffe51a7ed1c13f9f33
2012-01-20 16:00:26 -08:00
Geoff Lankow
0c3a9efa35 Backed out changeset 86da174de8df (bug 719841) 2012-01-21 11:26:40 +13:00
Geoff Lankow
abbcd75aa0 Backed out changeset febc999231e4 (bug 719841) 2012-01-21 11:26:37 +13:00
Bobby Holley
9f30bd70b1 Bug 719841 - Assert that inner objects don't appear in prototype chains. r=jorendorff 2012-01-20 13:32:44 -08:00
Jason Orendorff
ae6606d4a3 Bug 719841 - Do not innerize an object assigned to __proto__. r=mrbkap 2012-01-20 13:32:44 -08:00
Brian Hackett
a4d68cd70e Backout 5cdf9574bede for build failures. 2012-01-20 07:33:44 -08:00
Brian Hackett
1391b6b0c1 Remove emitter special casing for __proto__, bug 717249. r=waldo 2012-01-20 07:14:55 -08:00
Jason Orendorff
a899cae1b4 Add file needed by some Map/Set tests (the tests were introduced for bug 697479). r=orange. 2012-01-20 07:30:27 -06:00
Jason Orendorff
cdddb6e5c3 Bug 697479 - Implement Map and Set builtins for JS. r=jimb. 2012-01-20 06:11:43 -06:00
Jason Orendorff
a12e6e2526 Fix a few typos in comments in js/src. No bug, no_r=me. 2012-01-20 06:11:42 -06:00
Jason Orendorff
962a4168c7 Bug 717278 - Vector should have const and non-const begin(). r=luke. 2012-01-20 06:11:42 -06:00
Jan de Mooij
d509a9c8b2 Bug 719135 - Move some arithmetic operations to jsinterpinlines. r=dvander 2012-01-20 13:01:44 +01:00
Mike Hommey
6bde3c4d13 Bug 603370 part 1 - Add an option to expandlibs-exec to allow to reorder the objects list. r=ted 2012-01-20 09:50:44 +01:00
John Schoenick
7bbce8eb51 Bug 718899 - Implement Cu.forceShrinkingGC / Cu.schedulePreciseShrinkingGC r=gwagner 2012-01-19 10:58:25 -08:00
Marco Bonardo
3b4763a031 Merge central to inbound 2012-01-19 11:36:52 +01:00
Marco Bonardo
088f004772 Merge last green PGO from inbound to central 2012-01-19 11:34:17 +01:00
Brian Hackett
8fb0414d87 Pass scope chain explicitly to FindProperty, bug 717494. r=dvander 2012-01-18 17:15:00 -08:00
Brian Hackett
96e072a772 Store JSStrings instead of jsids in native key iterators, bug 713754. r=dvander 2012-01-18 16:56:22 -08:00
Brian Hackett
d053028797 Compile large scripts in chunks, bug 706914. r=dvander 2012-01-18 16:40:18 -08:00
Mark Finkle
9db8cf1a28 Backout 60eb0da71cdb as suspected crash cause (bug 718765) 2012-01-18 10:08:29 -05:00
Phil Ringnalda
26d3478d48 Back out 78a8aeae5b30 (bug 696291) for Android build bustage 2012-01-18 20:36:59 -08:00
Brian Hackett
089b77e0b6 Define mjitChunkLimit in --disable-methodjit builds to fix test failure, no bug, no r. 2012-01-18 19:56:21 -08:00
Bobby Holley
1a624ca8b9 Bug 718072 - WeakMaps constructor doesn't always get initialized on the global object. r=Waldo 2012-01-18 19:10:04 -08:00
Chris Leary
ab18051b4f Bug 719315: Free unused chunks. (r=luke) 2012-01-18 18:55:01 -08:00
David Anderson
8500adc8ac Follow-up fix for ARMv7 regression after soft-float support on ARMv6 (bug 696291, r=mrosenberg).
--HG--
extra : rebase_source : f7a86715ad9a478381c7af37cba946a0c3566f69
2012-01-18 18:07:46 -08:00
Brian Hackett
b2d1e04095 Fix warnings, no bug. r=dvander 2012-01-18 18:08:22 -08:00
David Anderson
5365dca1bc Support pre-SSE2 CPUs in JaegerMonkey (bug 696291, r=bhackett).
--HG--
extra : rebase_source : f1f6a1e60b05974533ff39292a0a278fc69fbb0f
2012-01-13 13:33:56 -08:00
Luke Wagner
64b08a775b Bug 718134 - un-union StackFrame::args (r=bhackett)
--HG--
extra : rebase_source : 51b670e57a9fd4f1fc09808137e152d46e18d33a
2012-01-17 16:35:07 -08:00
Luke Wagner
ae6bfed062 Bug 718022 - further nerf f.arguments (r=waldo,sr=dmandelin)
--HG--
extra : rebase_source : a93cf7e665753afc38d26a9e3cd2d328eef53b42
2012-01-17 16:34:24 -08:00
Luke Wagner
9131ef84b8 Remove tracer bits from InterpMode (no bug, r=dvander)
--HG--
extra : rebase_source : a7d4938398584a21daa369bf6409decd647ac295
2012-01-06 09:36:49 -08:00
Andrew McCreight
e33c1372a4 Bug 718029 - don't skip JSContexts with outstanding requests. r=smaug 2012-01-17 09:38:24 -08:00
Reuben Morais
65208b48c8 Bug 717805 - Remove CopyArrayElement. r=jwalden 2012-01-17 12:33:08 +01:00
Chris Leary
12e2b7fd7e Bug 717762: Proliferate js_memcpy and PodCopy, take 2. (r=luke)
--HG--
extra : rebase_source : 73083063f32036d037b34f0ec96d06192f2ae649
2012-01-17 14:32:36 -08:00
Igor Bukanov
19d0adbfd0 bug 718600 - remove JSRuntime::(rtLock, state). r=luke 2012-01-17 23:14:49 +01:00
Bill McCloskey
0603b2c7d2 Bug 708303 - Use pinReg/unpinReg more in write barriers (r=dmandelin) 2012-01-16 13:52:57 -08:00
Nathan Froyd
f427e14b9a Bug 711563 - compact function specs; r=jorendorff 2011-12-29 16:23:53 -05:00
Nathan Froyd
cae1a132cc Bug 711563 - flatten property and function names; r=jorendorff 2011-12-29 16:20:26 -05:00
Nathan Froyd
dd4958fcd7 Bug 711563 - more compact property and function tables; r=jorendorff 2011-12-29 15:18:41 -05:00
Nathan Froyd
deed107b93 Bug 711563 - reduce space required by hash entry chains; r=jorendorff 2011-12-16 14:49:53 -05:00
Ginn Chen
22f3bf0f4d Bug 717863 default pagesize is 8192 on Solaris/SPARC r=igor 2012-01-16 09:32:58 +08:00
Justin Wood
94e66a942e Merge m-c tip to m-i 2012-01-15 05:29:24 -05:00
Ms2ger
c7c024b493 Bug 712034 - Clean up jstypes.h a bit; r=njn 2012-01-15 09:13:12 +01:00
Ms2ger
d236ac43e7 Bug 714052 - Remove JS_NEITHER; r=luke 2012-01-15 09:13:12 +01:00
Ms2ger
877acb1064 Bug 717195 - Export dombindings.h; r=bholley 2012-01-15 09:13:12 +01:00
Ms2ger
7cb43df24b Bug 677079 - Part ab: Remove jscntxt.h and dependencies from INSTALLED_HEADERS; r=dmandelin 2012-01-15 09:13:11 +01:00
Ms2ger
6f32f32b0c Bug 677079 - Part aa: Expose sizeof(JSContext) in jsfriendapi.h; r=njn 2012-01-15 09:13:11 +01:00
Ms2ger
51d689e4f8 Bug 677079 - Part z: Move JS_CHECK_RECURSION to jsfriendapi.h; r=mjrosenb 2012-01-15 09:13:11 +01:00
Ms2ger
eabd14ca4c Bug 677079 - Part y: Move AutoIdVector to jsapi.h; r=evilpie 2012-01-15 09:13:11 +01:00
Ms2ger
93d155a6e0 Bug 677079 - Part x: Move AutoValueVector to jsapi.h; r=evilpie 2012-01-15 09:13:11 +01:00
Ms2ger
bcf6141336 Bug 677079 - Part w: Move AutoVectorRooter to jsapi.h; r=evilpie 2012-01-15 09:13:11 +01:00
Ms2ger
36d683ad8a Bug 677079 - Part v: Expose rt->compartments in jsfriendapi.h; r=jorendorff 2012-01-15 09:13:11 +01:00
Ms2ger
af15e55f33 Bug 677079 - Part u: Provide TriggerOperationCallbacksForActiveContexts in jsfriendapi.h; r=bhackett 2012-01-15 09:13:10 +01:00
Ms2ger
475d2d2ae7 Bug 677079 - Part t: Provide IsContextRunningJS in jsfriendapi.h; r=jorendorff 2012-01-15 09:13:10 +01:00
Ms2ger
ca8fadca6c Bug 677079 - Part s: Make JS_TRACER_INIT a function instead of a macro; r=billm 2012-01-15 09:13:10 +01:00
Ms2ger
fb1a9705e9 Bug 677079 - Part r: Provide AutoSkipConservativeScan in jsfriendapi.h; r=luke 2012-01-15 09:13:10 +01:00
Ms2ger
2fa4283d53 Bug 677079 - Part q: Expose gcLock in jsfriendapi.h; r=gal 2012-01-15 09:13:10 +01:00
Ms2ger
9cc9bf5989 Bug 677079 - Part p: Remove AutoLockJSGC in favour of js::AutoLockGC; r=bholley 2012-01-15 09:13:10 +01:00
Ms2ger
5760a0138f Bug 677079 - Part o: Expose setActivityCallback in jsfriendapi.h; r=gal 2012-01-15 09:13:10 +01:00