Commit Graph

50222 Commits

Author SHA1 Message Date
Jon Coppeard
7e545d5e6d Bug 1188408 - Udate cell pointers after updating roots at the end of compacting a zone r=terrence 2015-07-30 10:55:52 +01:00
Jon Coppeard
95afc83e95 Bug 1188408 - Make incremental zeal mode exercise compacting GC too r=terrence 2015-07-30 10:55:52 +01:00
Jon Coppeard
9322a5d071 Bug 1188408 - Simplify ArenasToUpdate iteration r=terrence 2015-07-30 10:55:52 +01:00
Jon Coppeard
81cbb1f051 Bug 1188408 - Rearrange relocation overlay so we don't change object group during compacting r=terrence 2015-07-30 10:55:51 +01:00
Jon Coppeard
60e23a7361 Bug 1188408 - Factor out functions to protect/unprotect pages on different architectures r=terrence 2015-07-30 10:55:51 +01:00
Jon Coppeard
3f7e77bc16 Bug 1155618 - Fix OOM issues related to AsmJS compilation r=terrence r=luke 2015-07-30 10:55:51 +01:00
Terrence Cole
95d0a143d2 Bug 1185106 - Part 1: Exclude StoreBuffer.cpp from unified build to prevent build bustage. r=efaust 2015-07-28 11:48:16 -07:00
Nathan Froyd
16716c50a2 Bug 1188555 - part 2 - remove write-only configure.in variables MKSHLIB_{UN,}FORCE_ALL; r=mshal 2015-07-28 14:08:08 -04:00
Nathan Froyd
7713f24298 Bug 1188555 - part 1 - remove write-only configure.in variable NO_LD_ARCHIVE_FLAGS; r=mshal 2015-07-28 14:07:07 -04:00
Ryan VanderMeulen
fb6b2747d5 Bug 1180017 - Fix up the badly-horked backout and re-land.
CLOSED TREE

--HG--
extra : amend_source : 0b7ac18429b248cf05cfe33f6b2f6efdf1602c38
extra : histedit_source : bdb11dafa100809ec17491e5711fb0b507e023c6%2C5e4134650a804859dc8b3078688fa4655052263f
2015-07-29 12:31:47 -04:00
Jim Blandy
0c3022d593 Bug 1180985 - Implement a JS GDB pretty-printer for JS::GCCellPtr. r=sfink 2015-07-06 18:00:02 -07:00
Jim Blandy
805ac8eae4 Bug 1180984 - JS GDB pretty-printers: Support Python 3. r=sfink 2015-07-07 08:35:58 -07:00
Jim Blandy
4e8fc0bdcb Bug 1180017 - Give GCCellPtr is<T> and to<T> methods, replacing isFoo and toFoo methods. Fix callers. r=terrence 2015-07-03 15:06:23 -07:00
Carsten "Tomcat" Book
25a2a75a56 Backed out changeset 465793bc6fcf (bug 1180017) for suspicion of causing bug 1188799 2015-07-29 15:27:12 +02:00
Carsten "Tomcat" Book
3f86b89c01 Backed out changeset c10672836664 (bug 1180984) 2015-07-29 15:26:17 +02:00
Carsten "Tomcat" Book
2b2184326d Backed out changeset e50e7d030a33 (bug 1180985) 2015-07-29 15:26:12 +02:00
Mike Kaply
68b080c7c5 Bug 1152512 - Use the latest JavaScript version when parsing AutoConfig files. r=mrbkap
--HG--
extra : rebase_source : 4527671894b43e60e16d4b6be5e6af55b68b6ebe
2015-07-28 13:57:55 -05:00
Johannes Schulte
ab384724ae Bug 1038859 - Add symbol-support to Baseline GetElem ICs. r=djvj 2015-04-07 17:49:36 +02:00
Hannes Verschore
78d5d7d803 Bug 1186271: IonMonkey: Honor truncated flag during folding of binary operations, r=nbp 2015-07-29 09:10:08 +02:00
Nick Fitzgerald
3d6e229b53 Bug 1136806 - Fix assertion failure with Debugger and oomAfterAllocations; r=shu 2015-07-28 23:00:09 -07:00
Jim Blandy
d6552638ae Bug 1180985: Implement a JS GDB pretty-printer for JS::GCCellPtr. r=tromey
--HG--
extra : rebase_source : 3099fcc047e75c9247b92d50294350740ca69cc5
2015-07-06 18:00:02 -07:00
Jim Blandy
6ca6aa7a1d Bug 1180984: JS GDB pretty-printers: Support Python 3. Fix 'Rooted' bitrot. r=sfink
--HG--
extra : rebase_source : ba778f166d63aae2862f02e45c984f8228fde851
2015-07-28 16:32:48 -07:00
Jim Blandy
ff7cc06ef6 Bug 1180017: Give GCCellPtr is<T> and as<T> methods, replacing isFoo and toFoo methods. Fix callers. r=terrence
--HG--
extra : rebase_source : 4a381c5d8427ad2995426e65c69af1597b1557c2
2015-07-07 09:52:01 -07:00
Spenser Andrew Bauman
eb06b5c771 Bug 1187511 - IonMonkey: Make use of callsite type information when refining |this| parameter. r=jandem 2015-07-28 10:33:00 -04:00
Wes Kocher
2bfa537c29 Backed out 5 changesets (bug 1167409) for mochitest chrome failures in test_settings_service.xul CLOSED TREE
Backed out changeset 08653d62e6c0 (bug 1167409)
Backed out changeset 211b839cfcda (bug 1167409)
Backed out changeset 4264d30f4b03 (bug 1167409)
Backed out changeset 95a7f1251dd4 (bug 1167409)
Backed out changeset b88cb51c1f77 (bug 1167409)
2015-07-28 15:45:39 -07:00
Kannan Vijayan
ea3bc8f41c Bug 1167409 - 5/5 - Initialize ScriptSourceObject even when off-main-thread compilation fails. r=jandem 2015-07-28 17:03:57 -04:00
Kannan Vijayan
e4afad4778 Bug 1167409 - 4/5 - Off-thread compile blocking scripts. r=smaug 2015-07-28 17:03:56 -04:00
Andrew McCreight
6e8552d49a Bug 1185527 - Split out a refcountless base class for nsScriptError. r=gabor
This avoids shadowing the refcount if nsScriptErrorWithScript inherited from nsScriptError.
2015-07-28 16:51:10 -04:00
Nick Fitzgerald
0b8a936ed9 Bug 1028418 - Part 7: Tests for caching edge cases; r=shu 2015-07-28 13:04:56 -07:00
Nick Fitzgerald
bf43a97b2c Bug 1028418 - Part 6: Fix GC + SavedFrame test that made assumptions that are no longer true; r=shu 2015-07-28 13:04:56 -07:00
Nick Fitzgerald
c014d4c6dc Bug 1028418 - Part 5: Minimize stack walking when capturing SavedFrame stacks with a cache; r=shu 2015-07-28 13:04:56 -07:00
Nick Fitzgerald
871954ed90 Bug 1028418 - Part 4: Fix whitespace alignment in the InterpreterFrame::Flags enum; r=me 2015-07-28 13:04:56 -07:00
Nick Fitzgerald
9913ef1d50 Bug 1028418 - Part 3: Take a bit on each of interpreter, baseline, and rematerialized frames for marking whether there is a js::SavedFrame for the given frame in the js::SavedStacks cache; r=shu 2015-07-28 13:04:56 -07:00
Nick Fitzgerald
15cabfd452 Bug 1028418 - Part 2: Make the BaselineFrame::Flags enum typed the way it is used; r=shu 2015-07-28 13:04:56 -07:00
Nick Fitzgerald
732bacd77d Bug 1028418 - Part 1: Make the InterpreterFrame::Flags enum typed the way it is used; r=shu 2015-07-28 13:04:56 -07:00
Nick Fitzgerald
1b95f69ccc Bug 1028418 - Part 0: Fix typo in js/src/vm/Stack.h; r=me 2015-07-28 13:04:56 -07:00
Boris Zbarsky
7f23917eb0 Bug 1176568. Fix the proto cycle checking to work correctly for inner/outer globals. r=waldo 2015-07-28 12:38:26 -04:00
Terrence Cole
31d9fa3fe0 Bug 1188129 - Use a universal constructor to create and init PersistentRooted; r=jonco
--HG--
extra : rebase_source : 73ef9f22833f266a2f3978f0875728fc42fd2a61
2015-07-24 15:08:09 -07:00
Terrence Cole
a4087728b5 Bug 1188124 - Use rootKind to select the right PersistentRooted list head; r=sfink
--HG--
extra : rebase_source : 8f2df6b63bddaac62e2b9def8564432625efaaaf
2015-07-23 14:05:53 -07:00
Terrence Cole
a161a3e370 Bug 1187985 - Make PersistentRooted use rootKind to find its lists; r=sfink
--HG--
extra : rebase_source : 8bb85ef62332c50e1be3d6544a91521b635666ea
2015-07-23 08:19:08 -07:00
Carsten "Tomcat" Book
ce5ca9b688 Backed out changeset 0afe24f16cf4 (bug 1152512) for bustage 2015-07-28 14:38:01 +02:00
Mike Kaply
1acb520ff0 Bug 1152512 - Use the latest JavaScript version when parsing AutoConfig files. r=mrbkap 2015-07-28 07:13:26 -05:00
Xi Yang
ab766dff4e Bug 1090695 - Reduce indent in Parser<ParseHandler>::expr. r=arai 2015-07-27 22:48:50 +08:00
Wes Kocher
8c8c620553 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
Mariusz Kierski
c897d05bdb Bug 1135708 - Implement es7 exponentiation operator. (r=efaust, f=jandem)
* * *
Bug 1135708 - Followup: Fix a few warnings-as-errors related build problems on a CLOSED TREE. (rs=Waldo)
2015-07-27 13:21:11 -07:00
Nick Fitzgerald
7b4828fcdf Bug 1028418 - Part 7: Tests for caching edge cases; r=shu 2015-07-27 16:33:34 -07:00
Nick Fitzgerald
47c99b513c Bug 1028418 - Part 6: Fix GC + SavedFrame test that made assumptions that are no longer true; r=shu 2015-07-27 16:33:34 -07:00
Nick Fitzgerald
0d13e50daf Bug 1028418 - Part 5: Minimize stack walking when capturing SavedFrame stacks with a cache; r=shu 2015-07-27 16:33:34 -07:00
Nick Fitzgerald
b14b62b41c Bug 1028418 - Part 4: Fix whitespace alignment in the InterpreterFrame::Flags enum; r=me 2015-07-27 16:33:34 -07:00
Nick Fitzgerald
2aa99a0d31 Bug 1028418 - Part 3: Take a bit on each of interpreter, baseline, and rematerialized frames for marking whether there is a js::SavedFrame for the given frame in the js::SavedStacks cache; r=shu 2015-07-27 16:33:34 -07:00
Nick Fitzgerald
35403e6c00 Bug 1028418 - Part 2: Make the BaselineFrame::Flags enum typed the way it is used; r=shu 2015-07-27 16:33:34 -07:00
Nick Fitzgerald
faccf78e75 Bug 1028418 - Part 1: Make the InterpreterFrame::Flags enum typed the way it is used; r=shu 2015-07-27 16:33:34 -07:00
Nick Fitzgerald
3f547195c0 Bug 1028418 - Part 0: Fix typo in js/src/vm/Stack.h; r=me 2015-07-27 16:33:34 -07:00
Wes Kocher
9c5c217c21 Backed out changeset e01d0f7a3c6f (bug 1135708) for spidermonkey errors CLOSED TREE 2015-07-27 15:22:40 -07:00
Wes Kocher
f29d04329b Backed out changeset 43e7461188dc (bug 1135708) 2015-07-27 15:22:07 -07:00
Eric Faust
499c01e9ed Bug 1135708 - Followup: Fix a few warnings-as-errors related build problems on a CLOSED TREE. (rs=Waldo) 2015-07-27 13:44:44 -07:00
Mariusz Kierski
c049301781 Bug 1135708 - Implement es7 exponentiation operator. (r=efaust, f=jandem) 2015-07-27 13:21:11 -07:00
Ryan VanderMeulen
23b78d739f Merge m-c to inbound. a=merge 2015-07-27 15:47:22 -04:00
Ryan VanderMeulen
01499c3bc0 Merge inbound to m-c. a=merge 2015-07-27 15:34:42 -04:00
Giovanny Andres Gongora Granada
2e800a3fea Bug 1150312 - Remove MOZ_SHARK. r=glandium 2015-07-23 18:16:00 -04:00
Terrence Cole
2d1b08315d Bug 1184578 - Fix the nursery profiling print statement; r=sfink
--HG--
extra : rebase_source : 6055de874a25cece5beedcbe9ae66ed40440ed93
2015-07-16 08:36:35 -07:00
Tom Tromey
9f3b16bf4c Bug 1148593 - Create async stack in callback objects. r=bz, r=fitzgen
--HG--
extra : rebase_source : f9b507d8f005dbca6f40f510ca41a0cbb03aebf9
2015-07-24 07:01:00 -04:00
Nick Fitzgerald
3bc1833993 Bug 1187399 - Add a js::DefaultHasher specialization for mozilla::UniquePtr<T> that proxies the UniquePtr's raw pointer to PointerHasher. r=terrence
--HG--
extra : rebase_source : 86db93fe0874c21792554ad000d94939148ea4c6
2015-07-24 10:42:00 -04:00
David Rajchenbach-Teller
7538ba910f Bug 1147664 - Detailed mode for PerformanceStats (low-level). r=jandem
--HG--
extra : transplant_source : %BC%A9%AA%3C%1B%9A1%CCh%08%96%C0q%EB%E4%3C%9C%99%9B%C0
2015-06-10 15:56:19 +02:00
Jeff Walden
428c85cacc Bug 1183400 - Fold increment/decrement operations by kind. r=efaust
--HG--
extra : rebase_source : 53dfa16fe4016cca85eddafa43f7654839daf41d
2015-06-05 12:41:34 -07:00
Jeff Walden
2607f34b05 Bug 1183400 - Pass a Parser reference to Fold, not separate handler/options, preparing for another patch that wants to have access to a parser instance. r=efaust
--HG--
extra : rebase_source : 6a9e6a5c5b7cee3cee8deed97edaca32c25bfbab
2015-05-28 13:47:54 -07:00
Jeff Walden
9ffd11a1f7 Bug 1183400 - Fold !/~/+/- by kind. r=efaust
--HG--
extra : rebase_source : b22f1a97011aaca271d54c63d8ff5b85e8b910e6
2015-05-22 19:02:41 -07:00
Andrew McCreight
95bead4668 Bug 1187410 - Use GetNameShared() in XPCNativeInterface::NewInstance() to avoid a leak. r=mrbkap
GetName() returns a new string, but that string is never freed.

This patch avoids the leak by not copying the string. This is okay because
the scope of intfNameChars is within the scope of aInfo.
2015-07-26 14:26:23 -07:00
Terrence Cole
7248054e9c Bug 1187512 - Fix accumulated unified bustage in SpiderMonkey; r=jonco
--HG--
extra : rebase_source : e0b625a8289cf6986d9f1ff161adac6b1b5fe23c
2015-07-25 15:43:22 -07:00
Jan de Mooij
7e15eabc98 Bug 1187323 - Add some asserts to the assembler's linkJump/nextJump/setNextJump methods. r=nbp 2015-07-25 21:41:10 +02:00
Wes Kocher
9ffc1fbec2 Backed out changeset 8a1df23b6a3f (bug 1187094) for build failures 2015-07-24 12:11:13 -07:00
Sean Stangl
3b6e0b8b2c Bug 1187094 - Move Lowering's visitConstant() to shared code. r=nbp 2015-07-23 15:26:52 -07:00
Steve Fink
1d9965d8ee Bug 1164294 - Move OrderedHashTable to ds/
--HG--
extra : rebase_source : 432263c710eac78b08df3698359faa30b48e3a97
extra : source : 73295b7527cd5a0fcc754620d8f40f78c30bcc85
extra : histedit_source : 42dfcca08c90b95a5fa26185d1dc8823f8231e01
2015-05-12 17:02:10 -07:00
Jon Coppeard
671ebd98de Bug 1182428 - Fix bustage from returning nullptr in bool function r=me on a CLOSED TREE 2015-07-24 13:55:19 +01:00
Jon Coppeard
9a563a0d8f Bug 1182428 - Refactor bytecode compilation r=luke 2015-07-15 11:50:38 +01:00
Bobby Holley
4dac367856 Bug 1186213 - Add an API to deep-freeze the result of Cu.cloneInto. r=gkrizsanits 2015-07-21 14:57:00 +02:00
Spenser Andrew Bauman
82dbe1a919 Bug 1030095 - IonMonkey: When deciding to inline don't check for a common inlining path on the first builder. r=h4writer 2015-07-22 18:12:00 +02:00
Steve Fink
2b769d805b Bug 1186259 - Record the path to GCC to avoid mismatched gcc/plugin versions, r=terrence
--HG--
extra : commitid : AwF7F0XJvv
extra : rebase_source : 678e5719494d0b5f8cb5d396ac0f1159442da1d7
2015-07-23 16:35:08 -07:00
Steve Fink
dcb4db6433 Bug 1182428 - Consider TypeSet stuff to be GCPointers, since they can contain them, r=jonco
--HG--
extra : commitid : AThLO9udO2Y
extra : rebase_source : 0f481fc390d6dfba25c613aac12a628410f19c32
2015-07-14 16:34:48 -07:00
Steve Fink
b1a58dcb14 Bug 1182428 - Fix the ObjectGroup hazards, r=jonco
--HG--
extra : commitid : 87RBt2lJOzb
extra : rebase_source : 00919ace203d0604dc8666f6841959a1153dd577
2015-07-23 13:10:33 -07:00
Steve Fink
cfd09bd6f8 Bug 1182428 - Recognize more rooted type names, r=jonco
--HG--
extra : commitid : 7EiE2xX8BQt
extra : rebase_source : 7a53c758eb19d39463c0664892ad06615fc454c2
2015-07-23 13:09:58 -07:00
Steve Fink
8db3994728 Bug 1182428 - Accept more edge types in edgeCanGC, r=jonco
--HG--
extra : commitid : 6E8adRfKL88
extra : rebase_source : b7c1bb5a0698809a916ddbae2e59d956ccab4fb7
2015-07-23 13:09:40 -07:00
Steve Fink
7fda7ed1f2 Bug 1182428 - Improve naming, r=jonco
--HG--
extra : commitid : DJf4Fed6IcS
extra : rebase_source : 5c647ec9baf626ef46237475dfb4e9d21b1dab11
2015-07-23 13:09:25 -07:00
Steve Fink
0854f14743 Bug 1184199 - Add an explanation only if there is something to explain, r=jonco
--HG--
extra : commitid : ABeyzTPRuce
extra : rebase_source : d7ca70912e6c5e1edaa313651ac9233318c1df66
2015-07-23 13:09:11 -07:00
Steve Fink
798b7bf08b Bug 1184199 - Use a Map instead of a plain object to avoid the "constructor" property, r=jonco
--HG--
extra : commitid : C4mNPyL6sQC
extra : rebase_source : 1fceec4e2c1a1a8b12afa1a1770309775c2da9bb
2015-07-23 13:08:59 -07:00
Terrence Cole
1f5f61c880 Bug 1186626 - Use Rooted to root the ShapeVectors in ScopeObject; r=efaust 2015-07-23 08:19:08 -07:00
Terrence Cole
336468bba6 Bug 1186626 - Use Rooted to root SelfHosting's ShapeVectors; r=till 2015-07-23 08:19:08 -07:00
Terrence Cole
d6b7f803c0 Bug 1186626 - Use Rooted to root for BaselineIC's ShapeVector; r=jandem 2015-07-23 08:19:07 -07:00
Terrence Cole
3bf3ea9a23 Bug 1186609 - Implement a DynamicTraceable Vector subclass for use with Rooted; r=sfink 2015-07-23 08:19:07 -07:00
Terrence Cole
f0591ea02e Bug 1186156 - Move the PersistentRooted list heads into RootLists; r=sfink 2015-07-09 14:13:10 -07:00
Mike Shal
24e2d353b1 Bug 1186243 - Remove references to setup.sh; r=jlund 2015-07-23 09:18:49 -04:00
Andrew McCreight
13e2d3a560 Bug 931571, part 13 - Add a destructor for nsDiscriminatedUnion. r=froydnj
The existing nsDiscriminateUnions either always call Cleanup() when they
are about to go away, or they only handle scalar values so it is safe to
call Cleanup() on them without worrying about another discriminated union
having taken over any memory owned by this union.
2015-07-23 12:28:30 -07:00
Andrew McCreight
0994e4e4ed Bug 931571, part 12 - Add nsDiscriminatedUnion::GetType(). r=froydnj
This is not quite enough to make the data members private because
XPCVariant pokes around to do some JS array stuff.
2015-07-23 12:28:30 -07:00
Andrew McCreight
4bdbcd2020 Bug 931571, part 11 - Turn nsDiscriminatedUnion's Traverse function into a method. r=froydnj 2015-07-23 12:28:30 -07:00
Andrew McCreight
cb922209d3 Bug 931571, part 9 - Turn most of the nsVariant setters into nsDiscriminated methods. r=froydnj
This also adds a new nsDiscriminatedUnion method SetFromDOMString, as somebody added an nsVariant method without the corresponding helper.
2015-07-23 12:28:30 -07:00
Andrew McCreight
8c28737b59 Bug 931571, part 8 - Turn ConvertToISupports, ConvertToInterface and ConvertToArray to methods. r=froydnj 2015-07-23 12:28:30 -07:00
Andrew McCreight
219f81d45f Bug 931571, part 7 - Turn ConvertTo*String and ToString into methods. r=froydnj 2015-07-23 12:28:30 -07:00
Andrew McCreight
83b488957d Bug 931571, part 6 - Make ConvertToID and String2ID into methods. r=froydnj 2015-07-23 12:28:30 -07:00
Andrew McCreight
6c297a19d4 Bug 931571, part 5 - Turn basic ConvertTo functions into methods. r=froydnj 2015-07-23 12:28:30 -07:00
Andrew McCreight
ca92d9ebc0 Bug 931571, part 2 - Convert Cleanup() and FreeArray() to methods. r=froydnj 2015-07-23 12:28:29 -07:00