Justin Lebar
acccca26c0
Bug 893281 - Don't require a no-args constructor for elements in a JS::Vector if you call GrowByUninitialized(). r=luke
2013-07-15 12:10:59 -07:00
Shu-yu Guo
0d4f5ea743
Bug 891946 - Rename ThreadSafeContext variables from tcx -> cx. (r=bhackett)
2013-07-10 18:25:42 -07:00
Shu-yu Guo
aca77e9d71
Bug 881593 - Part 1: Change LossyTwoByteCharsToNewLatin1CharsZ to take ThreadSafeContext. (r=billm)
2013-07-10 18:25:33 -07:00
Shu-yu Guo
638b9c7b72
Bug 881988 - Support calling natives in parallel. (r=djvj)
2013-07-10 18:25:33 -07:00
Jeff Walden
90a0f4dfea
Bug 891177 - Move js::Swap to mozilla::Swap. r=terrence
...
--HG--
extra : rebase_source : 925bccd4fa3f95e1aa4e17d94ad5a443fc7a63aa
2013-07-03 15:57:33 -07:00
Jeff Walden
7a5c915ff2
Bug 891177 - Add ReentrancyGuard.h as a helper class for asserting that use of a class is non-reentrant. r=terrence
...
--HG--
extra : rebase_source : 3751e523c0b0315697cb6e005dfd8ee625f6dd58
2013-07-02 17:47:08 -07:00
Jeff Walden
5ccfb193c6
Bug 891177 - Use MOZ_STATIC_ASSERT, not JS_STATIC_ASSERT, in Vector.h. r=terrence
...
--HG--
extra : rebase_source : 35bf9a16df56ff308ff2761f0f088a1ca980f04a
2013-07-02 17:33:32 -07:00
Jeff Walden
0cd808f43c
Bug 891177 - s/JS_ALWAYS/MOZ_ALWAYS/g and s/JS_NEVER/MOZ_NEVER/g on Vector.h. r=terrence
...
--HG--
extra : rebase_source : 345ebb6b5d7f7b023bcebdf1610de4f03c98cf46
2013-07-02 17:31:49 -07:00
Jeff Walden
5769d62b8d
Bug 891177 - s/JS_ASSERT/MOZ_ASSERT/g on Vector.h. r=terrence
...
--HG--
extra : rebase_source : 9ed551860edfb8801725a3575335039c1bb07692
2013-07-02 17:29:29 -07:00
Jeff Walden
3bc19b56c2
Bug 891177 - Implement Move.h to define a move-construction interface. r=terrence
...
--HG--
extra : rebase_source : 45f9bb87fc0ee96ea35005ca0dcb263aa11745b8
2013-07-02 17:25:13 -07:00
Brian Hackett
aafb978437
Bug 885758 - Add ExclusiveContext for use by threads with exclusive access to their compartment, r=billm.
2013-07-10 09:29:52 -06:00
Terrence Cole
b1ea45059a
Bug 888117 - Properly barrier the JSON stringifier's CycleDetection set; r=billm
...
--HG--
extra : rebase_source : 9cd269cf38bacfb63cbceef5dec795da2c24750c
2013-06-27 18:12:54 -07:00
Steve Fink
0fa76abb7c
Bug 890076 - Move isConstructing to CallArgs, r=Waldo
...
--HG--
extra : rebase_source : f66e59fbd201153a4329a82264c32ad72465d654
2013-07-03 22:59:43 -07:00
Terrence Cole
9ecda8d7ad
Bug 878160 - GC: post barrier weak references in the browser - part 2 browser r=terrence r=billm
...
--HG--
extra : rebase_source : a1856a7dce28da5086f6fbeaeda15596193aa7ad
2013-06-05 16:40:02 -07:00
Jon Coppeard
32a8cfef5d
Bug 878160 - GC: post barrier weak references in the browser - part 1 JS engine r=terrence
...
--HG--
extra : rebase_source : 4dfd4f8f46564d3a9858646a0f68c9047c2f7e93
2013-07-02 09:43:45 +01:00
Justin Lebar
3da6ed220e
Bug 820686 - Follow-up: s/MOZ_ASSUME_NOT_REACHED/MOZ_ASSUME_UNREACHABLE/. rs=waldo
...
I'd meant to do this, but I only got as far as the comment in mfbt. Oops!
--HG--
extra : rebase_source : 3cfe3ef1bf401eb7d9a10fcabcfb39008e9553a4
2013-06-28 19:20:12 -07:00
Justin Lebar
3e059c7221
Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
674bdae8dc
Bug 820686 - Rename MOZ_NOT_REACHED() and JS_NOT_REACHED() to MOZ_ASSUME_NOT_REACHED(). r=waldo
...
This includes a mechanical renaming of MOZ_NOT_REACHED to MOZ_ASSUME_NOT_REACHED in JS. Later patches in this queue clean up whitespace errors and so on.
2013-06-28 18:38:31 -07:00
Nicholas Nethercote
385e5fa1b0
Bug 883696 (part 4) - Include full paths in #include statements in the rest of js/src/ and js/public/. r=luke.
2013-06-27 17:37:29 -07:00
Cykesiopka
fee3475339
Bug 831741 - Followup: Remove remaining __cplusplus bits from /js (with exceptions). r=jorendorff
2013-06-26 21:35:11 -04:00
Steve Fink
38ddb62f45
Bug 887362 - Fix include tangle for CheckStackRoots, r=ehoogeveen
...
--HG--
extra : rebase_source : 0bad13a22809afb35f924decc02b55a3e87db486
2013-06-26 11:21:36 -07:00
Terrence Cole
f05eb3a4f7
Bug 848592 - Fix some dynamic rooting analysis failures; r=sfink
...
--HG--
extra : rebase_source : 0d614298d3e9879a0ac5f95561329dc3a80d693b
2013-06-14 13:48:39 -07:00
Steve Fink
12acfa2b71
Bug 868302 - Enable rooting LIFO assertions in DEBUG, r=terrence
2013-05-03 13:53:15 -07:00
Catalin Iacob
d1755d1c96
Bug 798914 (part 4) - Use newly introduced mozilla::MallocSizeOf in js. r=njn.
...
--HG--
extra : rebase_source : d1c063b94c7ec58729150cbea602bb4c9f2a0e24
2013-06-23 13:21:01 +02:00
Terrence Cole
cd711afb30
Bug 840242 - Use the runtime page size to control arena decommit; r=luke
...
--HG--
extra : rebase_source : e183246d7a2f381e015e7d860336330a726cb9f8
2013-02-11 13:59:10 -08:00
Phil Ringnalda
37782d5f54
Back out 1b81a9c88872 (bug 840242) for committing infanticide in Nursery.o
2013-06-21 18:53:24 -07:00
Terrence Cole
21895c51d6
Bug 840242 - Use the runtime page size to control arena decommit; r=luke
...
--HG--
extra : rebase_source : 575a7485a5c6ac51f5c0cadc91616302326ce770
2013-02-11 13:59:10 -08:00
Jan de Mooij
f5b9908a45
Bug 881902 - Remove ContextStack and StackSpace. r=luke,njn
2013-06-21 08:28:06 +02:00
Jon Coppeard
4cc78f2b6c
Bug 885315 - GC: Add some documentation comments for JS::Heap<T> r=sfink
2013-06-21 14:12:45 +01:00
Terrence Cole
70f401359a
Backout ac48416672e7 for unexpected SM(r) failures.
...
Even if the there is a CLOSED TREE by the time I push.
--HG--
extra : rebase_source : b6ccfb766566415e50f1f48c6c738ed72f86babf
2013-06-20 16:17:37 -07:00
Terrence Cole
284b554ae9
Bug 848592 - Fix some dynamic rooting analysis failures; r=sfink
2013-06-14 13:48:39 -07:00
Dan Gohman
6e5e28438e
Bug 885175 - DoubleHasher<double> fixes -- use a bitwise comparison to avoid considering zero and negative zero equal. r=luke
2013-06-20 11:55:41 -07:00
Bobby Holley
9762bd6b16
Bug 883450 - Assert that we're in a request whenever we create a Rooted<T>. r=terrence
2013-06-20 11:05:34 -07:00
Emanuel Hoogeveen
e0a70e1fe3
Bug 883697 (part 1) - Make include guards consistent in js/ductwork/, js/ipc/ and js/public/. r=njn.
...
--HG--
extra : rebase_source : 34f5559ba6e64831905686e12356b70109d873a8
2013-06-19 17:59:09 -07:00
Jon Coppeard
e2a2d38706
Bug 884283 - GC: Rename RootMethods to GCMethods r=terrence
2013-06-19 11:32:26 +01:00
Jon Coppeard
7295df4d69
Bug 877762 - GC: Post-barrier cycle collector participants - 1 Fixes and updates to JS::Heap<T> r=terrence
2013-06-18 11:00:37 +01:00
Terrence Cole
fa77ae873c
No Bug - Assert that our Rooting ABI is correct; r=sfink
...
--HG--
extra : rebase_source : 3247d6a22f73d278ae4e6904dff28a1b727e5169
2013-06-13 15:14:44 -07:00
Bill McCloskey
ba19c64e28
Bug 880697 - Add JSRuntime constructor for Rooted. r=terrence
2013-06-12 14:17:54 -07:00
Landry Breuil
c068ab70d5
Bug 618485: Finally remove uintptr_t word payload union member on 64BE, it grows jsval_layout size and is unused. r=luke
2013-06-08 12:49:10 +02:00
Boris Zbarsky
24d0bddba5
Bug 877281 part 5. Add a set() method to Rooted. r=terrence
2013-06-07 22:45:45 -04:00
Steve Fink
f7f0db4c7c
Backed out changeset 55fa2277a702 (bug 848592) for exposing pre-existing rooting hazards. Will fix the problems before relanding. The green you see is a lie.
2013-06-05 16:03:30 -07:00
Steve Fink
65cc8bf36b
Bug 848592 - Mark memory accessed by dynamic rooting analysis as defined, r=njn
...
--HG--
extra : rebase_source : 15c4b347a2705883bffa148955b2a3c147499864
2013-03-06 15:56:35 -08:00
Terrence Cole
92c0bf02c4
Bug 879079 - Fix some exact rooting static analysis failures under js/src; r=bhackett
...
--HG--
extra : rebase_source : 3d5181531aef48516f1ec257b674e033a2da2aa6
2013-06-03 16:30:00 -07:00
Dan Gohman
6566491f07
Bug 875929 - Now that js_bitscan_ctz64 and js_bitscan_clz64 are implemented on all platforms, clean up some compatibility code which isn't needed anymore. r=evilpies
2013-06-05 07:39:10 -07:00
Dan Gohman
e38a539d67
Bug 875929 - Generalize the code for materializing double constants. In particular, this new code handles 0x7ff8000000000000, a common NaN. To support this, implement js_bitscan_ctz64 for 32-bit targets. r=evilpies
2013-06-04 21:39:13 -07:00
Boris Zbarsky
dca1b89519
Bug 877216. Add CallArgs-like structs for use in DOM specialized getters/setters/methods. r=waldo
2013-05-30 17:47:00 -04:00
Brian Hackett
1fdaad701e
Bug 678037 - Add (disabled) ability to parse script bytecode lazily, r=luke.
2013-05-30 06:29:56 -06:00
Joshua Cranmer
f9295075bf
Bug 868285 - Fix static checking builds, part 2: Add MOZ_NONHEAP_CLASS. r=ehsan
...
--HG--
rename : build/clang-plugin/tests/TestStackClass.cpp => build/clang-plugin/tests/TestNonHeapClass.cpp
2013-05-27 16:05:02 -05:00
Jon Coppeard
18542d913b
Bug 875872 - Add public Heap<T> class for implementing post-barriers in the browser r=terrence
2013-05-27 12:51:25 +01:00
Boris Zbarsky
76ce95b003
Bug 875939. Make passing a Rooted<T> or Handle<T> to a function taking |const T&| not be a gc hazard. r=terrence
2013-05-24 22:38:09 -04:00