gecko-dev/js
Jon Coppeard 297ac5be9c Bug 1532376 - Fix places where we don't respect the shouldPretenure flag when creating an object r=jandem
This adds an overload of GetInitialHeap that takes an ObjectGroup* instead of a Class* and also takes into account whether the group's shouldPreTenure flag is set.  I moved this to JSObject-inl.h too.

I removed the heap parameter in a few places, in particular in NewDenseCopyOnWriteArray which required a bunch of changes elsewhere including the JITs.  I left the heap parameter intact for environment objects where we may have reason prefer these objects to be allocated in the tenure heap.  It's possible we should just remove all these parameters too and make allocation more uniform.

Differential Revision: https://phabricator.services.mozilla.com/D22324
2019-03-06 16:38:25 +00:00
..
ductwork/debugger Backed out 79 changesets (bug 1524687, bug 1524688) for crashes on mozilla::dom::ScreenOrientation::ScreenOrientation(nsPIDOMWindowInner *,nsScreen *). CLOSED TREE 2019-02-14 11:50:23 +02:00
examples No bug. Make jorendb give a REPL even if the script throws an exception. r=NPOAEW 2019-01-08 14:21:25 -08:00
ipc Bug 1523969 part 13 - Move method definition inline comments to new line in 'js/'. r=jorendorff 2019-02-25 16:09:04 -06:00
public Merge mozilla-central to mozilla-inbound. on a CLOSED TREE 2019-03-07 12:00:37 +02:00
rust Bug 1532005 - Implement a new js/public/ArrayBuffer.h header to centralize functionality for creating and interacting with ArrayBuffers. r=sfink 2019-03-04 15:19:16 -08:00
src Bug 1532376 - Fix places where we don't respect the shouldPretenure flag when creating an object r=jandem 2019-03-06 16:38:25 +00:00
xpconnect Backed out 16 changesets (bug 1525245) for Android failures. CLOSED TREE 2019-03-06 21:07:49 +02:00
app.mozbuild
ffi.configure Bug 1519040 - Remove some unused old-configure assignments. r=mshal 2019-01-10 22:02:04 +00:00
moz.build
moz.configure Bug 1531670 - Replace ENABLE_WASM_GENERALIZED_TABLES. r=bbouvier 2019-03-01 09:33:31 +01:00
sub.configure Bug 1520394 - Don't invoke js subconfigure as a separate process. r=nalexander 2019-01-16 23:42:12 +00:00