Граф коммитов

31792 Коммитов

Автор SHA1 Сообщение Дата
Nicholas Nethercote e58e9709e7 Bug 793076 (part 8) - Make GetCachedLocalTime() infallible. r=jwalden.
--HG--
extra : rebase_source : a0631d386fb6666b03c32bd96f594000add57d32
2012-10-07 18:03:20 -07:00
Nicholas Nethercote e076d2ab01 Bug 793076 (part 7) - Rename CacheLocalTimes() and change its return type from bool to void. r=jwalden.
--HG--
extra : rebase_source : 99a9b3e5944d61d5cad87f80afafb0dd22379179
2012-10-07 18:01:54 -07:00
Nicholas Nethercote def69f4aa0 Bug 793076 (part 6) - Remove SetDateToNaN. r=jwalden.
--HG--
extra : rebase_source : 2fddc9bf0e38c215f169afbc3480a5d793315bb9
2012-10-07 18:01:51 -07:00
Nicholas Nethercote 1d29c8af5b Bug 793076 (part 5) - Change SetUTCTime()'s return type from bool to void. r=jwalden.
--HG--
extra : rebase_source : 33411aca5216e1e8bf298500c7f9fd5dd61d8d6a
2012-10-07 18:01:35 -07:00
Nicholas Nethercote e19b123ba3 Bug 793076 (part 4) - In jsdate.cpp, exactly root remaining JSObject* pointers. r=jwalden.
--HG--
extra : rebase_source : f90b0eecbb1f81c38ff55132faf05384b98ef622
2012-09-20 23:23:54 -07:00
Nicholas Nethercote 7a69104c60 Bug 793076 (part 3) - In jsdate.cpp, convert Rooted<JSObject*> pointers to RootedObject. r=jwalden.
--HG--
extra : rebase_source : a6493707a8ddc223a5a72b8131483c285543dc02
2012-09-20 23:23:18 -07:00
Nicholas Nethercote 1b72132349 Bug 793076 (part 2) - In jsdate.cpp, convert |cx| parameters to |dstOffsetCache| where possible. r=jwalden.
--HG--
extra : rebase_source : 27977fc5c54e7f359cdb0bf550a3d6ddcbd4cae5
2012-09-20 23:22:35 -07:00
Nicholas Nethercote cbc812d8ca Bug 793076 (part 1) - Remove unnecessary |cx| parameters. r=jwalden.
--HG--
extra : rebase_source : 0cfe86ca3b2de60b0097f6cd4686dfabe6748897
2012-09-20 21:41:49 -07:00
Jan de Mooij 3923aee558 Bug 798823 - Don't use an empty IonActivation in FastInvokeGuard. r=dvander 2012-10-07 14:27:11 -07:00
David Rajchenbach-Teller 81de20823a Bug 795505 - Feed typed arrays to js-ctypes. r=jorendorff 2012-10-06 21:53:23 -04:00
Jan de Mooij d00b754c77 Temporarily disable bug 797131 part 3 for fuzz crashes. r=dvander on IRC 2012-10-07 01:15:53 +02:00
Jan de Mooij 089fb725c2 Bug 798819 - Ensure the EnterJIT thunk exists when using FastInvoke. r=dvander 2012-10-06 15:39:04 -07:00
Ed Morley 44b97aef8e Merge mozilla-central to mozilla-inbound 2012-10-06 21:47:07 +01:00
Tom Schuster c3e35953d6 Bug 784765 - Add fastpath for string equality with different length. r=jandem 2012-10-06 21:59:14 +02:00
Ed Morley 1bcac7940e Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-10-06 20:30:35 +01:00
Boris Zbarsky c3467f2b81 Bug 796410. Make things still work right if we disable Paris list bindings. r=peterv 2012-10-06 12:21:42 -04:00
Boris Zbarsky 1060975a5f Bug 798011. Deal with JS_ValueToString failing. r=gabor 2012-10-06 12:06:24 -04:00
Kannan Vijayan 3b092f80e9 Bug 798589 - Change GetProp IC attachCallGetter to use script being jitted to get ion framesize instaed of script the getprop belongs to. (r=jandem) 2012-10-06 09:58:06 -04:00
Jan de Mooij f154de8ef6 Bug 797131 part 3 - Add fast path for calling into Ion. r=dvander 2012-10-06 11:38:18 +02:00
Jan de Mooij cfaf573c1e Bug 797131 part 2 - Add FastInvokeGuard and use it. r=dvander 2012-10-06 11:37:59 +02:00
Jan de Mooij 4e46fad7ce Bug 797131 part 1 - Various small changes. r=dvander 2012-10-06 11:37:18 +02:00
Ms2ger bbe52187a6 Bug 795610 - Part g: Introduce custom quickstubs that call the newly introduced WebIDL APIs; r=mounir 2012-10-06 09:20:56 +02:00
Mike Hommey d9535a31bf Bug 797322 - Preprocessed .jsm files don't get //@line info. r=ted 2012-10-06 10:38:58 +02:00
Jim Blandy 998fa206dc DONTBUILD
(No bug): Remove inaccurate comment for js::gc::CellIter r=billm on IRC
2012-10-05 17:32:41 -07:00
Nicolas B. Pierron 216835d2b7 Bug 792398 - Recover arguments from bailouts. r=luke 2012-10-04 23:56:07 -07:00
Nicolas B. Pierron 231ae87d52 Bug 787813 - Argument object, Use StackIter instead of StackFrame. r=luke 2012-10-04 23:56:06 -07:00
Nicholas Nethercote 7df073ff5b Bug 797695 (part 4) - Exactly root jsscript.cpp. r=terrence.
--HG--
extra : rebase_source : b6cc292b092b30e339a75921245d4605275c104d
2012-10-04 16:22:03 -07:00
Nicholas Nethercote 8fbf1bdfc3 Bug 797695 (part 3) - Exactly root js_NewFunction(). r=terrence.
--HG--
extra : rebase_source : afece8e51f17ad3ed4d7cef013f169fa957362d4
2012-10-04 16:21:51 -07:00
Nicholas Nethercote 9ba36b1aa3 Bug 797695 (part 2) - Exactly root jsfun.cpp. r=terrence.
--HG--
extra : rebase_source : 9a46d4b08cf0e71f34b7d87699329bc8f6ec4e47
2012-10-04 16:21:40 -07:00
Nicholas Nethercote 15fc521d61 Bug 797695 (part 1) - Exactly root jsexn.cpp. r=terrence.
--HG--
extra : rebase_source : 9680504cb9e93a9fe10af0ff6f2cd3253c011b06
2012-10-04 16:21:36 -07:00
Kannan Vijayan 83f3b04b46 Bug 786126 - part 3 - Allow null/undefined in typeset of target object of GetProp ICs. (r=sstangl) 2012-10-05 00:28:36 -04:00
Nicolas B. Pierron 525cb0aee4 Revert "Bug 797977 - Embed !isIon() assertion in StackIter::fp(). r=luke"
This reverts changeset 588135660310.
2012-10-05 15:00:46 -07:00
Nicolas B. Pierron 603637d92f Bug 797977 - Embed !isIon() assertion in StackIter::fp(). r=luke 2012-10-05 14:01:03 -07:00
Steve Fink eb430a3a4b Bug 797213 - Test output may not go to stdout if -O given. r=terrence
--HG--
extra : rebase_source : b0ca42e73f5da97e65eb73abb2115857d14fd9fa
2012-10-05 13:17:36 -07:00
Steve Fink 747660290e Bug 797213 - jstests.py -O<filename> should default show-output to on. r=terrence
I didn't expect to have to specify -o in addition to -O. I get that you might want to use -s instead of -o, but -o is probably much more common.

--HG--
extra : rebase_source : 25e5f6ec23b3b4b006f12d405a30c6c43b631423
2012-10-05 13:17:23 -07:00
Steve Fink 935b17207d Bug 797213 - jstests.py: add a -F (--failed-only) option to only display output of failed tests. r=terrence
I also snuck a change to the output format, to display the test name in the output so that it is possible to associate output with the test that produced it. I mixed it in just because it was a little harder to separate out into a separate patch. I could easily do so, if you'd like.

--HG--
extra : rebase_source : ac26efd171eb6fa19b90eae22a29d047f1ba55b8
2012-10-05 13:17:01 -07:00
Steve Fink 3110eb99d4 Bug 797217 - Replace InternalHandleBase::zeroPointer with NullPtr::constNullValue. r=terrence
--HG--
extra : rebase_source : f70e1d996fb01e790b277524128faa68060dac6d
2012-10-05 13:16:39 -07:00
Steve Fink 5f92bc6efb Bug 797128 - Minor rooting fix and SkipRoot justification. r=terrence
The first valid SkipRoot I've found. copyFromArray was inexplicably discarding a handle, and with that fixed there are some unrooted internal pointers stored on the stack. But the only things that can trigger GC will also trigger an early exit, so all of the unrooted pointers are dead if a GC happens anyway.

--HG--
extra : rebase_source : b0c0157bcfdb7461086cdec4be8f71f94ab24c55
2012-10-05 13:14:47 -07:00
Steve Fink 6a34b3a21b Bug 797123 - Fix JS_ALWAYS_TRUE(fallible ToNumber) in jstypedarray.cpp. r=Waldo
Apparently, it was once believed that ToNumber is infallible when given a primitive value. It has 2 or 3 different ways of failing on OOM. For example, if you're onverting a string containing a double, you might blow out memory constructing the dtoa cache.

--HG--
extra : rebase_source : 88c91620678eb9be7ad8dd67f48c54cf843c09e6
2012-09-20 11:21:12 -07:00
Steve Fink 9d0d41cb98 Bug 794214 - Avoid putting poisoned pointer into type->newScript. r=billm
--HG--
extra : rebase_source : 904806c6059409c1af02624a1b4b989329f5acf3
2012-09-25 13:48:40 -07:00
Sean Stangl 73eeb4d947 Bug 797551 - Use callWithABI() for Math.random(). r=dvander 2012-10-05 12:05:21 -07:00
Jan de Mooij d3c0716239 Bug 797825 - Port Array.prototype.concat fast path from JM to Ion. r=dvander
--HG--
extra : rebase_source : e5213bb7085685821f80ad9978b7b81706289c36
2012-10-05 20:25:21 +02:00
Bobby Holley 3e2bc99f16 Bug 761695 - Put Proxy and DOM expandos on the expando object, rather than the holder. r=peterv 2012-10-05 18:59:24 +02:00
Bobby Holley 54f0bae85b Bug 761695 - Hoist expando-checking (but not expando-creating) operations into common code. r=peterv
We do this for delete_, enumerateNames, and resolveOwnProperty. This doesn't change
existing behavior, because for ProxyXrayTraits and DOMXrayTraits the expando object
will (currently) always be null.
2012-10-05 18:59:24 +02:00
Bobby Holley da6cbf326f Bug 761695 - Create XrayTraits::resolveOwnProperty. r=peterv 2012-10-05 18:59:23 +02:00
Bobby Holley c0125cfb00 Bug 761695 - Reorder checks for expandos and nodePrincipal. r=peterv
Peter and I decided this was ok. We can't hoist expando stuff otherwise.
2012-10-05 18:59:23 +02:00
Bobby Holley 3dee0ce8e2 Bug 761695 - Implement expando traps for ProxyXrayTraits DOMXrayTraits. r=peterv
For new DOM proxies, we could probably use the Xray expando machinery for the
regular expando object as well, and free up one of the reserved slots. That's
more than I want to bite off for the moment, though.

I also decided not to block on bug 760095 and just kick the problem of globals
with new binding down the road a little bit.
2012-10-05 18:59:23 +02:00
Bobby Holley 6894d29805 Bug 761695 - Move wrapper preservation stuff into a virtual trap. r=peterv
I'm not sure this stuff is correct for non-WN objects. Hopefully that will
come out in review.

Anyway, with this change, the expando infrastructure in XrayTraits is now
fully generic and non-WN-specific. To make things work for other objects,
we now need to implement the virtual traps and hoist the code that calls the
expando machinery out of XPCWrappedNativeXrayTraits.
2012-10-05 18:59:23 +02:00
Bobby Holley e5b93a88c9 Bug 761695 - Make expando chain getting/setting a virtual trap. r=peterv 2012-10-05 18:59:23 +02:00
Bobby Holley d9be4b7c75 Bug 761695 - Hoist expando infrastructure into XrayTraits. r=peterv
It's still WN-only, now we can move the WN-only bits into virtual traps.

Note that the new-binding reparenting code will need to have a call to
CloneExpandoChain.
2012-10-05 18:59:23 +02:00