Commit Graph

201 Commits

Author SHA1 Message Date
Steve Fink
8e32c1357c Bug 1195957 - Implement a Swap for Heap<T> that does not put temporaries on the stack, r=terrence 2015-08-18 12:25:01 -07:00
Nick Fitzgerald
a085808c8c Bug 1192456 - Use perfect forwarding for DispatchWrapper rather than explicit move and copy constructors. r=terrence 2015-08-07 17:47:00 -04:00
Terrence Cole
1d6ecc22bb Bug 1188445 - Allow PersistentRooted to store StaticTraceable; r=sfink 2015-07-28 09:21:32 -07:00
Terrence Cole
3e73bae14c Bug 1189809 - Remove the ill-fated DynamicTraceable; r=jonco 2015-07-31 08:27:12 -07:00
Ehsan Akhgari
b9c492add4 Bug 1188208 - Fix more constructors in js; r=jorendorff 2015-07-30 14:03:17 -04:00
Wes Kocher
65c4bfbf86 Backed out changeset 54a082b01174 (bug 1188197) for various SM and CPP failures CLOSED TREE 2015-07-29 16:46:20 -07:00
Wes Kocher
ca3aa571c8 Backed out changeset a5c748f78e97 (bug 1188445) 2015-07-29 16:46:19 -07:00
Terrence Cole
4686f2202a Bug 1188445 - Allow PersistentRooted to store StaticTraceable; r=sfink 2015-07-28 09:21:32 -07:00
Terrence Cole
1b01eb6820 Bug 1188197 - Allow PersistentRooted to store DynamicTraceable; r=sfink 2015-07-24 15:09:28 -07:00
Nick Fitzgerald
5f47704457 Bug 1028418 - Part 5: Minimize stack walking when capturing SavedFrame stacks with a cache; r=shu 2015-07-28 13:04:56 -07:00
Terrence Cole
a77861ab7d Bug 1188129 - Use a universal constructor to create and init PersistentRooted; r=jonco 2015-07-24 15:08:09 -07:00
Terrence Cole
e67869e2f9 Bug 1188124 - Use rootKind to select the right PersistentRooted list head; r=sfink 2015-07-23 14:05:53 -07:00
Wes Kocher
034fe34be5 Backed out 8 changesets (bug 1028418) for assertions in SavedStacks.cpp:103 CLOSED TREE
Backed out changeset 8f20146ce3c8 (bug 1028418)
Backed out changeset f6e78ff75f4b (bug 1028418)
Backed out changeset caf840e71590 (bug 1028418)
Backed out changeset ba47cb00a938 (bug 1028418)
Backed out changeset 3f298220d712 (bug 1028418)
Backed out changeset 7c2555a6e32e (bug 1028418)
Backed out changeset ed9287cd152a (bug 1028418)
Backed out changeset 88a5c0415403 (bug 1028418)
2015-07-27 17:52:01 -07:00
Nick Fitzgerald
e315ec2325 Bug 1028418 - Part 5: Minimize stack walking when capturing SavedFrame stacks with a cache; r=shu 2015-07-27 16:33:34 -07:00
Terrence Cole
c06fcc8c9d Bug 1186156 - Move the PersistentRooted list heads into RootLists; r=sfink 2015-07-09 14:13:10 -07:00
Terrence Cole
3b00de2851 Bug 1186154 - Templatize Rooted's context parameter to reduce copy-and-paste; r=jonco 2015-07-21 12:57:00 -07:00
Andrew McCreight
5718fb4cc4 Bug 1185744 - Conversion from PersistentRooted to MutableHandle does not check for initialization. r=sfink 2015-07-22 11:31:49 -04:00
Terrence Cole
adc250331c Bug 1185749 - Implement a DynamicTraceable HashMap subclass that can be used with Rooted; r=jonco 2015-07-20 08:20:35 -07:00
Terrence Cole
c69c9cc2dc Bug 1181279 - Allow Rooted to handle generic Traceable entries; r=sfink 2015-07-20 07:50:36 -07:00
Terrence Cole
41d3b93052 Bug 1182124 - Remove InternalHandle and its last use; r=bbouvier 2015-07-09 13:35:01 -07:00
Terrence Cole
04d60e124a Backed out aae28fa58dda (Bug 1181279) for test bustage. 2015-07-20 08:38:45 -07:00
Terrence Cole
b2c4d61e93 Bug 1181279 - Allow Rooted to handle generic Tracable entries; r=sfink 2015-07-20 07:50:36 -07:00
Terrence Cole
f0335534e3 Backout 73d2c854d770 (Bug 1182124) for being on top of a suspected regression. 2015-07-17 14:02:46 -07:00
Terrence Cole
f6434f2663 Bug 1182124 - Remove InternalHandle and its last use; r=bbouvier 2015-07-09 13:35:01 -07:00
Terrence Cole
868b1a2ab7 Bug 1181799 - Allow use of Rooted with arbitrary, fully static structs; r=sfink 2015-07-09 08:45:40 -07:00
Terrence Cole
4161c8c804 Bug 1181155 - Use a common root list definition between JSContext and JSRuntime; r=jonco 2015-07-07 08:47:09 -07:00
Terrence Cole
87973dbc1f Bug 1175642 - Fix the interface that RelocatablePtr uses to interact with the StoreBuffer; r=jonco
* * *
Bug 1175466 - "Allocate arguments objects in the nursery" [r=terrence]
2015-06-18 10:23:49 -07:00
Terrence Cole
b7c7a8064e Backed out changeset 6da67b7e65ac (Bug 1175642) for unexpected bustage on a CLOSED TREE. r=meow 2015-07-01 11:43:40 -07:00
Terrence Cole
4e2be33e4f Bug 1175642 - Fix the interface that RelocatablePtr uses to interact with the StoreBuffer; r=jonco
* * *
Bug 1175466 - "Allocate arguments objects in the nursery" [r=terrence]
2015-06-18 10:23:49 -07:00
Terrence Cole
e6829f0c54 Backout 6b847a10bbb1 (Bug 1175642) for being on top of a regression. 2015-06-24 16:25:12 -07:00
Terrence Cole
30ccb0ab53 Bug 1175642 - Fix the interface that RelocatablePtr uses to interact with the StoreBuffer; r=jonco 2015-06-18 10:23:49 -07:00
Steve Fink
fab78364da Bug 1169391 - Use a ReservedRooted class for optimized Rooted use in vm/Interpreter.cpp, r=terrence 2015-05-30 08:06:35 -07:00
Terrence Cole
3ffd505617 Bug 1164602 - Replace js::NullPtr and JS::NullPtr with nullptr_t; r=sfink 2015-05-13 14:07:34 -07:00
Terrence Cole
61359aa54d Bug 1160665 - Use the same implementation for both internal and external barriers; r=jonco 2015-05-01 10:23:57 -07:00
Terrence Cole
69b3ac31a5 Bug 1160567 - Assert that object derived types are not exposed in the API; r=jonco 2015-05-01 10:23:57 -07:00
Jan de Mooij
75afa21431 Bug 1144366 followup - Stop declaring multiple pointers on a single line. r=jorendorff 2015-04-02 11:22:21 +02:00
Jan de Mooij
c6596c5fa8 Bug 1144366 - Switch SpiderMonkey and XPConnect style from |T *t| to |T* t|. r=jorendorff 2015-03-28 23:22:11 +01:00
Phil Ringnalda
1a1c158706 Backed out changeset 0c030f97a04f (bug 1144366) for being on top of patches being backed out
CLOSED TREE
2015-03-28 10:39:56 -07:00
Jan de Mooij
369ef1b850 Bug 1144366 - Switch SpiderMonkey and XPConnect style from |T *t| to |T* t|. r=jorendorff 2015-03-28 12:08:37 +01:00
Brian Hackett
65c0af280b Bug 1143521 - Remove IsPoisonedPtr stuff, r=sfink. 2015-03-18 18:01:35 -07:00
Terrence Cole
f39a82a9a9 Bug 1128110 - Share common operators on pointer-like GC classes; r=sfink 2015-02-04 15:27:00 -08:00
Jon Coppeard
47f43267e6 Bug 1107639 - Give PersistentRooted<Value> the standard operations on Value r=terrence 2015-01-23 10:23:56 +00:00
Jon Coppeard
0d92bd3832 Bug 1107639 - Allow two phase construction of PersistentRooted r=terrence 2015-01-23 10:23:56 +00:00
Masatoshi Kimura
1ac9001f06 Bug 1120062 - Part 2: Remove use of IsNullPointer. r=waldo 2015-01-15 02:09:11 +09:00
Ehsan Akhgari
a7f747ec15 Bug 1118486 - Part 1: Use = delete instead of MOZ_DELETE directly; r=Waldo
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:

#!/bin/bash

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "*/.git*" \
       ! -wholename "obj-*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Terrence Cole
6d6762086f Bug 878850 - Remove the IsInRequest check in Rooted; r=sfink 2014-12-22 10:27:44 -08:00
Terrence Cole
3851b20cc1 Bug 1107349 - Always build in enerational GC support; r=jonco 2014-12-04 09:45:05 -08:00
Jon Coppeard
85868e369e Bug 650161 - Remove an assertion that things don't move r=terrence 2014-11-24 10:40:33 +00:00
Brian Hackett
0f98f3b75c Bug 1073842 - Add NativeObject subclass of JSObject, remove ObjectImpl, r=luke. 2014-10-02 19:32:39 -07:00
Nicolas B. Pierron
cb753ff627 Bug 1074911 - Replace JS_ASSERT by MOZ_ASSERT. r=jorendorff
Apply the following script

sed -i '
   /JS_ASSERT(/ {
     s/JS_ASSERT(/MOZ_ASSERT(/;
     :b;
     s/ \\$/\\/;
     /;/ { p; d; };
     n;
     s/^/ /;
     b b;
  };
  s/JS_ASSERT (/MOZ_ASSERT(/;
'

Except where the JS_ASSERT macro does not end with a semi-colon, where empty
lines are in the middle of the macro, and where the backslahes are always the
same-length after the expression.
2014-10-01 19:17:51 +02:00