Commit Graph

347 Commits

Author SHA1 Message Date
Steve Fink
2f47851cda Bug 890076 - Move isConstructing to CallArgs, r=Waldo
--HG--
extra : rebase_source : f66e59fbd201153a4329a82264c32ad72465d654
2013-07-03 22:59:43 -07:00
Terrence Cole
d145542530 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
ff4b38f917 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
904130e9c2 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
6c46d0633d 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
de08e1432c 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
66f90c8922 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
06857ab4f5 Bug 831741 - Followup: Remove remaining __cplusplus bits from /js (with exceptions). r=jorendorff 2013-06-26 21:35:11 -04:00
Steve Fink
7d4ba82022 Bug 887362 - Fix include tangle for CheckStackRoots, r=ehoogeveen
--HG--
extra : rebase_source : 0bad13a22809afb35f924decc02b55a3e87db486
2013-06-26 11:21:36 -07:00
Terrence Cole
ffcfc9d60b 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
6e805a1adc Bug 868302 - Enable rooting LIFO assertions in DEBUG, r=terrence 2013-05-03 13:53:15 -07:00
Catalin Iacob
1544c37641 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
eaad8a3737 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
9f4c5472ab Back out 1b81a9c88872 (bug 840242) for committing infanticide in Nursery.o 2013-06-21 18:53:24 -07:00
Terrence Cole
af471f2f39 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
ae7738d127 Bug 881902 - Remove ContextStack and StackSpace. r=luke,njn 2013-06-21 08:28:06 +02:00
Jon Coppeard
d5f923c927 Bug 885315 - GC: Add some documentation comments for JS::Heap<T> r=sfink 2013-06-21 14:12:45 +01:00
Terrence Cole
700816d4d6 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
6e68d997b8 Bug 848592 - Fix some dynamic rooting analysis failures; r=sfink 2013-06-14 13:48:39 -07:00
Dan Gohman
9e49b5eb5f 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
68f0e73503 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
73cb5d6b4d 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
31b2a9deca Bug 884283 - GC: Rename RootMethods to GCMethods r=terrence 2013-06-19 11:32:26 +01:00
Jon Coppeard
1fbdd040c3 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
8d80f3ba42 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
bebda0a75e Bug 880697 - Add JSRuntime constructor for Rooted. r=terrence 2013-06-12 14:17:54 -07:00
Landry Breuil
06b4bfe911 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
1992f884b7 Bug 877281 part 5. Add a set() method to Rooted. r=terrence 2013-06-07 22:45:45 -04:00
Steve Fink
180e676fb8 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
baabf5e67b 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
a69c96beb2 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
bf0503d164 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
a41c2e0184 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
cb38fb46c2 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
ddbb9d9519 Bug 678037 - Add (disabled) ability to parse script bytecode lazily, r=luke. 2013-05-30 06:29:56 -06:00
Joshua Cranmer
c6a8662716 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
c437a3a2c0 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
349dadac4c 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
Eddy Bruel
8882c53b4c Bug 637572 - Implement ScriptSourceObject; r=jimb 2013-05-22 16:06:54 -07:00
Jan de Mooij
d1d46a2f99 Bug 857845 part 3 - Remove JM JSAPI flags, memory reporters and browser prefs. r=djvj
--HG--
extra : rebase_source : 8b2ed85801fcd8c8fd0fc16a89b1a275add1a310
2013-05-22 14:50:45 +02:00
Steve Fink
2e64712e21 Bug 872823 - implement oomAfterAllocations testing function
--HG--
extra : rebase_source : 9baca68d56f8b15e691f2154bd8aa6b6cea45845
2013-05-20 12:59:55 -07:00
Boris Zbarsky
903eab0e9d Bug 868715 part 10. Create specializations of Optional for 'any' and 'object' types so that we can have those look like Optional<Handle<Value> > and Optional<Handle<JSObject*> > respectively. r=peterv,sfink 2013-05-16 12:36:56 -04:00
Nathan Froyd
eba34f22d7 Bug 858131 - rewrite FloatingPoint.h to be C++-only instead of C-compatible C++; r+original-author=Waldo 2013-05-01 16:55:13 -04:00
Terrence Cole
cd1aec056b Bug 777548 - Make non-cc-participant tracing indirect; r=smaug,billm,jst 2013-03-28 13:37:22 -07:00
Ms2ger
3d6ccad416 Bug 866051 - Make CallArgs a stack class; r=Waldo 2013-05-05 09:03:16 +02:00
Martin Husemann
a014d7158c Bug 867911 - Add OpenBSD and NetBSD to list of sparc64 systems with 8k pages. r=terrence 2013-05-02 20:35:32 -04:00
Boris Zbarsky
91d06b1fae Bug 867312. Expose some APIs for working with millisecond timestamps corresponding to JS dates. r=waldo 2013-05-01 23:44:11 -04:00
Stephen Kraemer
7b93b707c5 Bug 836078 - Replace all gcc __GNUC__ version checks with MOZ_GCC_VERSION_AT_LEAST macro. r=dvander 2013-05-01 15:45:05 -04:00
Terrence Cole
889bd111ae Bug 867426 - Remove the ForwardDeclare MACROs; r=jonco
--HG--
extra : rebase_source : dea4bcfa57a684e42105e087839785af2231e37d
2013-04-30 15:41:20 -07:00
Terrence Cole
9d406f2351 Bug 867426 - Remove RawObject typedef; r=jonco
--HG--
extra : rebase_source : cf90289656cdcbc2c33e918db4d5347613ad6360
2013-04-30 15:41:12 -07:00