Commit Graph

40960 Commits

Author SHA1 Message Date
Andrew McCreight
7540a09e15 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
be0e3e91ce Bug 1187512 - Fix accumulated unified bustage in SpiderMonkey; r=jonco 2015-07-25 15:43:22 -07:00
Jan de Mooij
4d61c75f16 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
0bc1227deb Backed out changeset 8a1df23b6a3f (bug 1187094) for build failures 2015-07-24 12:11:13 -07:00
Sean Stangl
cbe8bc1c25 Bug 1187094 - Move Lowering's visitConstant() to shared code. r=nbp 2015-07-23 15:26:52 -07:00
Steve Fink
0d24746c12 Bug 1164294 - Move OrderedHashTable to ds/ 2015-05-12 17:02:10 -07:00
Jon Coppeard
96790045ca 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
a757121fd1 Bug 1182428 - Refactor bytecode compilation r=luke 2015-07-15 11:50:38 +01:00
Bobby Holley
60e84ed187 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
f96fc2dafd 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
5c4f3b904a Bug 1186259 - Record the path to GCC to avoid mismatched gcc/plugin versions, r=terrence 2015-07-23 16:35:08 -07:00
Steve Fink
ccfc718e39 Bug 1182428 - Consider TypeSet stuff to be GCPointers, since they can contain them, r=jonco 2015-07-14 16:34:48 -07:00
Steve Fink
dc3d94ee23 Bug 1182428 - Fix the ObjectGroup hazards, r=jonco 2015-07-23 13:10:33 -07:00
Steve Fink
ea2c66c77c Bug 1182428 - Recognize more rooted type names, r=jonco 2015-07-23 13:09:58 -07:00
Steve Fink
a3a10f1d2f Bug 1182428 - Accept more edge types in edgeCanGC, r=jonco 2015-07-23 13:09:40 -07:00
Steve Fink
48e7b07436 Bug 1182428 - Improve naming, r=jonco 2015-07-23 13:09:25 -07:00
Steve Fink
0d6ee2cf8c Bug 1184199 - Add an explanation only if there is something to explain, r=jonco 2015-07-23 13:09:11 -07:00
Steve Fink
b26a687b58 Bug 1184199 - Use a Map instead of a plain object to avoid the "constructor" property, r=jonco 2015-07-23 13:08:59 -07:00
Terrence Cole
8900d50d7a Bug 1186626 - Use Rooted to root the ShapeVectors in ScopeObject; r=efaust 2015-07-23 08:19:08 -07:00
Terrence Cole
8c154ab6d7 Bug 1186626 - Use Rooted to root SelfHosting's ShapeVectors; r=till 2015-07-23 08:19:08 -07:00
Terrence Cole
aa47715b15 Bug 1186626 - Use Rooted to root for BaselineIC's ShapeVector; r=jandem 2015-07-23 08:19:07 -07:00
Terrence Cole
51342d6752 Bug 1186609 - Implement a DynamicTraceable Vector subclass for use with Rooted; r=sfink 2015-07-23 08:19:07 -07:00
Terrence Cole
20cac448e7 Bug 1186156 - Move the PersistentRooted list heads into RootLists; r=sfink 2015-07-09 14:13:10 -07:00
Mike Shal
b1382ad3dd Bug 1186243 - Remove references to setup.sh; r=jlund 2015-07-23 09:18:49 -04:00
Andrew McCreight
4d7b5da27d 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
6a195e4cef 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
51cea2f479 Bug 931571, part 11 - Turn nsDiscriminatedUnion's Traverse function into a method. r=froydnj 2015-07-23 12:28:30 -07:00
Andrew McCreight
e53e412412 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
12d7da659e Bug 931571, part 8 - Turn ConvertToISupports, ConvertToInterface and ConvertToArray to methods. r=froydnj 2015-07-23 12:28:30 -07:00
Andrew McCreight
fc5c442ba0 Bug 931571, part 7 - Turn ConvertTo*String and ToString into methods. r=froydnj 2015-07-23 12:28:30 -07:00
Andrew McCreight
86c0a53064 Bug 931571, part 6 - Make ConvertToID and String2ID into methods. r=froydnj 2015-07-23 12:28:30 -07:00
Andrew McCreight
b3ac30a78e Bug 931571, part 5 - Turn basic ConvertTo functions into methods. r=froydnj 2015-07-23 12:28:30 -07:00
Andrew McCreight
065193dbb7 Bug 931571, part 2 - Convert Cleanup() and FreeArray() to methods. r=froydnj 2015-07-23 12:28:29 -07:00
Andrew McCreight
a76af36e15 Bug 931571, part 1 - Use a constructor for nsDiscriminatedUnion. r=froydnj 2015-07-23 12:28:29 -07:00
Terrence Cole
a9869f3888 Bug 1186154 - Templatize Rooted's context parameter to reduce copy-and-paste; r=jonco 2015-07-21 12:57:00 -07:00
Terrence Cole
46b8178d31 Bug 1186450 - Fix TraceableHashTable's GC template definitions; r=jonco 2015-07-22 08:32:02 -07:00
Tom Schuster
9fcb5e1fa0 Bug 1083752 - Calling Map/Set/WeakMap (without new) should throw. r=Waldo 2015-07-23 11:37:05 +02:00
Jon Coppeard
5f19b40cd2 Bug 1183324 - Make infinite recursion test faster to fix intermittent timeouts r=terrence 2015-07-23 09:47:09 +01:00
Makoto Kato
ac964e365f Bug 1175413 - Cleanup usages of MOZ_ICU_CFLAGS. r=mshal 2015-07-23 09:53:48 +09:00
Tom Schuster
b0aa6f544f Bug 1186107 - Require curly braces for derived constructors. r=efaust 2015-07-22 21:59:32 +02:00
Shu-yu Guo
2d6b950148 Bug 1182730 - Mark the JitcodeGlobalTable unconditionally when minor collecting. (r=terrence) 2015-07-22 10:49:42 -07:00
Andrew McCreight
5be03712fd Bug 1185744 - Conversion from PersistentRooted to MutableHandle does not check for initialization. r=sfink 2015-07-22 11:31:49 -04:00
Jan de Mooij
4b77f74558 Bug 1182711 - Ensure usesScopeChain_ is true for heavyweight functions. r=bhackett 2015-07-22 13:36:16 +02:00
Benjamin Bouvier
26390d0bc1 Bug 1184887: Add a setARMHwCapFlags testing function for the shell; r=h4writer 2015-07-17 11:24:46 +02:00
Benjamin Bouvier
499c3caae5 Bug 1186226: Odin: determine comparisons' types by looking at both hand sides; r=jandem 2015-07-22 10:11:15 +02:00
Hannes Verschore
a1a9b59dcd Bug 1184945: Increase the default MatchResult size of a regexp, r=bhackett 2015-07-22 10:09:35 +02:00
Nick Fitzgerald
5fbceece26 Bug 1184423 - Properly report OOM when adding a rematerialized frame to the current JitActivation fails; r=shu 2015-07-21 14:27:48 -07:00
Nick Fitzgerald
f2ce90ed4d Bug 1184423 - Properly report OOM when initializing the RematerizedFrameTable fails; r=shu 2015-07-21 14:27:48 -07:00
Sean Stangl
8ce18ee5d0 Bug 1186122 - Part 2/2 - Remove BaselineStackReg from ARM64. r=efaust 2015-07-21 11:56:33 -07:00
Sean Stangl
b21caa0bef Bug 1186122 - Part 1/2 - Remove StackPointer on ARM64. r=efaust 2015-07-21 11:49:13 -07:00