Commit Graph

567 Commits

Author SHA1 Message Date
Bobby Holley
9e65275dc6 Bug 959013 - Create storage for declarative class bootstrapping information on js::Class. r=luke 2014-02-04 07:51:54 -08:00
Nicholas Nethercote
e8da47d480 Bug 964238 (part 1) - Remove JSStableString and StableTwoByteChars. r=terrence.
--HG--
extra : rebase_source : 1859ce0b42661494fa13628551359a5a5d5663c0
2014-01-30 14:58:53 -08:00
Terrence Cole
efa144a708 Bug 966040 - Simplify and minimize the allocation path for non-objects; r=jonco 2014-01-31 11:43:43 -08:00
Kyle Huey
6d033cceb1 Bug 961286 - Use move semantics for JSAutoStructuredCloneBuffer and wrappers. r=jorendorff, r=bent 2014-01-31 21:50:07 -05:00
Shu-yu Guo
4c62363f28 Bug 966181 - Rename ForkJoinSlice to ForkJoinContext. (r=pnkfelix) 2014-01-31 14:57:57 -08:00
Eric Faust
f142659bfe Bug 924720 - Part 1: Implement IsProxy() using new JSClass flag. (r=jwalden) 2014-01-29 17:20:15 -08:00
Eric Faust
131ceafd59 Bug 924720 - Part 0: Free up spare JSClass flags. (r=jwalden) 2014-01-29 17:20:15 -08:00
Chris Peterson
6fcb2b7947 Bug 964016 - Part 4: Replace JS_ALWAYS_INLINE with MOZ_ALWAYS_INLINE. r=luke 2014-01-24 20:14:56 -08:00
Chris Peterson
c8d24a2942 Bug 964016 - Part 2: Replace JS_UNLIKELY with MOZ_UNLIKELY. r=luke 2014-01-24 19:57:58 -08:00
Bobby Holley
094cd93292 Bug 957688 - Kill off checkAccess. r=mrbkap 2014-01-24 16:08:26 -08:00
Terrence Cole
218d891337 Bug 963232 - Add extensive documentation to js/GCAPI.h; r=billm 2014-01-23 11:47:11 -08:00
Nicholas Nethercote
b772cdc96b Bug 961883 (part 3) - Measure and report the Nursery. r=terrence.
--HG--
extra : rebase_source : 6f12d47ca8cedc96b0dd0477ca4f71de08e47181
2014-01-21 17:17:08 -08:00
Nicholas Nethercote
26d6f457c4 Bug 961883 (part 2) - Measure and report the StoreBuffer. r=terrence.
--HG--
extra : rebase_source : f298f0373b7fee99eee7a62060f882d628f97eb2
2014-01-21 17:17:02 -08:00
Nicholas Nethercote
84e05af59c Bug 961883 (part 1) - Measure and report the SourceDataCache. r=benjamin.
--HG--
extra : rebase_source : b599e19fb681e972b1f6e184c44f5a726a61009f
2014-01-20 19:52:57 -08:00
Nicholas Nethercote
0ec65cabbf Bug 961883 (part 0) - Some tiny HashTable comment tweaks. r=luke.
--HG--
extra : rebase_source : 749b61ec992335aa5e2be63340e88b04ff236967
2014-01-20 19:52:52 -08:00
Jeff Walden
0b49543b89 Bug 948227 - Add code to warn when the __proto__ setter is called that it's very slow and shouldn't be used. (Don't use it yet, tho, because it requires the second part of bug 948583 to land first. Once that lands, fully enabling this just requires some uncommenting.) r=efaust
--HG--
extra : rebase_source : 87d320edcc99b6ef7df98c2470c78d4085aa4f99
2013-12-11 16:04:07 -08:00
Jon Coppeard
2ad9e5f891 Bug 961077 - Take marking function as template parameter in PersistentRootedMarker r=sfink 2014-01-23 09:53:42 +00:00
Steve Fink
830890169b Bug 960342 - Add a RootedGeneric general class, r=terrence 2014-01-22 11:52:44 -08:00
Jon Coppeard
c6790d8bcb Bug 961077 - Make PersistentRooted use private inheritance when deriving from LinkedListElement r=sfink 2014-01-22 11:28:06 +00:00
Ms2ger
9988c0aff8 Bug 937952 - Replace JS_ROTATE_LEFT32 with mozilla::RotateLeft; r=Waldo 2014-01-20 08:58:26 +01:00
Terrence Cole
c919e2577e Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 5; r=jonco
--HG--
extra : rebase_source : 13c96b6118408cfb001a3191871cbf7ce4d8a2c3
2014-01-17 10:09:38 -08:00
Jon Coppeard
a0e2da1d9c Bug 960544 - Always export rooting APIs and stop linking unit tests against JS library r=glandium 2014-01-17 10:18:19 +00:00
Terrence Cole
422649470f Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 1; r=sfink,Ms2ger
--HG--
extra : rebase_source : 0e0e75028f12db9cc4cf612a9205525669b70267
2014-01-14 12:41:22 -08:00
Nicolas B. Pierron
53088e6a78 Bug 958471 - Assert range of Object/String Values' payload. r=jandem 2014-01-16 03:06:31 -08:00
Jon Coppeard
5c8646a2e7 Bug 959683 - Use rooting typedefs consistently in our public API r=sfink 2014-01-15 10:31:00 +00:00
Boris Zbarsky
dd2f4ef162 Bug 932837 part 2. Create a refcounted object to manage the lifetime of a JS::StackDescription. r=mccr8, terrence 2014-01-07 19:53:17 -05:00
Boris Zbarsky
bddbb72a18 Bug 932837 part 1. Make FrameDescription compute the line number lazily. r=jandem 2014-01-07 19:53:17 -05:00
Jeff Walden
3651214840 Bug 956601 - Add Char16.h to RequiredDefines.h so that SpiderMonkey standalone works again, in compilers without native char16_t support. r=sstangl
--HG--
extra : rebase_source : 7a36d31e37e0336b9ccfe765d9c98353f6e56aa0
2014-01-05 18:05:11 -06:00
Jeff Walden
b01c238639 Bug 953296 - Implement mozilla::NullptrT as a typedef to use to accept nullptr values. Also add mozilla::IsNullPointer<T>, a trait for detecting *only* true nullptr (emulated nullptr [__null] used by gcc 4.4/4.5 isn't true nullptr). r=ehsan
Generally, if you want a decltype(nullptr)-based overload, you should use SFINAE and IsNullPointer.  (Examples are provided in NullPtr.h comments.)  The problem is NullptrT matches far more than just __null as emulated nullptr for gcc 4.4/4.5 overloading purposes.  This problem is unavoidable without true nullptr.  Currently, the only valid use for NullptrT is believed to be in operator overloads.  All existing nullptr-overloading code has been rewritten to use the appropriate technique for the situation, and MOZ_HAVE_CXX11_NULLPTR is no longer an API.

--HG--
extra : rebase_source : 01abfcb66ae569db7b04a7b53f5cd5fd8151bffd
2014-01-02 17:27:41 -06:00
Luke Wagner
7db5895601 Bug 924905 - Do a subsumes check inside the stack iterator. r=jandem
--HG--
extra : rebase_source : ff8407c4f79fd3e2264470379470c526a751e45f
2014-01-03 10:32:56 -06:00
Jan de Mooij
fc9170e992 Bug 955838 - Remove JSScript::enclosingScriptsCompiledSuccessfully() and some unused friend API functions. r=bhackett 2014-01-03 11:19:50 +01:00
Ivan Jibaja
6103f039ae Bug 946042 - Add all SIMD functions to the interpreter. r=till 2013-12-18 16:28:32 -05:00
Jeff Walden
59fac783ea Inherit RangedPtr's operator= in all of SpiderMonkey's *CharsZ classes, so that assignment of the correct raw pointer to each will compile. No bug, r=terrence over IRC 2013-12-19 13:56:24 -05:00
Jan de Mooij
42dbb46345 Bug 951666 - Rename IonCode to JitCode. r=njn 2013-12-18 23:01:51 +01:00
Wes Kocher
a8ec671341 Backed out changeset ef0eeaec74a8 (bug 949183) on the theory that it somehow broke every single b2g test on a CLOSED TREE 2013-12-16 18:27:43 -08:00
Sean Stangl
0a79faf943 Bug 949183 - Fix jsid static constructor explosion. r=Waldo 2013-12-16 14:40:05 -08:00
Brian Hackett
42eeba80f7 Bug 932982 - Trace type constraints and allow preserving jitcode in GCs without also marking all type information, r=billm, r=jandem 2013-12-12 13:10:54 -08:00
Andy Wingo
52ca0ec4da Bug 927782 - Part 10: Iterate block chain from compile-time block scope maps, not runtime blockChain. r=luke 2013-12-06 18:42:08 +01:00
Terrence Cole
7ac52d01ee Bug 945250 - Evict the nursery before using CellIter; r=jonco 2013-12-04 15:23:30 -08:00
Wes Kocher
4bb276f973 Backed out changeset 2a1e0a4f8d72 (bug 932982) for b2g m2 orange on a CLOSED TREE 2013-12-12 16:38:32 -08:00
Brian Hackett
6d2ce026a7 Bug 932982 - Trace type constraints and allow preserving jitcode in GCs without also marking all type information, r=billm,jandem. 2013-12-12 13:10:54 -08:00
Sean Stangl
7d261b793a Bug 949195 - Don't refer to IsInRequest() when JS_DEBUG is not defined. r=efaust 2013-12-11 14:06:04 -08:00
Ryan VanderMeulen
2cedf78bb2 Backed out changeset a29d7f5ddde6 (bug 932982) for ggc asserts. 2013-12-12 13:56:32 -05:00
Brian Hackett
30cc121c23 Bug 932982 - Trace type constraints and allow preserving jitcode in GCs without also marking all type information, r=billm,jandem. 2013-12-12 08:42:24 -08:00
Terrence Cole
2e679fb1a1 Bug 948516 - Assert that js::HashTable pointers and enumerators are used correctly; r=luke 2013-12-03 12:51:02 -08:00
Ryan VanderMeulen
cb80ce98fe Backed out changeset b93e7a83b308 (bug 932982) for Linux mochitest-bc leaks.
CLOSED TREE
2013-12-11 17:07:48 -05:00
Brian Hackett
5d9bd2a0fa Bug 932982 - Trace type constraints and allow preserving jitcode in GCs without also marking all type information, r=billm,jandem. 2013-12-11 10:12:33 -08:00
Sean Stangl
e73d5179bd Bug 948638 - Always use jsid struct types. r=Waldo 2013-12-10 15:45:41 -08:00
Terrence Cole
7f6fe020bb Backout changeset 70e76314c8a7 for build bustage on a CLOSED TREE.
--HG--
extra : rebase_source : 83e1e8a5a4802ef0b7b1d6f7dc0df6595bc9f00f
2013-12-10 15:26:05 -08:00
Terrence Cole
1ba90fd085 Bug 948516 - Assert that js::HashTable pointers and enumerators are used correctly; r=luke 2013-12-03 12:51:02 -08:00