Commit Graph

41152 Commits

Author SHA1 Message Date
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
Terrence Cole
9d7befe005 Bug 1181292 - Make JSPropertyDescriptor a StaticTraceable; r=efaust 2015-07-09 08:45:42 -07:00
Terrence Cole
fe9328a64a Bug 1185755 - Use Rooted to simplify FieldInfoHash rooting; r=jonco 2015-07-20 16:43:50 -07:00
Terrence Cole
363dda256a Bug 1185752 - Part 2: Remove the unused AutoObjectUnsigned32HashMap; r=sfink 2015-07-20 16:43:50 -07:00
Terrence Cole
94cf4c0a92 Bug 1185752 - Part 1: use normal Rooted for CloneMemory; r=sfink 2015-07-20 16:43:50 -07:00
Terrence Cole
56db9931bf Bug 1185790 - Remove move unneeded Unbarriering; r=jonco 2015-07-21 12:54:01 -07:00
Terrence Cole
7f16c8f03f Bug 1185749 - Implement a DynamicTraceable HashMap subclass that can be used with Rooted; r=jonco 2015-07-20 08:20:35 -07:00
Andrew McCreight
9214859718 Bug 1176341 - De-holder nsIXPConnect::CreateSandbox. r=baku,gabor 2015-07-21 11:31:44 -07:00
Ryan VanderMeulen
09933c4462 Backed out changeset 553a3e1e7b18 (bug 1176341) for bustage.
CLOSED TREE
2015-07-21 13:00:55 -04:00
Andrew McCreight
e4b73b7879 Bug 1176341 - De-holder nsIXPConnect::CreateSandbox. r=baku,gabor 2015-07-21 09:44:37 -07:00
Andrew McCreight
ec84671bad Bug 1185144 - nsConsoleService::LogMessageWithMode() should release the retired message on the main thread. r=froydnj
Also, add release asserts that the other methods that addref or release console messages are only run on the main thread.

Finally, add an assert that nsScriptErrorWithStack is only created on the main thread.
2015-07-21 07:50:09 -07:00
Steve Singer
0a8e46ea03 Bug 1185413 - Include BaselineIC.h in SharedIC.cpp. r=nbp 2015-07-20 17:35:00 +02:00
Jon Coppeard
74a190581e Bug 1146213 - Finish ongoing GC before parse task zone becomes a non-exclusive zone again r=bhackett 2015-07-21 11:33:08 +01:00
Jon Coppeard
e4c8259054 Bug 1184191 - Assert in release mode if we reenter the garbage collector r=terrence 2015-07-21 11:33:08 +01:00
Sean Stangl
38bbb6b028 Bug 1185757 - Fix manual manipulation of StackPointer for JSOP_IN. r=efaust 2015-07-20 15:39:21 -07:00
Terrence Cole
d7710c9e72 Bug 1185581 - Fix the spacing around PropertyDescriptors GC methods; r=efaust 2015-07-20 08:37:53 -07:00
Jeff Walden
fcf73dd17d Bug 1183400 - Fold delete nodes by kind. r=efaust 2015-05-22 19:02:41 -07:00
Jeff Walden
759c5ead03 Bug 1183400 - Fold |void <expr>| expressions by kind. r=efaust 2015-05-22 19:02:41 -07:00
Jeff Walden
c74bffb57a Bug 1183400 - Fold typeof nodes by examining their kind. r=efaust 2015-05-22 19:02:41 -07:00
Jeff Walden
03fc19a29d Bug 1183400 - Constant-fold nullary nodes entirely according to their kind, not their arity. r=efaust 2015-05-22 19:02:41 -07:00
Jeff Walden
7afeb54c4f Bug 1183400 - Add a by-kind switch to perform constant-folding and eventually eliminate by-arity handling. r=efaust 2015-05-22 19:02:41 -07:00
Jeff Walden
4f142cbb61 Bug 1185739 - Fix self-comparison warnings in MemoryMetrics.h. r=efaust 2015-07-20 15:17:25 -07:00
Jeff Walden
c680b827b3 Bug 1182373 - Don't constant-fold in the tag component of a tagged-template, because constant-folding evaluates the tag too early (and moght convert a value into a property reference, causing the wrong |this| to be passed). r=jorendorff 2015-07-09 20:10:31 -07:00
Andrew McCreight
13dba4f177 Bug 1185634 - Part 2: Remove obsolete comment. r=gabor 2015-07-20 11:46:00 -04:00
Andrew McCreight
3bb92d1def Bug 1185634 - Part 1: SandboxPrivate shouldn't be public. r=gabor 2015-07-20 11:46:00 -04:00
Nick Fitzgerald
e28fdbf6d3 Bug 1184318 - Use emplaceBack instead of growByUninitialized(1) and placement-new in js/src/jit/MIR.h; r=shu 2015-07-20 11:13:28 -07:00
Nick Fitzgerald
8bc424b2b2 Bug 1184238 - Use emplaceBack instead of growByUninitialized(1) and placement-new in js::SavedStacks; r=shu 2015-07-20 11:13:28 -07:00
Terrence Cole
9f183bbe87 Bug 1181279 - Allow Rooted to handle generic Traceable entries; r=sfink 2015-07-20 07:50:36 -07:00
Terrence Cole
0e5f700558 Bug 1182124 - Remove InternalHandle and its last use; r=bbouvier 2015-07-09 13:35:01 -07:00
Terrence Cole
a5dc97ca18 Bug 1181869 - Update Bindings to use normal Rooted primitives; r=shu 2015-07-09 13:34:50 -07:00
Terrence Cole
2504be4d1b Backed out aae28fa58dda (Bug 1181279) for test bustage. 2015-07-20 08:38:45 -07:00
Terrence Cole
699485ef4e Bug 1181279 - Allow Rooted to handle generic Tracable entries; r=sfink 2015-07-20 07:50:36 -07:00
ProgramFOX
0b19f3f7d5 Bug 1183522 - SIMD: Make toSource use the new capitalization and give it the SIMD prefix. r=bbouvier 2015-07-17 11:58:43 +02:00
Brian Hackett
919feb5025 Bug 1183375 - Cope with constant objects that are in the nursery when the code is initially compiled. r=jandem 2015-07-20 10:27:51 -04:00
Benjamin Bouvier
7ea9112614 Bug 1184597: Remove redundant condition checking; r=efaust 2015-07-17 12:24:51 +02:00
Andrew McCreight
e43fb0894e Bug 1185056 - Use the normal CC macros for XPCWrappedNative. r=smaug 2015-07-17 14:14:00 +02:00
Tom Schuster
50aac58d0e Bug 1049662 - Update ES6 scripted proxies ownKeys trap to ES6 final. r=efaust 2015-07-20 11:19:51 +02:00
Jan de Mooij
5bf23589af Bug 1184564 part 5 - Remove jsval typedef. r=jorendorff 2015-07-19 00:01:37 +02:00
Jan de Mooij
fd21120a21 Bug 1184564 part 4 - Use Value instead of jsval in SpiderMonkey. r=evilpie 2015-07-18 21:45:35 +02:00
Jan de Mooij
3ca7539543 Bug 1184564 part 3 - Use Value instead of jsval in CTypes. r=arai 2015-07-18 21:45:35 +02:00
Jan de Mooij
a7ae949817 Bug 1184564 part 1 - Use Value instead of jsval in XPConnect. r=bholley 2015-07-18 21:45:35 +02:00
Daniel Holbert
a6c14d04b5 Bug 1185104: Move MOZ_WARN_UNUSED_RESULT to the beginning of function-decls (where it's supposed to be) in jsfriendapi.h. r=tromey 2015-07-17 16:11:10 -07:00
Terrence Cole
98fb42de53 Backout d588ff0a68d9 (Bug 1181869) for probably regressing Splay and others. 2015-07-17 15:08:04 -07:00
Terrence Cole
68077ba783 Backout 73d2c854d770 (Bug 1182124) for being on top of a suspected regression. 2015-07-17 14:02:46 -07:00
Tom Schuster
52d9ac416d Bug 1180184 - Support JSOP_TOSTRING used by template strings in baseline JIT. r=jandem 2015-07-17 23:52:29 +02:00
Terrence Cole
dbb3923fd2 Bug 1182658 - Add TraceNullableRoot and use it to simplify RootedMarking; r=jonco 2015-07-15 16:42:32 -07:00
Nicolas B. Pierron
8042c13cf0 Bug 1138693 - Add comments and test. r=jandem 2015-07-17 19:38:57 +02:00
Terrence Cole
1da3f9c725 Bug 1184393 - Rename some js shell test variables for better readability; r=sfink 2015-07-17 08:05:59 -07:00
Terrence Cole
066c3b5878 Backed out changeset 719d9b099457 (Bug 1182658) for misc regressions. 2015-07-17 07:57:38 -07:00
Brian Hackett
fff928dd10 Bug 1183480 - Return old timeout value in setScriptTimeout(), r=bholley. 2015-07-17 09:45:08 -07:00
Ryan VanderMeulen
9f708a5c1b Backed out changesets fa9fe193778f and 3eaf867930dd (bug 1148593) for test_async_setTimeout_stack.html and test_async_setTimeout_stack_across_globals.html failures. 2015-07-17 12:37:24 -04:00
Brian Hackett
6093e0e569 Bug 1172895 - Handle chains of if/else statements without overrecursing in the parser and bytecode emitter, r=jorendorff. 2015-07-17 09:26:51 -07:00
Tom Tromey
2e72ef5901 Bug 1148593 - Create async stack in callback objects. r=bz, r=fitzgen 2015-07-17 07:48:00 -04:00
Jan de Mooij
da8e291e1f Bug 1177892 part 6 - Remove UINT_TO_JSVAL. r=evilpie 2015-07-17 11:51:54 +02:00
Jan de Mooij
a2a69229c8 Bug 1177892 part 5 - Remove DOUBLE_TO_JSVAL. r=evilpie 2015-07-17 11:51:52 +02:00
Benjamin Bouvier
af7f925ad0 Bug 1183051: Fix register allocations of Atomics callouts on arm vfp; r=h4writer 2015-07-15 15:55:05 +02:00
Benjamin Bouvier
90568a475d Bug 1182647: Move setGCCallback to TestingFunctions.cpp; r=sfink 2015-07-16 21:17:41 +02:00
Kyle Huey
8d64b08b31 Bug 1182316: Part 3 - Add assertions to most other WebIDL entry points, clean up nsIDOMJSWindow cruft. r=peterv 2015-07-16 22:10:35 -07:00
Andrew McCreight
171aaed456 Bug 1184400, part 3 - Use HasExternalReference in XPCWrappedNative::Traverse. r=bholley
This is just for consistency.
2015-07-16 17:50:43 -07:00
Andrew McCreight
b8c00be2a6 Bug 1184400, part 2 - XPCWrappedNative::Suspect() should suspect the JS reflector object even if it doesn't own it. r=bholley 2015-07-16 17:50:43 -07:00
Andrew McCreight
2aefec9197 Bug 1184400, part 1 - Make XPCJSRuntime::SuspectWrappedNative into a method on XPCWrappedNative. r=bholley 2015-07-16 17:50:43 -07:00
Andrew McCreight
90d930f666 Bug 1184630 - Remove the unused XPCWrappedNative::LocateTearOff(). r=gabor
Also, remove some redundant access specifiers in XPCWrappedNative.
2015-07-16 17:50:43 -07:00
Ryan VanderMeulen
84f80b7f6f Backed out changeset 0dca237df7e2 (bug 1160307) for causing bug 1184752. 2015-07-16 20:38:13 -04:00
Terrence Cole
7c80fb84bb Bug 1150349 - Update the zone triggers when updating GC parameters; r=jonco 2015-07-08 10:32:55 -07:00
Jason Orendorff
8bd9665faf Bug 1178932 - Implement Reflect.construct. r=Waldo. 2015-06-16 13:04:27 -05:00
Jason Orendorff
9a8b8b6d21 Bug 987514, part 4 - Implement most of the standard Reflect methods. r=Waldo.
Reflect.construct will be added in bug 1178932.

Reflect.enumerate is not implemented because we do not implement the underlying internal method to spec yet.
2014-11-05 00:32:29 -06:00
Jason Orendorff
6a182da326 Bug 987514, part 3 - Make every global have a (usually empty) Reflect object; rename JS_InitReflect -> JS_InitReflectParse. r=Waldo.
The bit in MIRGenerator.h fixes a straight-up bug in the code, masked until now by unified builds (and unmasked because this patch adds a .cpp file, perturbing the unified build boundaries).
2014-11-04 21:41:43 -06:00
Jason Orendorff
271da49837 Bug 987514, part 2 - Rename jsreflect.cpp -> builtin/ReflectParse.cpp. r=Waldo. 2014-11-21 16:24:37 -06:00
Jason Orendorff
7f701b889f Bug 987514, part 1 - Move the contents of jsreflect.h into the sole file that includes it (jsreflect.cpp). No change in behavior. r=Waldo. 2014-11-04 18:58:48 -06:00
Nick Fitzgerald
73f7563dd2 Bug 1182104 - Part 4: Consolidate CCW root tracing for per-zone GCs into a single method. r=jonco 2015-07-15 10:52:00 -04:00
Nick Fitzgerald
db71f94c51 Bug 1182104 - Part 3: Consolidate CCW edge fixing after a moving gc into a single method. r=jonco 2015-07-14 19:17:00 -04:00
Nick Fitzgerald
684b9abf5a Bug 1182104 - Part 2: Consolidate JSCompartment roots tracing within JSCompartment::traceRoots. r=jonco 2015-07-14 19:16:00 -04:00
Nick Fitzgerald
4d138ad212 Bug 1182104 - Part 1: s/mark/trace/ on relevant JSCompartment methods. r=jonco 2015-07-13 14:33:00 -04:00
Tom Tromey
e447790176 Bug 1160307 - Capture async stack frames on Javascript timeline markers. r=fitzgen, r=smaug, r=Paolo 2015-07-15 12:15:00 -04:00
Spenser Andrew Bauman
92c1f56d86 Bug 1030095 - Remove restriction on inlining recursive calls. r=hv1989 2015-07-14 09:36:00 -04:00
Terrence Cole
38a8d71672 Bug 1182658 - Add TraceNullableRoot and use it to simplify RootedMarking; r=jonco 2015-07-15 16:42:32 -07:00
Terrence Cole
711c7afdfe Bug 1182124 - Remove InternalHandle and its last use; r=bbouvier 2015-07-09 13:35:01 -07:00
Terrence Cole
b9761f5d9a Bug 1181869 - Update Bindings to use normal Rooted primitives; r=shu 2015-07-09 13:34:50 -07:00
Terrence Cole
5ca65150aa Bug 1181862 - We no longer need Rooted<TypeSet::Type>; r=bhackett 2015-07-09 13:34:42 -07:00
Bobby Holley
86db3e09b1 Bug 1184382 - Handle a sandboxPrototype we don't subsume. r=gabor 2015-07-16 11:24:18 -07:00
Ryan VanderMeulen
18fc5e2d83 Backed out changeset 085f96014278 (bug 1171586) for SM permafails. 2015-07-16 08:13:31 -04:00
Jan de Mooij
3e4c1d911a Bug 1180211 - Don't emit bytecode for empty strings in emitTemplateString. r=jorendorff 2015-07-16 12:36:27 +02:00
Eric Rahm
f27a924002 Bug 1171586 - Remove for-each-in from regress-476427.js. r=waldo 2015-07-15 20:28:07 -07:00
Daniel Holbert
8f357517b9 Bug 814497 followup: Add missing 'override' keyword to nsScriptErrorWithStack method 'GetStack'. rs=ehsan 2015-07-15 17:23:53 -07:00
Bobby Holley
381fcd47db Bug 1182357 - Implement support for optional size_is for arrays passed from JS. r=mrbkap
The fact that the caller needs to pass this is just an artifact of the clunky
XPIDL type system. This should let us make nicer APIs.
2015-07-15 16:59:08 -07:00
Sean Stangl
a098f17c12 Bug 1184349 - Add lr to SavedNonVolatileRegisters on ARM64. r=efaust 2015-07-15 15:27:41 -07:00
Wes Kocher
8b2305a49c Merge m-c to inbound, a=merge CLOSED TREE 2015-07-15 16:41:49 -07:00
Wes Kocher
c0dd754465 Merge fx-team to central, a=merge 2015-07-15 16:33:58 -07:00
Ryan VanderMeulen
5802f455b1 Merge m-c to fx-team. a=merge 2015-07-15 13:30:09 -04:00
Alexandre Poirot
88e9470ef7 Bug 814497 - Fix nsScriptErrorWithStack constructor. r=ehsan 2015-07-15 09:58:26 -07:00
Nicolas B. Pierron
435ef0ddcd Bug 1182060 - IsObjectEscaped: Handle UnboxedPlainObject in guard shape. r=bhackett 2015-07-15 20:40:03 +02:00
Bobby Holley
8eacdaee29 Bug 1182409 - Add 'allowWaivers' sandbox option. r=gabor 2015-07-15 11:32:30 -07:00
Jan de Mooij
3103c8e33d Bug 1180049 - Add OOM check in MNewArray constructor. r=bhackett 2015-07-15 19:11:55 +02:00
Jan de Mooij
a4611fd7b1 Bug 1143679 followup - Add testcase. r=me 2015-07-15 19:09:02 +02:00
Jan de Mooij
95a50983a0 Bug 1160884 followup - Add testcase. r=me 2015-07-15 19:08:31 +02:00
Carsten "Tomcat" Book
5f62804f5e Backed out changeset 999b9a743bed (bug 1182428) for hazard failures on a CLOSED TREE 2015-07-15 16:51:57 +02:00
Jon Coppeard
7f9a5c8721 Bug 1183289 - Partially revert previous patch so jstests get run with default jitflags only r=me 2015-07-15 13:51:00 +01:00
Jon Coppeard
05e7622943 Bug 1182428 - Refactor bytecode compilation r=luke 2015-07-15 11:50:38 +01:00
Jon Coppeard
ad8c102dfc Bug 1165054 - Fix inbound bustage due to missing explicit on single arg constructor r=me 2015-07-15 11:27:27 +01:00
Jon Coppeard
ebe3f4a344 Bug 1182104 - Refactor code for sweeping a compartment after minor GC r=terrence 2015-07-15 10:22:04 +01:00
Jon Coppeard
80846c3d4e Bug 1165054 - Add API to clear postbarrier callbacks and use it when CPOW tables are destroyed r=terrence 2015-07-15 10:22:04 +01:00
Jon Coppeard
c40335510e Bug 1183289 - Run fewer CGC tests r=sfink 2015-07-15 10:22:04 +01:00
Jon Coppeard
f1870a631e Bug 1183560 - Add an option to jstests to run tests repeatedly r=terrence 2015-07-15 10:22:04 +01:00
Brian Hackett
42223df470 Bug 1180990 - Add checks for nursery objects when building MIR. r=jandem
CLOSED TREE
2015-07-14 17:11:46 -04:00
Brian Hackett
09fbca488a Bug 1182092 - Try harder to filter out template shapes with indexed properties when making unboxed objects, r=jandem. 2015-07-14 12:16:44 -07:00
Sean Stangl
7e1e6b57a6 Bug 1183308 - Fix ARM64 bustage from Bug 1141986. r=efaust 2015-07-13 12:51:33 -07:00
Sean Stangl
2e939842eb Bug 1181348 - Fix ARM64 toggledCall() under debug mode. r=djvj 2015-07-06 14:41:49 -07:00
Brian Hackett
81d210835a Bug 1175165 - Fix build break on a CLOSED TREE. 2015-07-14 09:25:10 -07:00
Brian Hackett
2d4031de51 Bug 1175165 - Eagerly analyze large array literals to see if an unboxed representation can be used, r=jandem. 2015-07-14 09:02:15 -07:00
Jan de Mooij
bef4fb3013 Bug 1177922 - Fix a bogus assert on OOM in markSafepointAt. r=nbp 2015-07-14 11:12:09 +02:00
Jan de Mooij
473698deac Bug 1183191 followup - Always null script_ in AutoDelazify::dropScript. r=me 2015-07-14 11:12:02 +02:00
Jon Coppeard
c7b05799e1 Bug 1171909 - Check for alloc failure initializing AssemblerBufferWithConstantPools and update error handling ExceptionHandlerBailout r=jandem 2015-07-13 11:31:20 +01:00
Nicholas Nethercote
3a776e8b2d Bug 1181452 - Add memory reporting infrastructure for Servo to SpiderMonkey. r=till.
Basically, this change is all about aggregating SpiderMonkey's fine-grained
measurements into the new set of coarse-grained measurements, called
ServoSizes (which is similar to the existing TabSizes). The change utilizes and
extends the existing macro machinery to do this in a way that has some chance
to maintaining correctness over the long-term despite the fact that this code
is so fiddly.
2015-07-07 23:18:44 -07:00
Nick Fitzgerald
4e5929bd0f Bug 1180763 - Part 2: Test the size property of entries in the tenure promotions log; r=sfink 2015-07-13 20:20:29 -07:00
Nick Fitzgerald
38b909f9c6 Bug 1180763 - Part 1: Add the size of the tenured object to the tenure promotions log entry; r=sfink 2015-07-13 20:20:29 -07:00
Nick Fitzgerald
741a23f13c Bug 1180763 - Part 0: Document the size property of entries in the tenure promotions log; r=sfink 2015-07-13 20:20:29 -07:00
Nick Fitzgerald
ddee007ca8 Bug 1180536 - Use mozilla::ScopeExit to clean up Debugger::addDebuggeeGlobal's consistency on failure; r=sfink 2015-07-13 20:20:29 -07:00
Jan de Mooij
cea5e2e24a Bug 1183191 followup - Fix AutoDelazify to not enter the self-hosting compartment, it can race. r=shu CLOSED TREE 2015-07-13 22:52:34 +02:00
Alexandre Poirot
df80760c29 Bug 814497 - Pass SavedFrame from JS::ErrorObject to nsIScriptError. r=bholley 2015-07-09 07:02:00 -04:00
Jason Orendorff
ba15d156e9 Bug 1170307 - Inline the common path of NonNullObject; use it instead of ReportObjectRequired in the Debugger. r=shu. 2015-03-01 06:47:07 -06:00
Jason Orendorff
b678b7d13d Bug 1171036 - Change GetLengthProperty slow path to use ToLengthClamped instead of ToUint32. r=Waldo. 2015-06-03 10:01:45 -05:00
Jason Orendorff
19b3dbec8d Bug 1170216 - When using the slow-and-standard path in js::SetIntegrityLevel, don't manually call setNonwritableArrayLength afterwards. r=Waldo. 2015-06-01 12:01:02 -05:00
Jan de Mooij
dfe73655e1 Bug 1183191 - Avoid relazification in CloneFunctionAndScript, to fix a sudden cgc orange on a CLOSED TREE. r=shu 2015-07-13 19:28:23 +02:00
ProgramFOX
2c885537c1 Bug 1123383 - SIMD (interpreter): remove Clamp. r=bbouvier
CLOSED TREE
2015-07-13 12:36:53 -04:00
Birunthan Mohanathas
e52329c788 Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Jon Coppeard
ed3209e821 Backed out changeset afb1f49458db (bug 1171909) for SM(arm) errors 2015-07-13 14:26:01 +01:00
Carsten "Tomcat" Book
8d0b31cb6d Backed out changeset 3054f69fb5a1 (bug 1123383) for sm cgc failures 2015-07-13 15:19:47 +02:00
Jon Coppeard
8de5959976 Bug 1182428 - Refactor common trace logging code in bytecode compiler r=luke 2015-07-13 11:31:20 +01:00
Jon Coppeard
676d9ffdfd Bug 1171909 - Check for alloc failure initializing AssemblerBufferWithConstantPools and update error handling ExceptionHandlerBailout r=jandem 2015-07-13 11:31:20 +01:00
Tooru Fujisawa
ee75b8af17 Bug 1172453 - Use TypedOrValueRegister instead of ConstantOrRegister in GetElementIC. r=jandem 2015-07-13 19:29:07 +09:00
Nicolas B. Pierron
9123e1f49e Bug 1181558 part 1 - Share the machine state between all SnapshotIterators of the same InlineFrameIterator. r=jandem 2015-07-13 12:24:52 +02:00
Nicolas B. Pierron
05c023ad66 Bug 1181558 part 0 - Remove unused SnapshotIterator constructor. r=jandem 2015-07-13 12:24:51 +02:00
ProgramFOX
596882cc85 Bug 1123383 - SIMD (interpreter): remove Clamp. r=bbouvier 2015-07-11 18:06:46 +02:00
Nick Fitzgerald
8758e615f6 Bug 1169710 - Part 5: Fix a GC hazard and properly mark cross compartment edges in the tenure promotions log; r=sfink,jonco 2015-07-10 19:14:09 -07:00
Nick Fitzgerald
bbb9205645 Bug 1169710 - Part 4: Test the tenuring log; r=sfink 2015-07-10 19:14:09 -07:00
Nick Fitzgerald
d1a1a41f90 Bug 1169710 - Part 3: Expose the tenure promotions log on Debugger.Memory; r=sfink 2015-07-10 19:14:09 -07:00
Nick Fitzgerald
2f2addf967 Bug 1169710 - Part 2: Add Debugger infrastructure for logging promotions to the tenured heap; r=sfink 2015-07-10 19:14:08 -07:00
Nick Fitzgerald
4a01111e43 Bug 1169710 - Part 1: Debugger should maintain a set of debuggee zones and Zones should maintain a list of debuggers; r=sfink 2015-07-10 19:14:08 -07:00
Nick Fitzgerald
bcd44deb61 Bug 1169710 - Part 0: Document the Debugger.Memory's tenure promotions log; r=sfink 2015-07-10 19:14:08 -07:00
Mike Hommey
9ff75a520e Fixup for bug 1182407 for mozharness jobs that still use setup.sh.* files directly on a CLOSED TREE. r=mshal 2015-07-11 06:59:59 +09:00
Mike Hommey
b6f44982e6 Bug 1182407 - Use unpack feature of tooltool wherever possible. r=mshal 2015-07-11 06:26:21 +09:00
Terrence Cole
66de0ff16e Bug 1171904 - Remove --enable-js-crash-diagnostics and just use the NIGHTLY defines; r=sfink 2015-07-10 10:50:19 -07:00
Geoff Brown
495b7cbfe1 Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin 2015-07-10 14:41:59 -06:00
Kannan Vijayan
4a1c0d15bf Bug 1180854 - Record and expose Ion IC stub optimization info to Jit Coach. r=shu 2015-07-10 16:35:00 -04:00
Wes Kocher
df5909cdbc Backed out changeset 74293125739a (bug 1176341) 2015-07-10 12:48:20 -07:00
Andrew McCreight
2ed211a7a3 Bug 1176341 - De-holder nsIXPConnect::CreateSandbox. r=baku,gabor 2015-07-10 07:41:33 -07:00
Terrence Cole
d7fa32fc54 Bug 1181799 - Allow use of Rooted with arbitrary, fully static structs; r=sfink 2015-07-09 08:45:40 -07:00
Terrence Cole
dcdae36446 Bug 1181155 - Use a common root list definition between JSContext and JSRuntime; r=jonco 2015-07-07 08:47:09 -07:00
Lars T Hansen
eeaf38d67e Bug 1141986 - Atomics.exchange, stubs for ARM64 and MIPS. r=sstangl, r=rankov 2015-07-10 14:00:28 +02:00
Lars T Hansen
b00aa03db8 Bug 1141986 - Atomics.exchange on integer elements -- asm.js parts. r=bbouvier 2015-07-10 14:00:28 +02:00
Lars T Hansen
afb5784300 Bug 1141986 - introduce a TruncateToInt32 policy. r=h4writer 2015-07-10 14:00:28 +02:00
Lars T Hansen
7380b0bec9 Bug 1141986 - Atomics.exchange on integer elements -- ion parts. r=h4writer r=sstangl 2015-07-10 14:00:28 +02:00
Benjamin Bouvier
155f3ab042 Bug 1155211: Remove selectBits on Float types; r=nbp 2015-07-06 12:41:14 +02:00
Benjamin Bouvier
dfc2148b63 Bug 1155211: Rename bitselect into selectBits; r=nbp 2015-07-06 11:09:33 +02:00
Benjamin Bouvier
6fd354c20a Bug 1155211: Part 3.3 - New tests; r=h4writer 2015-07-09 21:09:27 +02:00
Benjamin Bouvier
a44b5a4448 Bug 1155211: Part 3.2 - Remove lanes getters; r=nbp 2015-07-09 21:24:01 +02:00
Benjamin Bouvier
649e091596 Bug 1155211: Part 3.1 - Update tests for extractLane; r=h4writer 2015-07-09 21:07:20 +02:00
Benjamin Bouvier
5bb69d8b51 Bug 1155211: Part 3.0 - Implement SIMD[type].extractLane; p=flomerz;bbouvier; r=h4writer 2015-07-09 21:07:04 +02:00
Benjamin Bouvier
2e5928dacd Bug 1173722: Part 1 - Capitalize all the SIMD types names; r=nbp 2015-07-09 19:15:24 +02:00
Jeff Walden
ffd45d5a11 Bug 1169639 - Make intrinsicsHolder-accesses fallible, now that it's possible to access it without having previously gone through intrinsics-object creation code to ensure its existence. r=shu 2015-06-08 10:55:53 -07:00
Mauricio Collares Neto
d99c241868 Bug 1182203 - Part 1: Optimize unsigned division by constants. r=sunfish 2015-07-09 11:21:00 +02:00
Mauricio Collares Neto
6b5e90ea78 Bug 1182203 - Part 0: Generalize reciprocal multiplication constant calculation. r=sunfish 2015-07-09 11:19:00 +02:00
Boris Zbarsky
5e8858b2f6 Bug 1180770 part 2. Remove the unused ifaceName/memberName arguments of ThrowMethodFailedWithDetails and rename it to ThrowMethodFailed. r=peterv 2015-07-09 22:51:28 -04:00
Nick Fitzgerald
b01e7bc5e9 Bug 1068988 - Part 4: Fix object-pending-metadata root marking; r=shu 2015-07-09 09:21:16 -07:00
Nick Fitzgerald
cc3335116e Bug 1068988 - Part 3: Document the size property in the allocations log; r=shu 2015-07-09 09:21:16 -07:00
Nick Fitzgerald
a9857c13f8 Bug 1068988 - Part 2: Add a test for byte sizes in the allocations log; r=shu 2015-07-09 09:21:16 -07:00
Nick Fitzgerald
3c7ef23816 Bug 1068988 - Part 1: Add byte size to the allocation log; r=shu 2015-07-09 09:21:16 -07:00
Jan de Mooij
c9bfc60095 Bug 1167883 - Avoid huge stack frames and stack overflow issues with MSVC PGO builds. r=nbp 2015-07-09 11:12:04 +02:00
Brian Hackett
67bce7a6ea Bug 1180608 - Remove bogus assert, r=jandem. 2015-07-09 07:43:42 -07:00
Nicolas B. Pierron
c6b64ed88b Bug 1178772 - Add check_macroassembler_style.py: Verify that each MacroAssembler declaration maps to all its definitions. r=h4writer 2015-07-09 14:35:29 +02:00
Shu-yu Guo
70b1b66aff Bug 1181354 - Account for initaliasedlexical in this one weird const cutout in jit::SetProperty. (r=jandem) 2015-07-09 05:35:44 -07:00
Carsten "Tomcat" Book
52b5ebd4ec Backed out changeset b6c7a3219a97 (bug 1167883) for assertion failures in onEnterFrame-04.js on a CLOSED TREE 2015-07-09 13:08:28 +02:00
Jan de Mooij
7c7eb1700d Backout 596ee431b3d2 (bug 1180874) because of bugs. 2015-07-09 11:24:54 +02:00
Tooru Fujisawa
89c0cfed73 Bug 1181063 - Use mozilla::IsNaN and mozilla::IsInfinite in Simulator-vixl.cpp. r=Waldo, r=sstangl 2015-07-09 18:22:11 +09:00
Jan de Mooij
5e3a8ad03e Bug 1167883 - Avoid huge stack frames and stack overflow issues with MSVC PGO builds. r=nbp 2015-07-09 11:12:04 +02:00
Tooru Fujisawa
e973910f37 Backed out changeset b9b555396153 (bug 1181063) 2015-07-09 17:53:33 +09:00
Tooru Fujisawa
3f6a421004 Bug 1181151 - Fix Registers::GetName typedef issue with clang. r=rankov 2015-07-09 17:26:12 +09:00
Tooru Fujisawa
3bec725281 Bug 1181152 - Make Trampoline-mips.cpp compile with clang. r=rankov 2015-07-09 17:26:12 +09:00
Tooru Fujisawa
8c46222b26 Bug 1181063 - Use mozilla::IsNaN and mozilla::IsInfinite in Simulator-vixl.cpp. r=Waldo, r=sstangl 2015-07-09 17:26:12 +09:00
Jon Coppeard
fac3fdf014 Bug 1181306 - Skip compacting phase when finishing an incremental GC non-incrementally r=terrence 2015-07-09 08:38:00 +01:00
Phil Ringnalda
2b52060034 Back out 6e49d0bf0819 (bug 1169639) for hazard build failures
CLOSED TREE
2015-07-08 19:56:40 -07:00
Jeff Walden
aae494716d Bug 1169639 - Make intrinsicsHolder-accesses fallible, now that it's possible to access it without having previously gone through intrinsics-object creation code to ensure its existence. r=shu 2015-06-08 10:55:53 -07:00
Martin Thomson
68c1665b4f Bug 1181262 - Disabling more code under --disable-webrtc, r=dholbert,bwc 2015-07-08 12:27:45 -07:00
Ryan VanderMeulen
00b394eb4f Merge inbound to m-c. a=merge
CLOSED TREE
2015-07-08 14:33:24 -04:00
lazyparser
a5b84a5e3d Bug 1181581 - Fix some typos in comments. r=jandem
CLOSED TREE
2015-07-08 09:13:00 -04:00
ProgramFOX
a0cea47270 Bug 1124291 - SIMD (interpreter): Implemented int8x16 and int16x8 on a CLOSED TREE. r=bbouvier 2015-07-07 15:31:44 +02:00
ProgramFOX
dc7e5b48a9 Bug 1124291 - SIMD (interpreter): Added test cases for int8x16 and int16x8. r=benj 2015-07-07 15:17:55 +02:00
ProgramFOX
da076d8f52 Bug 1124291 - added ToInt8 and ToInt16. r=Waldo 2015-07-02 17:51:25 +02:00
Carsten "Tomcat" Book
fd7ace7a20 Backed out changeset 6c24695543a9 (bug 1124291) for bustage on a CLOSED TREE 2015-07-08 15:11:54 +02:00
Carsten "Tomcat" Book
4c56ef4555 Backed out changeset d1b878ce28f4 (bug 1124291) 2015-07-08 15:11:19 +02:00
ProgramFOX
d858b62151 Bug 1124291 - SIMD (interpreter): Implemented int8x16 and int16x8 on a CLOSED TREE. r=bbouvier 2015-07-07 15:31:44 +02:00
ProgramFOX
92362b778b Bug 1124291 - SIMD (interpreter): Added test cases for int8x16 and int16x8. r=benj 2015-07-07 15:17:55 +02:00
Benjamin Bouvier
c8ad2922c0 Bug 1157624: Odin: split parsing/validation from codegen; r=luke 2015-07-02 18:32:24 +02:00
Benjamin Bouvier
d1712e8362 Bug 1157624: A few free asm.js tests; r=luke 2015-07-02 18:34:43 +02:00
Spenser Andrew Bauman
d95a3652e0 Bug 1176406 - IonMonkey: Poor type refinement of element access results during inlininig
Improve type refinement based on the heap type sets of input objects to GETELEM operations. r=bhackett1024
2015-07-01 16:45:00 +02:00
Sander Mathijs van Veen
d243cf2fea bug 1180874 - Use DivOrModConstantI for unsigned division or modulo by constant. r=nbp 2015-07-07 17:03:59 +02:00
Nicholas Nethercote
24ab7bcdca Bug 1179071 - Merge RemovingIterator into Iterator. r=froydnj.
The original motivation for the Iterator/RemovingIterator split was that
PLDHashTable Checker class would treat them differently. But that didn't end up
happening (see bug 1131308). So this patch merges them. This is a small code
size win now but it will become bigger when I add iterators to nsTHashTable and
nsBaseHashtable.

The only complication is that PLDHashTable::Iter() is now non-const, which is
a problem if you use it in a const method. So I added PLDHashTable::ConstIter()
which is used in just two places. It's a bit of a hack -- effectively a
const_cast -- but I don't think it's too bad.
2015-07-06 22:02:26 -07:00
Brian Hackett
3a4f720cea Bug 1175714 - Watch for baseline frame values with nursery types during OSR, r=jandem. 2015-07-07 17:38:24 -07:00
David Major
75e6de2c27 Bug 1167248: Test whether mysterious rand_s failures are due to LoadLibraryExW hooks. rs=terrence 2015-07-07 18:56:53 -04:00
Sean Stangl
3cb35cd62a Bug 1180013 - Fix irregexp on ARM64. r=efaust 2015-07-02 15:23:47 -07:00
Wes Kocher
87a000a955 Backed out changeset b822456c6e2f (bug 1175714) for mass assertion failures on a CLOSED TREE 2015-07-07 12:31:40 -07:00
Brian Hackett
edaac38e1e Bug 1175714 - Watch for baseline frame values with nursery types during OSR, r=jandem. 2015-07-07 11:24:36 -07:00
Brian Hackett
1333cfd846 Bug 1176751 - Eagerly convert unboxed arrays to native arrays more often during Ion compilation, r=jandem. 2015-07-07 11:20:25 -07:00
Dragana Damjanovic
c7fc0a288e Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell 2015-07-06 07:55:00 +02:00
Emanuel Hoogeveen
31c0c961cd Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
Bill McCloskey
b162c4e892 Bug 1177013 - Use CancelCurrentTransaction to avoid crashes (r=dvander) 2015-07-06 19:58:44 -07:00
Brian Hackett
7b8c6bd586 Bug 1175622 - Use the right API when transitively marking object groups as unknown, r=jandem. 2015-07-06 19:53:07 -07:00
Jeff Walden
b9b1c2b195 Bug 1163891 - Read lines of input in xpcshell/jsshell while properly handling EINTR failures and retrying in response. r=glandium 2015-07-02 21:19:22 -07:00
Kannan Vijayan
e2f68bb350 Bug 1176289 - Record proper optimization tracking outcome on failure of getPropTryConstant due to non-singleton value. r=shu 2015-07-06 11:55:23 -04:00