Commit Graph

17784 Commits

Author SHA1 Message Date
Blake Kaplan
cb21e041dd Bug 718733 - Allow JSAPI tests to create compartments with principals. r=jorendorff
--HG--
extra : rebase_source : cf2530b81125479aacc27f0daf8a679e2f0c0b6e
2012-01-17 19:40:14 +01:00
Blake Kaplan
48bc5337ca Bug 720305 - Deal with odd getters and setters. r=jwalden
--HG--
extra : rebase_source : b5df534b437a6c79ab95b16ebb081d961b08e87f
2012-01-26 12:54:34 +01:00
Jeff Walden
4d5adf9347 Bug 566700 - Remove sharp variable support. r=dmandelin
--HG--
extra : rebase_source : 623f6ef8eb050d626b8c7a828949e291b34abc9a
2012-01-07 00:55:32 -06: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
Peter Van der Beken
a315c8f9b9 Fix for bug 717009 (Inline ListBase<LC>::instanceIsListObject and ListBase<LC>::getListObject). r=bz.
--HG--
extra : rebase_source : 661d5fc98c76506ab6abccd057a0ce1e8cf6b0f8
2011-11-09 11:37:47 +01:00
Peter Van der Beken
92dc06c0ef Fix for bug 716997 (Allow new DOM bindings with 0 methods or properties). r=jst.
--HG--
extra : rebase_source : c6a702d61a75bae8e328d9cda6a717d75829ebf3
2011-10-14 23:21:39 +02:00
Peter Van der Beken
234f42c6e0 Fix for bug 693811 ("Assertion failure: shouldCacheProtoShape(cx, proto, &shouldCache) && shouldCache" in ListBase::nativeGet). r=mrbkap.
--HG--
extra : rebase_source : 191e550e9aac822f82e771a5a21fe74f90f728cb
2011-10-14 23:29:36 +02: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
Luke Wagner
deb78ef5af Bug 675078 - rm JSThreadData and JSThread (JSRuntime is now officially single-threaded) (r=igor,rs=mccr8)
--HG--
extra : rebase_source : f6d2c2c6083f4589691ede571159bfd7e7ef8701
2011-07-18 14:54:48 -07:00
Terrence Cole
dd371fc5d0 Bug 720891 - Despecialize the optimization for TypeObject marking; r=bhackett
This is not worth the cognitive burden and prevents us from nicely compacting
the Marker function definitions.
2012-01-24 16:28:41 -08:00
Bill McCloskey
1762125a12 Bug 720853 - Add read barrier for atom table (r=luke) 2012-01-24 18:32:56 -08:00
Bill McCloskey
1849c0c8d5 Bug 720848 - Trace through watchpoints from TraceRuntime (r=jorendorff) 2012-01-24 18:32:17 -08:00
Matt Brubeck
54f0eed49e Back out 79deba022227 (bug 675078) because of Win debug mochitest-other failures 2012-01-24 17:32:30 -08:00
Terrence Cole
8a4e489530 Bug 720840 - Call MarkStringUnbarriered directly; r=billm
We have a special marker function for handling the Atom list because we need to
call JS_SET_TRACING_INDEX externally to avoid clobbering the index.  However,
nobody cares about the index here and if they do, they can add custom debug
code.  It is better at this point to have a consistent and correct interface,
thus we remove the specialized atomized string marking in favor of the existing
markers.  Additionally, this is only used during root marking so we can switch
to using MarkRoot for the extra assertions.

--HG--
extra : rebase_source : b4448f7fde8990a727bf2893e53688690e170535
2012-01-24 15:21:44 -08:00
Jeff Walden
84b72e1449 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
--HG--
extra : rebase_source : 2794602c5fa7b1ee5a2d891b7ef0696985ceccd4
2012-01-24 10:30:46 -08:00
Jeff Walden
27198118c3 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
--HG--
extra : rebase_source : 2b9e2c5ffff4c017489f54c504b90dacb02f8654
2012-01-24 10:29:55 -08:00
Justin Lebar
ab5872d58b Bug 696162 - Followup: Use static_cast rather than reinterpret_cast, where appropriate. 2012-01-24 16:17:28 -05:00
Ms2ger
0ced821217 Bug 672893 followup - Make JSCompartment not a JS_FRIEND_API; r=luke 2012-01-24 21:07:00 +00:00
Ed Morley
4e5bc81eba Backout 01a5ce645a8b, 6e849614a79f & bd75f26eee25 (bug 720759) for win debug build failures 2012-01-24 21:06:59 +00:00
Ed Morley
a3fc495956 Backout b7f926cfa8c8 (bug 672893) for Windows build failures 2012-01-24 20:57:30 +00:00
Ms2ger
a5dacb03c4 Bug 672893 followup - Make JSCompartment not a JS_FRIEND_API; r=luke 2012-01-24 20:14:11 +01:00
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
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