Commit Graph

17769 Commits

Author SHA1 Message Date
Luke Wagner
5a0eccb1c5 Bug 720695 - Fix uint32 overflow and INT32_MIN corner cases in CompareLexicographicInt32 (r=waldo,sgimeno) 2012-01-25 08:54:28 -08:00
Phil Ringnalda
44050661bf Back out 88145df4191a, 42408569a696, and 2108d51be2e7 (Bug 719841, Bug 678086, and Bug 695922) for tp crashes on a CLOSED TREE 2012-01-27 14:22:10 -08:00
Bobby Holley ext:(%2C%20Jason%20Orendorff%20%3Cjorendorff%40mozilla.com%3E)
67533cf65a Do not innerize an object assigned to __proto__ or used as the target of a with statement. Bug 719841, r=mrbkap. 2012-01-27 14:16:27 -06:00
Jason Orendorff
957d0ea231 Make the JS debugger consistently ignore dummy frames, fixing an assertion failure. Bug 678086, r=jimb. 2012-01-27 14:16:22 -06:00
Jason Orendorff
197e3fbba0 Reinstate a few assertions in TokenPos constructors. Bug 695922, r=luke. 2012-01-27 14:14:01 -06:00
Bill McCloskey
a784c37179 Back out 77b82d0464b4 for build failures (bug 716619) 2012-01-27 11:53:11 -08:00
Bill McCloskey
50c8625072 Bug 716619 - Simplify GC probes (r=sfink) 2012-01-27 11:35:12 -08:00
Jan de Mooij
093713e2b2 Bug 679804 - Move relational ops to jsinterpinlines. r=dvander 2012-01-27 15:36:26 +01:00
Peter Van der Beken
17cd65acea Back out 570dd369e02a, bc777c65c5ca and 12a483042e9a to fix bustage 2012-01-27 15:34:30 +01: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
Marco Bonardo
9fc0ba862e merge again 2012-01-26 19:37:23 +01:00
Marco Bonardo
650ada821b Merge mozilla-central to mozilla-inbound 2012-01-26 19:34:35 +01:00
Siddharth Agarwal
8fac26d65b Followup to bug 699385: remove a bit from js/src/configure.in I forgot to tackle in the original patch. 2012-01-27 00:04:09 +05:30
Olli Pettay
2130de6646 Bug 720686, add some cycle collection optimizations to XPC, f=mrbkap,r=mccr8
--HG--
extra : rebase_source : 7e8f68a30048f613acc99201c3c1e12b6f74eaba
2012-01-26 14:52:25 +01:00
Adam
ee9f95ea54 Bug 720680: Less paren slop. (r=cdleary) 2012-01-25 22:25:31 -08:00
Marco Castelluccio
94763126a2 Bug 702158 - [Skia] Get Skia backend working on Linux. r=mattwoodrow 2012-01-26 09:54:31 +09:00
Siddharth Agarwal
b8d51a1e8e Bug 699385 - Remove support for pre-Windows 7 SDKs. r=ted
--HG--
extra : rebase_source : 65ad2481c16199bfba9cebe89965d2065e90dd42
2012-01-26 22:05:34 +05:30
Siddharth Agarwal
4723e04c23 Bug 718541 - Work around an MSVC compiler bug with inlining JSObject::nativeLookup. r=Waldo
--HG--
extra : rebase_source : 15e0e90a4c525b40253d38ed5c6c9b6b7d299891
2012-01-26 21:47:10 +05:30
Dave Herman
2c2e7af35e Bug 721611 - evalWithLocation, r=Waldo 2012-01-26 11:26:59 -05:00
Nicholas Nethercote
a7ad4ef70e Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08:00
David Mandelin
9dbd772406 Bug 708377: use standard ToInt32 everywhere in typed arrays, r=jwalden 2012-01-20 17:36:24 -08:00
Jeff Walden
ca8c9935e4 Remove internal #includes of jsstdint.h, the functionality of which is now part of the JSAPI and need not be explicitly #included. No bug, r=evilpies, r=jorendorff, r=terrence, all over IRC
--HG--
extra : rebase_source : 073e357a4f7bcfe1af4de5e7370d10dae9a3a07d
2012-01-22 21:22:10 -08:00
Jeff Walden
2426c3f987 Bug 720941 - Remove JSDOUBLE_COMPARE (and DOUBLE_COMPARE, outside SpiderMonkey), as tinderbox's Windows compilers seem not to need it any more. r=dmandelin
--HG--
extra : rebase_source : 1ee5ff83329ef22e6ea471f5a06815bafa45f345
2012-01-23 11:52:28 -08:00
Bill McCloskey
b5b7133e4b Bug 706227 - Add way for JS_GC API users to give detailed reason for invocation (r=mccr8) 2012-01-25 10:59:55 -08:00
Marco Castelluccio
3352dc9370 Bug 664824 - JM+TI: Make JSOP_IN fast for dense arrays. r=jandem 2012-01-25 14:55:00 +01:00
Mike Hommey
711ac49c3c Bug 719742 - Make expandlibs properly handle the case where OBJ_SUFFIX is .i_o on Linux PGO first pass. r=ted 2012-01-25 10:34:14 +01:00
Nicholas Nethercote
6d66d1e6c4 Bug 720219 (part 5) - Clean up JS type object measurement. r=bhackett.
--HG--
extra : rebase_source : 4d972fd2dd17181bf6facd077e71b05c6cc72307
2012-01-23 15:50:59 -08:00
Nicholas Nethercote
5da4a517a6 Bug 720219 (part 4) - Clean up JS script measurement. r=bhackett.
--HG--
extra : rebase_source : 5c237412c6f3409f81ef23b1ab38b982540e14c3
2012-01-23 15:39:39 -08:00
Nicholas Nethercote
73ea60d532 Bug 720219 (part 3) - Clean up JS shape measurement. r=bhackett.
--HG--
extra : rebase_source : 3667bc230c4f0818c674a86e5beee410edd34f4e
2012-01-23 15:39:00 -08:00
Nicholas Nethercote
12b2cd00aa Bug 720219 (part 2) - Clean up JS string measurement. r=bhackett.
--HG--
extra : rebase_source : bc43388760741370265654aa4661ee422d6b6a33
2012-01-23 15:38:59 -08:00
Nicholas Nethercote
bdcd8d9251 Bug 720219 (part 1) - Clean up JS object measurement. r=bhackett.
--HG--
extra : rebase_source : ff9aa7da84814e6868fef88b56bcb038389d5fb9
2012-01-23 15:35:37 -08:00
Jeff Walden
55f88ed75f Bug 566700 - Remove sharp-syntax generation from the toSource methods. r=dmandelin
--HG--
extra : rebase_source : c0b47ed9fd5569e24f8ab058e7cb4e8df0941f68
2012-01-20 23:39:37 -08:00
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
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