Граф коммитов

50065 Коммитов

Автор SHA1 Сообщение Дата
Daniel Holbert 5c8d42ea2d 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 937de4247a Backout d588ff0a68d9 (Bug 1181869) for probably regressing Splay and others.
--HG--
extra : rebase_source : 6767d1977b528755db9433bc792189ffe4915c3f
2015-07-17 15:08:04 -07:00
Terrence Cole 2da78a9a27 Backout 73d2c854d770 (Bug 1182124) for being on top of a suspected regression.
--HG--
extra : rebase_source : 6e8312d66411b9da95c5c031df822be79b6fd250
2015-07-17 14:02:46 -07:00
Tom Schuster 1d126fb562 Bug 1180184 - Support JSOP_TOSTRING used by template strings in baseline JIT. r=jandem 2015-07-17 23:52:29 +02:00
Terrence Cole 24e44df271 Bug 1182658 - Add TraceNullableRoot and use it to simplify RootedMarking; r=jonco
--HG--
extra : rebase_source : 6ea3255328c1e2856a99990fe98d7ffe4b74df94
2015-07-15 16:42:32 -07:00
Nicolas B. Pierron 780982bcb9 Bug 1138693 - Add comments and test. r=jandem 2015-07-17 19:38:57 +02:00
Terrence Cole 576fc0793d Bug 1184393 - Rename some js shell test variables for better readability; r=sfink 2015-07-17 08:05:59 -07:00
Terrence Cole 1fa1f3ef92 Backed out changeset 719d9b099457 (Bug 1182658) for misc regressions.
--HG--
extra : rebase_source : ffc2737efda4a2cef059ebcd19b2b43ac45fd793
2015-07-17 07:57:38 -07:00
Brian Hackett cd9e31dcba Bug 1183480 - Return old timeout value in setScriptTimeout(), r=bholley. 2015-07-17 09:45:08 -07:00
Ryan VanderMeulen b171b787bd 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 17eb84f5a3 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 843465db8e Bug 1148593 - Create async stack in callback objects. r=bz, r=fitzgen 2015-07-17 07:48:00 -04:00
Jan de Mooij bd0285d1bf Bug 1177892 part 6 - Remove UINT_TO_JSVAL. r=evilpie 2015-07-17 11:51:54 +02:00
Jan de Mooij aa64d5cee2 Bug 1177892 part 5 - Remove DOUBLE_TO_JSVAL. r=evilpie 2015-07-17 11:51:52 +02:00
Benjamin Bouvier f7a3127d15 Bug 1183051: Fix register allocations of Atomics callouts on arm vfp; r=h4writer
--HG--
extra : rebase_source : cafdbf21bcde0330b8df98446dff081d133c9297
2015-07-15 15:55:05 +02:00
Benjamin Bouvier c30f2825c5 Bug 1182647: Move setGCCallback to TestingFunctions.cpp; r=sfink
--HG--
extra : rebase_source : d9b888f1fdfc3dd426d922e3a01e340056d7d372
extra : amend_source : 62bbbc40705b78056ddd27f312611086af8e9e6c
2015-07-16 21:17:41 +02:00
Kyle Huey 74f03750da 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 7102f1c26b 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 52b10c8714 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 e7070f39fe Bug 1184400, part 1 - Make XPCJSRuntime::SuspectWrappedNative into a method on XPCWrappedNative. r=bholley 2015-07-16 17:50:43 -07:00
Andrew McCreight f3d75a224c 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 7f057e1c5f Backed out changeset 0dca237df7e2 (bug 1160307) for causing bug 1184752.
--HG--
extra : rebase_source : 56a2060af6a1d4cbb1f21665d65e50ec3b834265
2015-07-16 20:38:13 -04:00
Terrence Cole ed6bc85c89 Bug 1150349 - Update the zone triggers when updating GC parameters; r=jonco
--HG--
extra : rebase_source : 73dbbc5505c6d3d4d9583ea94f2263e92295e065
2015-07-08 10:32:55 -07:00
Jason Orendorff a47ddaa646 Bug 1178932 - Implement Reflect.construct. r=Waldo.
--HG--
extra : rebase_source : 2e90e8c55a482d80cf64f969deee720b27a8eba0
2015-06-16 13:04:27 -05:00
Jason Orendorff b99588d3e5 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.

--HG--
extra : rebase_source : 47f533df6e2b4f38b3812c1ce955fa90ce055a75
2014-11-05 00:32:29 -06:00
Jason Orendorff 3a5f570d6f 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).

--HG--
extra : rebase_source : aa6bf55dc1ce87b9fc10af76cb506560b14c3de9
2014-11-04 21:41:43 -06:00
Jason Orendorff afa8fe9661 Bug 987514, part 2 - Rename jsreflect.cpp -> builtin/ReflectParse.cpp. r=Waldo.
--HG--
rename : js/src/jsreflect.cpp => js/src/builtin/ReflectParse.cpp
extra : rebase_source : 716bb8a3264f3b1b4b7ed4cd90e81ef75bd9fd9f
2014-11-21 16:24:37 -06:00
Jason Orendorff 86c5e58740 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.
--HG--
extra : rebase_source : 66094e2531411c36c4ac0c1acc76189c29827f10
2014-11-04 18:58:48 -06:00
Nick Fitzgerald a1d5622844 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 d6722f57e9 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 7622b93a08 Bug 1182104 - Part 2: Consolidate JSCompartment roots tracing within JSCompartment::traceRoots. r=jonco 2015-07-14 19:16:00 -04:00
Nick Fitzgerald a7305b0f99 Bug 1182104 - Part 1: s/mark/trace/ on relevant JSCompartment methods. r=jonco 2015-07-13 14:33:00 -04:00
Tom Tromey 3ff8c1f3fa 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 3fe46f2f7d Bug 1030095 - Remove restriction on inlining recursive calls. r=hv1989 2015-07-14 09:36:00 -04:00
Terrence Cole d75b7ebb0d Bug 1182658 - Add TraceNullableRoot and use it to simplify RootedMarking; r=jonco
--HG--
extra : rebase_source : 8b0bb07a2da4f15928da18a5a9ab08037f9bddb8
2015-07-15 16:42:32 -07:00
Terrence Cole 36fc415b4f Bug 1182124 - Remove InternalHandle and its last use; r=bbouvier 2015-07-09 13:35:01 -07:00
Terrence Cole 7e782d20f9 Bug 1181869 - Update Bindings to use normal Rooted primitives; r=shu 2015-07-09 13:34:50 -07:00
Terrence Cole cc5fb7f33c Bug 1181862 - We no longer need Rooted<TypeSet::Type>; r=bhackett 2015-07-09 13:34:42 -07:00
Bobby Holley c8b6dbffb7 Bug 1184382 - Handle a sandboxPrototype we don't subsume. r=gabor 2015-07-16 11:24:18 -07:00
Ryan VanderMeulen 1657400c6f Backed out changeset 085f96014278 (bug 1171586) for SM permafails. 2015-07-16 08:13:31 -04:00
Jan de Mooij 6fa2403e32 Bug 1180211 - Don't emit bytecode for empty strings in emitTemplateString. r=jorendorff 2015-07-16 12:36:27 +02:00
Eric Rahm b14ef1da58 Bug 1171586 - Remove for-each-in from regress-476427.js. r=waldo 2015-07-15 20:28:07 -07:00
Daniel Holbert c81b996b3b Bug 814497 followup: Add missing 'override' keyword to nsScriptErrorWithStack method 'GetStack'. rs=ehsan 2015-07-15 17:23:53 -07:00
Bobby Holley f26bc6851d 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 5d236ae788 Bug 1184349 - Add lr to SavedNonVolatileRegisters on ARM64. r=efaust 2015-07-15 15:27:41 -07:00
Wes Kocher c3eedd62ae Merge m-c to inbound, a=merge CLOSED TREE 2015-07-15 16:41:49 -07:00
Wes Kocher 59e6297180 Merge fx-team to central, a=merge 2015-07-15 16:33:58 -07:00
Ryan VanderMeulen fa5776b708 Merge m-c to fx-team. a=merge 2015-07-15 13:30:09 -04:00
Alexandre Poirot ec268220f2 Bug 814497 - Fix nsScriptErrorWithStack constructor. r=ehsan 2015-07-15 09:58:26 -07:00
Nicolas B. Pierron 2bfadb82c2 Bug 1182060 - IsObjectEscaped: Handle UnboxedPlainObject in guard shape. r=bhackett 2015-07-15 20:40:03 +02:00
Bobby Holley e53c744803 Bug 1182409 - Add 'allowWaivers' sandbox option. r=gabor 2015-07-15 11:32:30 -07:00
Jan de Mooij f6690cf662 Bug 1180049 - Add OOM check in MNewArray constructor. r=bhackett
--HG--
extra : rebase_source : 3873881014e9757ba92121edca54fcc22d818616
2015-07-15 19:11:55 +02:00
Jan de Mooij ebb74ef288 Bug 1143679 followup - Add testcase. r=me
--HG--
extra : rebase_source : 845c2b2a1e86e6a0a3757f9df0ab3449a726a5c3
2015-07-15 19:09:02 +02:00
Jan de Mooij a472364824 Bug 1160884 followup - Add testcase. r=me
--HG--
extra : rebase_source : c1d441e13bfb152467750ee0ea05928bc1e55b61
2015-07-15 19:08:31 +02:00
Carsten "Tomcat" Book 517ac08066 Backed out changeset 999b9a743bed (bug 1182428) for hazard failures on a CLOSED TREE 2015-07-15 16:51:57 +02:00
Jon Coppeard 6a276a7bc2 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 e0fe0a2468 Bug 1182428 - Refactor bytecode compilation r=luke 2015-07-15 11:50:38 +01:00
Jon Coppeard 53f8300f7e 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 473ad05095 Bug 1182104 - Refactor code for sweeping a compartment after minor GC r=terrence 2015-07-15 10:22:04 +01:00
Jon Coppeard aacda4f6e2 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 b43026ffba Bug 1183289 - Run fewer CGC tests r=sfink 2015-07-15 10:22:04 +01:00
Jon Coppeard 2403ad99fd Bug 1183560 - Add an option to jstests to run tests repeatedly r=terrence 2015-07-15 10:22:04 +01:00
Brian Hackett 50f4ad7609 Bug 1180990 - Add checks for nursery objects when building MIR. r=jandem
CLOSED TREE

--HG--
extra : amend_source : 8b079e680f9b8fb3e0d36603ff1287b025774e7e
2015-07-14 17:11:46 -04:00
Brian Hackett f9686558d6 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 5b759c645a Bug 1183308 - Fix ARM64 bustage from Bug 1141986. r=efaust 2015-07-13 12:51:33 -07:00
Sean Stangl 02e811ecb4 Bug 1181348 - Fix ARM64 toggledCall() under debug mode. r=djvj 2015-07-06 14:41:49 -07:00
Brian Hackett 3eda0fc76d Bug 1175165 - Fix build break on a CLOSED TREE. 2015-07-14 09:25:10 -07:00
Brian Hackett 043ab3c977 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 896fc80e27 Bug 1177922 - Fix a bogus assert on OOM in markSafepointAt. r=nbp
--HG--
extra : rebase_source : 2913f1f81ea9e79cd176a649eaf3e134905ae556
2015-07-14 11:12:09 +02:00
Jan de Mooij 6320763aa5 Bug 1183191 followup - Always null script_ in AutoDelazify::dropScript. r=me
--HG--
extra : rebase_source : 1e043e73e1a3d62565ace1d883e1ddd15306a74c
2015-07-14 11:12:02 +02:00
Jon Coppeard 64a0c57035 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 915d8780c8 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.

--HG--
extra : rebase_source : 1dc3d92830902d9e24496dcdc5f1ee8a6fe39fb4
2015-07-07 23:18:44 -07:00
Nick Fitzgerald 0a0baeb4a1 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 a00d573d4b 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 ac8db29a41 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 32ab2c9f9c 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 a881f95cc7 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 18efabed2b Bug 814497 - Pass SavedFrame from JS::ErrorObject to nsIScriptError. r=bholley 2015-07-09 07:02:00 -04:00
Jason Orendorff 832040440f Bug 1170307 - Inline the common path of NonNullObject; use it instead of ReportObjectRequired in the Debugger. r=shu.
--HG--
extra : rebase_source : ae247e5b84d9d9988dc28e2eec2cdcd5bf3c8f8b
extra : amend_source : 0f951eeac1aca42a6a74c09441cf34b248f41935
2015-03-01 06:47:07 -06:00
Jason Orendorff b1d20cf484 Bug 1171036 - Change GetLengthProperty slow path to use ToLengthClamped instead of ToUint32. r=Waldo.
--HG--
extra : rebase_source : 8359dbbb5c0dd8030bb4c4fc935a403cbd607989
2015-06-03 10:01:45 -05:00
Jason Orendorff f15f89b7fe Bug 1170216 - When using the slow-and-standard path in js::SetIntegrityLevel, don't manually call setNonwritableArrayLength afterwards. r=Waldo.
--HG--
extra : rebase_source : f158951c3223d2d725cabc921eb87649315ce4ae
extra : source : 822901f56c1fe2ed23d638cc90759ffe08a0e93c
2015-06-01 12:01:02 -05:00
Jan de Mooij 8b8ff4638e 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 77907b649f Bug 1123383 - SIMD (interpreter): remove Clamp. r=bbouvier
CLOSED TREE
2015-07-13 12:36:53 -04:00
Birunthan Mohanathas a8939590de 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 9486e52615 Backed out changeset afb1f49458db (bug 1171909) for SM(arm) errors 2015-07-13 14:26:01 +01:00
Carsten "Tomcat" Book 36bf5282d7 Backed out changeset 3054f69fb5a1 (bug 1123383) for sm cgc failures 2015-07-13 15:19:47 +02:00
Jon Coppeard cd9a12feca Bug 1182428 - Refactor common trace logging code in bytecode compiler r=luke 2015-07-13 11:31:20 +01:00
Jon Coppeard 50a8e7da0d 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 67b6e3a916 Bug 1172453 - Use TypedOrValueRegister instead of ConstantOrRegister in GetElementIC. r=jandem 2015-07-13 19:29:07 +09:00
Nicolas B. Pierron 1349c81432 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 542f9ea7c3 Bug 1181558 part 0 - Remove unused SnapshotIterator constructor. r=jandem 2015-07-13 12:24:51 +02:00
ProgramFOX 0f2c478684 Bug 1123383 - SIMD (interpreter): remove Clamp. r=bbouvier 2015-07-11 18:06:46 +02:00
Nick Fitzgerald 14a91d6f8c 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 0b3a7cb08d Bug 1169710 - Part 4: Test the tenuring log; r=sfink 2015-07-10 19:14:09 -07:00
Nick Fitzgerald c776eb724a Bug 1169710 - Part 3: Expose the tenure promotions log on Debugger.Memory; r=sfink 2015-07-10 19:14:09 -07:00
Nick Fitzgerald ca32794c23 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 67d68f4c7f 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 d252aa1170 Bug 1169710 - Part 0: Document the Debugger.Memory's tenure promotions log; r=sfink 2015-07-10 19:14:08 -07:00
Mike Hommey dd4f91ef30 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 67e02ffc14 Bug 1182407 - Use unpack feature of tooltool wherever possible. r=mshal 2015-07-11 06:26:21 +09:00