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

54352 Коммитов

Автор SHA1 Сообщение Дата
Nicholas Nethercote f7dab46ae8 Bug 1261720 (part 1) - Separate js::ClassExtension from js::Class. r=jorendorff,bz.
js::ClassExtension is often all null. When it's not all null, it's often
duplicated among classes. By pulling it out into its own struct, and using a
(possibly null) pointer in js::Class, we can save 17 KiB per process on
64-bit, and half that on 32-bit.

--HG--
extra : rebase_source : eb78ade09ce268e886d091f6cbc38d7e5e912527
2016-04-04 08:45:07 +10:00
Jim Blandy a6d253f357 Bug 1251529: Provide default constructor for ShellAllocationMetadataBuilder. r=orange
--HG--
extra : rebase_source : 98777531d8c40caa22b7bfe07f446a89256ce88a
2016-04-04 20:35:28 -07:00
Heiher 120ec40ed5 Bug 1260694 - IonMonkey: MIPS: Inline get MIPS flags. r=huangwenjun06
---
 .../jit/mips-shared/Architecture-mips-shared.cpp   | 24 +++++++++++++---------
 js/src/jit/mips-shared/Architecture-mips-shared.h  | 12 ++++++++---
 2 files changed, 23 insertions(+), 13 deletions(-)
2016-04-05 11:03:38 +08:00
Jim Blandy 0746148760 Bug 1251529: Provide default constructor for js::AllocationMetadataBuilder, js::SavedStacks::MetadataBuilder. r=shu
--HG--
extra : amend_source : 10a64241ab5d77e7477d3aefe59c52f73a0952d6
2016-04-04 19:37:54 -07:00
Jim Blandy 62682b1571 Bug 1251529: Pass AutoEnterOOMUnsafeRegion to allocation metadata builder methods. r=fitzgen
--HG--
extra : rebase_source : a0f34c84c6c0bfb287864ed915b9110664ca56a9
2016-02-29 18:27:10 -08:00
Jim Blandy 49a9f03a0a Bug 1251529: Replace allocation metadata callback with a builder class. r=fitzgen
--HG--
extra : rebase_source : 402692faee74c11e8cc322038d8a2fac54c7341e
2015-08-12 15:17:16 -07:00
Jim Blandy b44fbd0499 Bug 1251529: In object metadata world, rename "object metadata" to "allocation metadata" and "callback" to "builder". r=fitzgen
Exceptions:
- AutoSetNewObjectMetadata and its related type are still exclusively about objects.
- JSCompartment::objectMetadataTable is still only about objects.
- the ObjectMetadataMap type still only has objects as keys.

Non-exceptions:

The builder type, and the JSCompartment member:
ObjectMetadataCallback -> AllocationMetadataBuilder
objectMetadataCallback -> allocationMetadataBuilder

jsfriendapi.h interface:
SetObjectMetadataCallback -> SetAllocationMetadataBuilder
GetObjectMetadata -> GetAllocationMetadata

JSCompartment methods:
hasObjectMetadataCallback -> hasAllocationMetadataBuilder
getObjectMetadataCallback -> getAllocationMetadataBuilder
setObjectMetadataCallback -> setAllocationMetadataBuilder
forgetObjectMetadataCallback -> forgetAllocationMetadataBuilder
addressOfMetadataCallback -> addressOfMetadataBuilder

Shell and testing functions:
SavedStacksMetadataCallback -> SavedStacksMetadataBuilder
ShellObjectMetadataCallback -> ShellAllocationMetadataBuilder
EnableShellObjectMetadataCallback -> EnableShellAllocationMetadataBuilder
enableShellObjectMetadataCallback -> enableShellAllocationMetadataBuilder
GetObjectMetadata -> GetAllocationMetadata
getObjectMetadata -> getAllocationMetadata

Delayed metadata collection:
shouldDelayMetadataCallback -> shouldDelayMetadataBuilder
JSCLASS_DELAY_METADATA_CALLBACK -> JSCLASS_DELAY_METADATA_BUILDER
suppressObjectMetadataCallback -> suppressAllocationMetadataBuilder

--HG--
extra : rebase_source : 54af5a56edd9b39466fa418f7a72fc586d0482d3
2015-09-01 15:26:46 -07:00
Wes Kocher df53918788 Backed out changeset d51e76f5d0b8 (bug 1260104) for apparently tripling the runtime of SM(p) jobs and also introducing a failure in SM(p) jobs
MozReview-Commit-ID: EyLduy3EMOl
2016-04-04 15:42:00 -07:00
Wes Kocher 46f04c50ca Backed out 5 changesets (bug 911216) for apparently tripling the runtime of SM(p) jobs along with introducing a failure in SM(p)
Backed out changeset d70235224525 (bug 911216)
Backed out changeset 2f503e373e6f (bug 911216)
Backed out changeset 2e98f8b36bc6 (bug 911216)
Backed out changeset bd5acdf4a2a1 (bug 911216)
Backed out changeset 58716e562690 (bug 911216)

MozReview-Commit-ID: 807ajHOZvQn
2016-04-04 15:41:17 -07:00
Mike Hommey e6d52431b6 Bug 1261531 - Remove most obvious cases of useless AC_DEFINEs. r=chmanchester
- HW_THREADS doesn't appear to be doing anything.

- USE_ARM_KUSER is not used since bug 675078. This also removes the configure
  flag that sets it.

- HAVE_SETBUF and HAVE_SNPRINTF are leftover from bug 944935.

- MOZ_MEMORY_GONK is leftover from bug 804303.
2016-04-05 07:16:44 +09:00
Mike Hommey c25921b32d Bug 1261531 - Remove most obvious cases of useless AC_SUBSTs. r=chmanchester
- DEVELOPER_OPTIONS, INTEL_CC, INTEL_CXX, MOZ_ENABLE_QTMOBILITY,
  GTK_CONFIG are or even were never used outside configure.

- MOZ_PROFILELOCKING which gradually became a no-op over the years. This
  also removes the configure flag that sets it.

- XULRUNNER_STUB_NAME is xulrunner-only, and xulrunner is gone. This
  also removes the configure flag that sets it.

- The only use of MOZ_CAN_RUN_PROGRAMS was removed in bug 780561.

- AR_LIST and AR_DELETE have not been used since bug 584474.

- MOZ_COMPONENT_NSPR_LIBS is leftover from bug 1036894.

- MOZ_PNG_ARM_NEON_CHECK is not used since bug 980488.

- MOZ_WEBRTC_LEAKING_TESTS has been no-oped by bug 825510.

- VPX_NEED_OBJ_INT_EXTRACT and NO_INTEGRATED_AS_CFLAGS are not used since
  bug 1151175.

- WCHAR_CFLAGS is not used since bug 904985.
2016-04-05 07:16:44 +09:00
Mike Hommey 1eda7fa37b Bug 1261359 - Don't set HOST_{C,CXX,LD}FLAGS from {C,CXX,LD}FLAGS at all. r=nalexander
In bug 1260996, we straightened things up for the host flags on cross
compile builds, where the situation was that they were effectively empty
by default, and that hasn't changed.

While working on bug 1260996, it has become clear that there is no much
point in setting the host flags from the target flags on non cross
compile builds, especially when the target flags come from the environment.

That creates a discrepancy with cross compilation builds for no real
reason, and there are effectively too few host things to build that it
would matter anyways. The flags that do matter are the ones for C++11,
C99, and optimisations, and they all are set independently of what is
being removed here.
2016-04-05 07:16:44 +09:00
Mike Hommey 2f27499d10 Bug 1261263 - Remove -fgnu89-inline. r=froydnj
It seems the reason why it was added back in bug 719659 is gone.
2016-04-05 07:16:44 +09:00
Mike Hommey 989453a94b Bug 1261263 - Switch from -std=gnu++0x to -std=gnu++11. r=froydnj
All the GCC and clang versions we support support the latter, so let's
use it.
2016-04-05 07:16:44 +09:00
Chris Manchester f7a1b3fb60 Bug 1242051 - Add inter-directory test support file dependencies to ini manifests. r=gps
Previously, every test and support file would be synced to the objdir
when running any test. Now that only those support files and tests requested
are synced, we note support files required beyond those in a test's
directory in ini manifests.

MozReview-Commit-ID: EmlDz9d4lqt
2016-04-04 14:56:52 -07:00
Nicolas B. Pierron 94139855f1 Bug 1257929 - Add assertions to ensure the safety of entry resume point encoding. r=h4writer 2016-04-04 17:15:12 +00:00
Nicolas B. Pierron 060a25a7c5 Bug 1257929 - Special case OSR block to avoid bloating safeInsertTop condition. r=h4writer 2016-04-04 17:15:11 +00:00
Benjamin Bouvier 5c506bf453 Bug 1261577: Always set the result of a dead loop in wasm; r=luke
MozReview-Commit-ID: LqtkWNyWlcz

--HG--
extra : rebase_source : cfa09a0c3b31d6ecdd16a596a8c94228e5092652
2016-04-04 14:15:12 +02:00
Benjamin Bouvier 98052b9e34 Bug 1261813: Ensure the argument to wasmBinaryToText always has a buffer; r=luke
MozReview-Commit-ID: ImtX6OLIkpc

--HG--
extra : rebase_source : f1b5fdaad5f485f06b6be5451a48766269a30e9c
2016-04-04 17:09:29 +02:00
Benjamin Bouvier 4d0f270c59 Bug 1259936: Extra test case; r=luke
MozReview-Commit-ID: 8kgJcBm52A1

--HG--
extra : rebase_source : 8463fa9c8c064ce2b3680ea5aad0151497a99f30
2016-04-04 16:52:07 +02:00
Till Schneidereit ea0d5e374a Bug 911216 - Part 17: Make promise-related Debugger.Object.prototype getters work with wrapped promises. r=shu 2016-04-04 17:55:03 +02:00
Till Schneidereit 8939d2d31a Bug 911216 - Part 15: Port Promise reaction jobs to C++ to enable correct async stacks. r=efaust 2016-03-22 16:22:24 +01:00
Till Schneidereit 1217778c5a Bug 911216 - Part 14: Add support for tracking unhandled promise rejections, exposed through a JSAPI function. r=efaust 2016-03-22 16:22:23 +01:00
Till Schneidereit 0384df1a97 Bug 911216 - Part 13: Set Promise allocation stack as async stack for Promise callback jobs. r=efaust,bz 2016-03-22 16:22:23 +01:00
Till Schneidereit 2bd7c5e7bb Bug 1260104 - Fix make source-package regressions introduced by phytonification of the configure scripts. r=sfink 2016-04-04 17:53:29 +02:00
Benjamin Bouvier 086a17a465 Bug 1259936: Baldr: Simplify calls stack bytes management; r=luke
MozReview-Commit-ID: H7VzCSKNwco

--HG--
extra : rebase_source : 214fcef5ea13e6d96f766d3c9d001ade849825dd
extra : amend_source : 81dafe184c1e4d56b3cf601476f65a77259071cc
2016-03-31 13:42:38 +02:00
Lars T Hansen 2abb7f68c0 Bug 1260835 - Atomics.wait returns strings + remove symbolic constants. r=jolesen
--HG--
extra : rebase_source : 9ff59a7ef9669cdcc63fa599cc871e6c57a9ed5a
2016-04-02 08:41:28 -07:00
Lars T Hansen c3701b806a Bug 1260910 - introduce 'wait' and 'wake'. r=bbouvier
--HG--
extra : rebase_source : ffca8d69322ab07a2b6e4b5b9a9a4dd5cb313728
2016-04-02 09:17:20 -07:00
Lars T Hansen f4dc70d21c Bug 1225028 - remove Atomics.fence. r=bbouvier
--HG--
extra : rebase_source : 01f95d41a7f869d26cf7a602d16743801eb0de9d
2016-04-02 08:55:24 -07:00
Lars T Hansen d6d3b3bc60 Bug 1259544 - remove futexWakeOrRequeue. r=bbouvier
--HG--
extra : rebase_source : 16fc76f38e011f15f3eef291c877aaee053776df
2016-03-31 15:23:23 -07:00
Lars T Hansen b65e9a82a4 Bug 1231926 - add assertions on BYTEOFFSET_SLOT. r=waldo
--HG--
extra : rebase_source : c0003e525f87e89c264ecde700532fe76445e510
2016-03-24 17:11:10 +01:00
Lars T Hansen 43a06b20d4 Bug 1253351 - count argument of futexWake defaults to +Infinity. r=bbouvier
--HG--
extra : rebase_source : 269248db8d70f6e5c55836129b50fba621c3e7f7
2016-03-24 17:01:26 +01:00
Lars T Hansen b40b83ba87 Bug 1259392 - nail down isLockFree(4) for good. r=jolesen
--HG--
extra : rebase_source : 16fd4ff1b8345fda097152986d663293e591163f
2016-03-24 19:42:29 +01:00
Lars T Hansen 34cfaec35b Bug 1253371 - make atomics range checking conformant. r=jolesen
--HG--
extra : rebase_source : 96e3d48967ccc47eda7689d180d5077e7d08f7b4
2016-03-24 18:14:37 +01:00
Nicholas Nethercote 3e563eab78 Bug 1260984 (part 3) - Separate js::ClassSpec from js::Class. r=jorendorff.
js::ClassSpec is often all null. When it's not all null, it's often duplicated
among classes. By pulling it out into its own struct, and using a (possibly
null) pointer in js::Class, we can save 138 KiB per process on 64-bit, and half
that on 32-bit.

--HG--
extra : rebase_source : 852ac6770ace46958d018107e78c5c44ebd6528a
2016-04-01 10:59:54 +11:00
Nicholas Nethercote 5bb643ae93 Bug 1260984 (part 2) - Reduce ObjectOps exposure. r=jorendorff.
A number of ObjectOps instances are more exposed than they need to be. This
patch converts several to be either private (within a class) or static (within
a file).

--HG--
extra : rebase_source : f994ac229caa799da66d920d748ec1154fc9206f
2016-03-31 19:24:29 +11:00
Nicholas Nethercote b4b3e059d6 Bug 1260984 (part 1) - Remove ClonedBlockObject::objectOps_. r=jorendorff.
It's full of nulls which means that JS_NULL_OBJECT_OPS suffices.

--HG--
extra : rebase_source : 4f330175c7212b3e336b22ebae43b28399c5a90c
2016-03-31 19:20:04 +11:00
Morgan Phillips 9050862722 Bug 1255133 - Surface links to external documentation alongside relevant error messages 1/2; r=bgrins
--HG--
extra : rebase_source : 2c285070e648d42ccdd523c2415c6c6c6ed1a871
extra : amend_source : c6dd5cd109d6a767523dab6d35f8f3509995d9cd
2016-04-01 23:17:49 -07:00
Morgan Phillips 3fd9c37a6a Bug 1260509 - Implement String.prototype.padStart / padEnd; r=jorendorff
--HG--
extra : rebase_source : 40ab774040a9f278538352404246f50fa06fd850
extra : amend_source : 63ce3f376ec158df39b1e416f96c2924b9f14e9a
2016-03-31 08:04:12 -07:00
Nicolas B. Pierron 8bfcf1affe Bug 1259867 - GDB Scripts: Disable SpiderMonkey's unwinder by default. r=tromey 2016-04-01 17:23:56 +00:00
Bevis Tseng 47e9ad43d3 Bug 1198093 - Part 1: Expose indexedDB to System with [Exposed=System]. r=khuey 2016-03-30 11:22:14 +08:00
Nicolas B. Pierron eddc27f821 Bug 1239075 - RangeAnalysis: Assume that all captured results are used in bailing branches. r=h4writer 2016-04-01 16:11:52 +00:00
Benjamin Bouvier c9c61c841e Bug 1259911: Only add predecessors to the join block once; r=sunfish
MozReview-Commit-ID: A660ASYGb4l

--HG--
extra : rebase_source : 5980168bbba1a5a99212aebcb34d97b4018d1489
2016-03-29 18:41:39 +02:00
Benjamin Bouvier 0d293d93a1 Bug 1260737: wasm: Implement Reinterpret opcodes; r=luke
MozReview-Commit-ID: 8n5BHkVhwNp

--HG--
extra : rebase_source : 2bcce31e35541ee05396b61a805dbdf90da9b427
2016-03-30 14:10:06 +02:00
Benjamin Bouvier 4ffb807254 Bug 1260696: Update wasm text format spewing; r=luke
MozReview-Commit-ID: 8Yu19SYPphg

--HG--
extra : rebase_source : 2da5c57067cbdb283f80644c6473fbf5513d22aa
2016-03-30 13:23:21 +02:00
Benjamin Bouvier 7adef925ac Bug 1254142: Baldr: make control flow opcodes yield subexpressions; r=luke
MozReview-Commit-ID: 7mf8RgGZpSL

--HG--
extra : rebase_source : 6ed6220b13ae1fa4e0fe325e6f1c32a97d1b6585
2016-03-31 12:30:23 +02:00
Jon Coppeard bc3367f253 Bug 1258097 - Check for redeclaration of imports by functions r=shu 2016-04-01 10:29:03 +01:00
Eddy Bruel d4a0485727 Bug 1252958 - Implement Debugger.adoptDebuggeeValue;r=jimb 2016-04-01 10:50:30 +02:00
Nick Fitzgerald c2298e0f56 Bug 1261207 - Forward declare `js::ScriptSource` instead of casting `void*` pointers; r=jimb
MozReview-Commit-ID: KfzlLDjCYIn

--HG--
extra : rebase_source : 1fb2abd2cd7ab199b234e81793f6e3da6f973e13
2016-03-31 23:07:34 -07:00
Ryan VanderMeulen 95ae6db97d Backed out changeset 73c0af3f3693 (bug 1251855) because the fix is no longer needed since bug 1232639 landed on Gecko 47+.
--HG--
extra : rebase_source : 573c60e568f5533dcae5498b85eb3970f75a7c1a
2016-03-31 23:07:18 -04:00
Nicholas Nethercote d376f9f82e Bug 1260871 - Remove do_GetAtom() and rename NS_NewAtom() as NS_Atomize(). r=erahm.
do_GetAtom() is currently just a synonym for NS_NewAtom().

--HG--
extra : rebase_source : f4409784f931616cbc300591e6b843d30805c273
2016-03-29 10:09:43 +11:00
Mike Hommey 2a512468b1 Bug 1260998 - Add support for HOST_CPPFLAGS for consistency. r=nalexander 2016-04-01 09:43:26 +09:00
Mike Hommey 81010d54a2 Bug 1260996 - Don't set HOST_{C,CXX,LD}FLAGS from {C,CXX,LD}FLAGS on cross compiles. r=nalexander
The only cross compiles we actively support were pre-setting those
values to avoid it anyways, so it wasn't doing anything useful.
2016-04-01 09:43:26 +09:00
Mike Hommey c12b02c70d Bug 1260647 - Unify cross-compilation setup, while moving some of it to moz.configure. r=ted
Gonk, Android, and the generic cross-compilation setup all were using a
different yet similar way to prefix the toolchain. The latter was even
wrong, since the target and target alias usually don't match actual
toolchain prefixes (which don't include the machine part of the target).
2016-04-01 09:43:26 +09:00
Mike Hommey 1f729885a7 Bug 1260624 - Move CROSS_COMPILE to moz.configure. r=ted
Note that this removes force-setting cross_compiling to yes in
old-configure, which wasn't working because every AC_TRY_COMPILE
resets it with $ac_cv_prog_cc_cross or $ac_cv_prog_cxx_cross.
2016-04-01 09:43:26 +09:00
Morgan Phillips da0f14f2ef Bug 1260620 - Ensure that possibleErrors are not null before attempting to check them; r=jorendorff 2016-03-30 02:53:44 -07:00
Morgan Phillips c5fa3b7151 Bug 1260673 - Stop using _DefineDataProperty in MoveHoles; r=jorendorff
_DefineDataProperty was used to ensure that modifying Array's setter wouldn't
impact sorting, however, this is both not necessary and against the spec.

--HG--
extra : rebase_source : f7d1301abf3207e2091f4c1e3b7e3949c0961ec8
2016-03-31 14:44:12 -07:00
Nick Fitzgerald bfa7e0beaf Bug 1260891 - Acquire and release the lock when destorying an `ExclusiveData<T>`'s protected value; r=terrence a=kwierso
Even if there is not a traditional race between uses of the protected data and
the `ExclusiveData<T>`'s destruction, the thread running the destructor has no
guarantee that its cache is up to date with changes already made by other
threads. The new acquire and release surrounding the destructor ensures that the
destructor doesn't run on stale cache lines.

MozReview-Commit-ID: 1fewYlhuEIa

--HG--
extra : histedit_source : 962af09fc4dffa7974f94941e442b884ad4d6f62
2016-03-31 14:29:50 -07:00
Nick Fitzgerald db034dcfdb Bug 1260838 - Assert that ScriptSource's reference count is zero upon destruction; r=jimb a=kwierso
MozReview-Commit-ID: 3TKvYlp2EW1

--HG--
extra : histedit_source : fb8df2d073edcb960f656213695ade72e6862ffa
2016-03-31 14:29:33 -07:00
Nick Fitzgerald a9460c786c Bug 1260725 - Handle and report OOM in census breakdown parsing; r=jorendorff a=kwierso
This commit adds OOM checks that were missing to
`GetDefaultBreakdown`. Additionally, it replaces uses of `js_new<T>` with
`cx->new_<T>` so that OOMs are automatically reported on the context.

MozReview-Commit-ID: KUqWdjSBLKn
2016-03-31 14:28:10 -07:00
Emanuel Hoogeveen 66c0c38cfd Bug 1260501 - Make high frequency GC mode slice budget doubling work with non-0 budgets. r=terrence a=kwierso
MozReview-Commit-ID: ACGI01R8y6C
2016-03-31 14:27:34 -07:00
Emanuel Hoogeveen 1efa5deaf7 Bug 1260475 - Add an option to disable GC slices triggered by painting. r=terrence a=kwierso
MozReview-Commit-ID: B81ZHm0EgZB
2016-03-31 14:26:30 -07:00
Jan de Mooij 589e55acf0 Bug 1124397 - Temporary diagnostic patch to help figure out what's going on. r=efaust a=kwierso
MozReview-Commit-ID: 2pt0UAblcL6
2016-03-31 14:02:10 -07:00
Wes Kocher 7b9ea8afc5 Merge inbound to central, a=merge
MozReview-Commit-ID: FSnrOgtIFer
2016-03-31 13:04:19 -07:00
Eric Faust fc2ed09a88 Bug 1260577 - followup: Change confusing name SelfAssign to CompoundAssign. (rs=jorendorff) 2016-03-30 09:32:30 -07:00
Jon Coppeard ddc520dc29 Bug 1260198 - Clear per-zone string cache after compacting r=terrence
--HG--
extra : rebase_source : 2269242a048416049e8caa43b189269837c87809
2016-03-30 17:14:44 +01:00
Jon Coppeard a813ba8964 Bug 1260371 - Forward another pointer during TypedObject tracing to fix bustage r=me
--HG--
extra : rebase_source : 6d4e89f4c85022b437e533061a5674051b7b2bd4
2016-03-30 15:02:18 +01:00
Sebastian Hengst 528d76cc52 Backed out changeset 15a3458b4d11 (bug 1254142) for bustage. r=backout on a CLOSED TREE 2016-03-30 14:27:34 +02:00
Hannes Verschore 4c0c65e05f Bug 1257194: Test availability of function before executing to make sure this doesn't fail upon hitting aurora, r=bbouvier 2016-03-30 08:05:47 -04:00
Nicolas B. Pierron 5c36d8604c Bug 1258397 - Reorder Instruction: Renumber all instructions including the entry blocks. r=bhackett 2016-03-30 12:03:44 +00:00
Benjamin Bouvier 3bfb730271 Bug 1254142: Baldr: make control flow opcodes yield subexpressions; r=luke
MozReview-Commit-ID: 7mf8RgGZpSL

--HG--
extra : rebase_source : 16ea456210839fd1259d61bc912630081ec9acdc
extra : histedit_source : 1eb4b051dfc1c651403590b43ea6f29f9b11274c%2C57cc0f3352e765b479829f5c56ae818b78133e18
2016-03-30 13:48:09 +02:00
Benjamin Bouvier 4507424488 Bug 1259903: Baldr: unify Select true and false types instead of checking against each other; r=luke
MozReview-Commit-ID: 2GHFuLNTuP3

--HG--
extra : rebase_source : f9e39ba0202cd3dfcd33431db70c4174e27e96ee
2016-03-30 09:41:07 +02:00
Jon Coppeard ca319d558f Bug 1235677 - Add assertion to catch unsafe concurrent use of AutoEnterOOMUnsafeRegion r=terrence 2016-03-30 12:33:56 +01:00
Jon Coppeard b662630444 Bug 1260371 - Rearrange RelocationOverlay so that magic field does not overlay inline string chars r=terrence 2016-03-30 12:33:55 +01:00
Jon Coppeard 985fd0cd78 Bug 1259306 - Trace ShapeTables r=terrence
* * *
Bug 1259306 - Don't report BaseShapes to cycle collector
2016-03-30 12:33:55 +01:00
Jon Coppeard aa11b22465 Bug 1259042 - Re-introduce a version of ZoneCellIter for use under GC r=terrence 2016-03-30 12:33:55 +01:00
Tom Tromey 45f2a4223b Bug 1013219 - set line number of return instruction; r=efaust, r=fitzgen, r=ejpbruel 2016-03-28 12:20:00 +02:00
Tom Tromey c20c5b9f3c Bug 1013219 - set the line number of the terminating retrval; r=jimb, r=ejpbruel, r=fitzgen 2016-03-28 12:20:00 +02:00
Jan de Mooij 615d679373 Bug 1259699 - Adjust Windows stack limits to account for large PGO stack frames. r=bholley 2016-03-29 08:03:54 +02:00
Nicholas Nethercote f09c1cb32e Bug 1259194 (part 3) - Remove PopulateJSClass(). r=mrbkap.
PopulateJSClass() is only called immediately after the constructor, so it can
be merged into the constructor. (This helps with the next patch.)

The patch also removes an unnecessary |new| check.
2016-03-24 06:58:23 +11:00
Nicholas Nethercote 45b72ac8ed Bug 1259194 (part 2) - Remove XPCWrappedNativeJSClass. r=mrbkap.
It's a trivial and pointless wrapper for js::Class.

This patch also fixes some ridiculous formatting in XPCNativeScriptableShared.
2016-03-24 06:53:28 +11:00
Morgan Phillips f5282c201e Bug 1259600 - Divert typed arrays passed to Array.sort to a typed array specific sort; r=till
--HG--
extra : rebase_source : 36465eb5e48d8e25250082e77b45a171dc321bfd
2016-03-28 13:02:17 -07:00
Terrence Cole 27b80f93ec Bug 1259490 - Update the DtoA cache after compacting GC; r=jandem 2016-03-28 10:07:36 -07:00
Kyle Huey b55b8c715b Bug 1259290: Part 3 - Remove JS_ReportError and cx handling from RegisterWorker and friends. r=bz,jandem 2016-03-28 10:28:14 -07:00
Tooru Fujisawa 1b904497e5 Backed out changeset 63d6812ce8cc (bug 1165053) for jsreftest failure
--HG--
extra : amend_source : e86376e4807c2a78d7588d887b0951226a602a07
2016-03-28 06:49:59 +09:00
Tooru Fujisawa bdbe852624 Backed out changeset fffa0e5cc406 (bug 1165053) 2016-03-28 06:49:59 +09:00
Tooru Fujisawa 01dd647400 Backed out changeset f3195319f23d (bug 1165053) 2016-03-28 06:49:58 +09:00
Tooru Fujisawa 76c2754652 Backed out changeset f66243f0197e (bug 1165053) 2016-03-28 06:49:58 +09:00
Tooru Fujisawa 2c5e1c5b5c Backed out changeset 6ec3a764a8a5 (bug 1165053) 2016-03-28 06:49:58 +09:00
Tooru Fujisawa ce45e839ed Backed out changeset 31ce940c509c (bug 1165053) 2016-03-28 06:49:58 +09:00
Tooru Fujisawa bd2e68d165 Backed out changeset fdef3048ed77 (bug 1165053) 2016-03-28 06:49:58 +09:00
Tooru Fujisawa 4c1d577e06 Backed out changeset 71ef5f8009ec (bug 1165053) 2016-03-28 06:49:58 +09:00
Tooru Fujisawa d0a11af789 Backed out changeset 27189d8e678d (bug 1165053) 2016-03-28 06:49:58 +09:00
Tooru Fujisawa a8a8cdb5e9 Backed out changeset 51249df95c69 (bug 1165053) 2016-03-28 06:49:58 +09:00
Tooru Fujisawa f31d053fad Backed out changeset 77117d1570b1 (bug 1165053) 2016-03-28 06:49:57 +09:00
Tooru Fujisawa 6a4fabef62 Backed out changeset 504f235c11ce (bug 1165053) 2016-03-28 06:49:57 +09:00
Tooru Fujisawa b3fa2814b9 Backed out changeset 17a5a95bf6cc (bug 1233642) 2016-03-28 06:49:57 +09:00
Tooru Fujisawa 35d4dbe850 Backed out changeset b535cc24f7d0 (bug 1233642) 2016-03-28 06:49:57 +09:00
Tooru Fujisawa 3efb5bd9c2 Backed out changeset 8825d25eab2d (bug 1165052) 2016-03-28 06:49:57 +09:00
Tooru Fujisawa 72a15704e9 Backed out changeset 2a3147dc1003 (bug 1165052) 2016-03-28 06:49:57 +09:00
Tooru Fujisawa a7baf2b4fc Backed out changeset 5e02cbf51e45 (bug 1165052) 2016-03-28 06:49:57 +09:00
Tooru Fujisawa 0c21285c57 Backed out changeset fdbb1c215d78 (bug 1165052) 2016-03-28 06:49:56 +09:00
Tooru Fujisawa b0f74a8c6b Backed out changeset cb171b15a882 (bug 1165052) 2016-03-28 06:49:56 +09:00
Tooru Fujisawa b5f61d2a75 Backed out changeset 0344adae92f3 (bug 1165052) 2016-03-28 06:49:56 +09:00
Tooru Fujisawa 65ee39fbf2 Backed out changeset aa59399ae8e0 (bug 1165052) 2016-03-28 06:49:56 +09:00
Tooru Fujisawa 23028dc2aa Backed out changeset 0c725d3463f1 (bug 1165052) 2016-03-28 06:49:56 +09:00
Tooru Fujisawa 92106bd9fd Backed out changeset e49d0dfcaa5c (bug 1165052) 2016-03-28 06:49:56 +09:00
Tooru Fujisawa d4c12c56c8 Backed out changeset 5d13efb13fec (bug 1165052) 2016-03-28 06:49:56 +09:00
Tooru Fujisawa b2ab491fa0 Backed out changeset e682faee5bff (bug 1165052) 2016-03-28 06:49:56 +09:00
Tooru Fujisawa 71874ab94b Backed out changeset 5e108d752209 (bug 1165052) 2016-03-28 06:49:56 +09:00
Tooru Fujisawa 8113cda77c Backed out changeset 52a142a57bf6 (bug 1165052) 2016-03-28 06:49:55 +09:00
Tooru Fujisawa 72c00fa642 Backed out changeset 10621b5e7de5 (bug 887016) 2016-03-28 06:49:55 +09:00
Tooru Fujisawa 128a910b68 Backed out changeset adca5076bc46 (bug 887016) 2016-03-28 06:49:55 +09:00
Tooru Fujisawa 02f82130f5 Backed out changeset 043f06dd9135 (bug 887016) 2016-03-28 06:49:55 +09:00
Tooru Fujisawa 6f2391f9f9 Backed out changeset 67346678966f (bug 887016) 2016-03-28 06:49:55 +09:00
Tooru Fujisawa 771965e01f Backed out changeset b77cb94666ca (bug 887016) 2016-03-28 06:49:55 +09:00
Tooru Fujisawa 93f1e442be Backed out changeset 56e25768c99a (bug 887016) 2016-03-28 06:49:55 +09:00
Tooru Fujisawa a8c4d852ec Backed out changeset dee348be6685 (bug 887016) 2016-03-28 06:49:54 +09:00
Tooru Fujisawa c1b73afff6 Backed out changeset 4be734a14524 (bug 887016) 2016-03-28 06:49:54 +09:00
Tooru Fujisawa ab25ebfb49 Backed out changeset 537d40121b6d (bug 887016) 2016-03-28 06:49:54 +09:00
Tooru Fujisawa 0be2d6fd80 Backed out changeset f23a61067cef (bug 887016) 2016-03-28 06:49:54 +09:00
Tooru Fujisawa 1a7246417a Backed out changeset f373233a8c82 (bug 887016) 2016-03-28 06:49:54 +09:00
Tooru Fujisawa 33adcddf77 Backed out changeset 716a5a6539d7 (bug 887016) 2016-03-28 06:49:54 +09:00
Tooru Fujisawa 7a09a0d6d7 Backed out changeset 01da4d30fd11 (bug 887016) 2016-03-28 06:49:53 +09:00
Tooru Fujisawa b4262a84d4 Backed out changeset 7db6a99ec546 (bug 887016) 2016-03-28 06:49:53 +09:00
Tooru Fujisawa 0335cde994 Backed out changeset 817e8aab2348 (bug 887016) 2016-03-28 06:49:53 +09:00
Tooru Fujisawa 599d9b7e14 Backed out changeset 58946916593b (bug 887016) 2016-03-28 06:49:53 +09:00
Tooru Fujisawa daf8fc1ae7 Backed out changeset b903c18bbb32 (bug 887016) 2016-03-28 06:49:53 +09:00
Tooru Fujisawa 2031ec8443 Bug 887016 - Part 17: Mark sunspider/check-string-unpack-code.js timeout on cgc jittest. r=till 2016-01-15 14:50:14 +09:00
Tooru Fujisawa 9adec29b39 Bug 887016 - Part 16: Use RegExpSearcher in RegExp.prototype[@@search] optimized path. r=till 2016-01-28 18:56:12 +09:00
Tooru Fujisawa 71b182b38f Bug 887016 - Part 15: Use RegExpSearcher in RegExp.prototype[@@replace] optimized path. r=till 2016-01-28 18:56:09 +09:00
Tooru Fujisawa d1bd26b205 Bug 887016 - Part 14: Add RegExpSearcher. r=h4writer 2016-01-28 18:56:02 +09:00
Tooru Fujisawa 6b1b1f0a0b Bug 887016 - Part 13: Implement RegExp.prototype[@@split] and call it from String.prototype.split. r=h4writer,till 2015-09-05 22:01:43 +09:00
Tooru Fujisawa 9f7f609d44 Bug 887016 - Part 12: Implement RegExp[@@species] getter. r=evilpie 2015-10-25 02:19:03 +09:00
Tooru Fujisawa af196ee294 Bug 887016 - Part 11: Implement RegExp.prototype[@@replace] and call it from String.prototype.replace. r=h4writer,till 2015-09-05 22:01:41 +09:00
Tooru Fujisawa 39a8931577 Bug 887016 - Part 10: Implement RegExp.prototype[@@search] and call it from String.prototype.search. r=till 2015-09-05 22:01:40 +09:00
Tooru Fujisawa c77fd5e9a2 Bug 887016 - Part 9: Implement RegExp.prototype[@@match] and call it from String.prototype.match. r=till 2015-09-05 21:55:06 +09:00
Tooru Fujisawa 877fae40b2 Bug 887016 - Part 8: Add ObjectHasPrototype. r=nbp 2016-01-27 23:43:04 +09:00
Tooru Fujisawa 1b4d64f711 Bug 887016 - Part 7: Add RegExpInstanceOptimizable. r=nbp 2016-01-28 18:55:24 +09:00
Tooru Fujisawa e866ceb7f2 Bug 887016 - Part 6: Add RegExpPrototypeOptimizable. r=nbp 2015-11-22 03:07:36 +09:00
Tooru Fujisawa ca44f32c7d Bug 887016 - Part 5: Add HasOwnDataPropertyPure. r=jandem 2015-11-22 03:01:42 +09:00
Tooru Fujisawa 4c2c38e7dd Bug 887016 - Part 4: Add GetOwnNativeGetterPure. r=jandem 2015-11-22 03:01:02 +09:00
Tooru Fujisawa fbe37bdf2c Bug 887016 - Part 3: Add LookupOwnPropertyPure. r=jandem 2015-11-22 02:55:46 +09:00
Tooru Fujisawa 358b91a7cc Bug 887016 - Part 2: Add self-hosting RegExpCreate intrinsic. r=till 2015-11-22 02:55:45 +09:00
Tooru Fujisawa 64ec8d861c Bug 887016 - Part 1: Add native RegExpCreate. r=h4writer 2015-09-05 21:55:01 +09:00
Tooru Fujisawa 9768046d65 Bug 1165052 - Part 13: Add tests for ArraySpeciesCreate. r=efaust 2015-08-07 08:02:32 +09:00
Tooru Fujisawa bfb9cdbb28 Bug 1165052 - Part 12: Use ArraySpeciesCreate in Array.prototype.splice. r=efaust,evilpie 2015-12-23 13:30:58 +09:00
Tooru Fujisawa fed10eb387 Bug 1165052 - Part 11: Use ArraySpeciesCreate in Array.prototype.slice. r=efaust 2016-03-05 18:57:53 +09:00
Tooru Fujisawa d8a1a10ae2 Bug 1165052 - Part 10: Use ArraySpeciesCreate in Array.prototype.map. r=efaust 2015-08-07 08:02:18 +09:00
Tooru Fujisawa 87d38c6060 Bug 1165052 - Part 9: Use ArraySpeciesCreate in Array.prototype.filter. r=efaust 2015-08-07 08:02:14 +09:00
Tooru Fujisawa 0ad9aa8c7f Bug 1165052 - Part 8: Use ArraySpeciesCreate in Array.prototype.concat. r=efaust 2015-12-23 13:30:47 +09:00
Tooru Fujisawa 136d9cd232 Bug 1165052 - Part 7: Implement native ArraySpeciesCreate wrapper. r=efaust 2015-12-23 13:30:12 +09:00
Tooru Fujisawa beb1cb8a0a Bug 1165052 - Part 6: Implement self-hosted ArraySpeciesCreate. r=efaust 2015-12-23 13:28:38 +09:00
Tooru Fujisawa 05dfc47913 Bug 1165052 - Part 5: Inline IsWrappedArrayConstructor intrinsic. r=jandem 2015-11-16 09:01:56 +09:00
Tooru Fujisawa 3a18d80234 Bug 1165052 - Part 4: Inline IsConstructor intrinsic. r=jandem 2015-11-16 09:01:37 +09:00
Tooru Fujisawa 2026279fc4 Bug 1165052 - Part 3: Add IsWrappedArrayConstructor intrinsic. r=efaust 2015-12-23 12:46:35 +09:00
Tooru Fujisawa 6b7debe3ec Bug 1165052 - Part 2: Add IsArraySpecies. r=efaust 2015-12-23 12:43:15 +09:00
Tooru Fujisawa 34c808c8c7 Bug 1165052 - Part 1: Implement Array[@@species] getter. r=efaust 2015-08-07 07:53:32 +09:00
Tooru Fujisawa 7155770a42 Bug 1233642 - Part 2: Self-host Array.prototype.concat. r=efaust 2015-12-18 17:02:27 +09:00
Tooru Fujisawa 0586c2ef05 Bug 1233642 - Part 1: Add IsArray intrinsic. r=efaust 2015-12-19 19:51:32 +09:00
Tooru Fujisawa 4b31181e38 Bug 1165053 - Part 9: Add IsArrayBufferSpecies and avoid calling SpeciesConstructor on normal case. r=lth 2016-01-14 19:37:04 +09:00
Tooru Fujisawa 41b35cb5aa Bug 1165053 - Part 8: Add GetGetterPure. r=lth 2015-12-23 12:42:13 +09:00
Tooru Fujisawa b56636042a Bug 1165053 - Part 7: Call SpeciesConstructor in TypedArray ctors. r=lth 2016-03-05 18:57:51 +09:00
Tooru Fujisawa c032794aa6 Bug 1165053 - Part 6: Refactor TypedArrayObjectTemplate::fromArray. r=lth 2015-12-20 19:15:54 +09:00
Tooru Fujisawa 531fd4169d Bug 1165053 - Part 5: Add native SpeciesConstructor wrapper. r=lth 2015-12-20 19:15:09 +09:00
Tooru Fujisawa af741bb69b Bug 1165053 - Part 4: Add SpeciesConstructor tests for ArrayBuffer.prototype.slice. r=lth 2015-12-20 19:15:54 +09:00
Tooru Fujisawa 5482fe3cbe Bug 1165053 - Part 3: Add SpeciesConstructor tests for TypedArray.prototype.{filter,map,slice,subarray}. r=evilpie 2015-12-20 19:14:50 +09:00
Tooru Fujisawa 3078067bcb Bug 1165053 - Part 2: Implement %TypedArray%[@@species] getter and ArrayBuffer[@@species] getter. r=evilpie 2015-12-20 19:14:44 +09:00
Tooru Fujisawa 88b0db3d43 Bug 1165053 - Part 1: Handle when ArrayBuffer species constructor returns wrapped ArrayBuffer. r=jwalden 2016-01-14 15:11:26 +09:00
Tooru Fujisawa cb9286f0aa Bug 1165053 - Part 0.3: Inline ArrayBufferByteLength self-hosting intrinsic. r=jwalden 2016-03-05 18:56:37 +09:00
Tooru Fujisawa 863f2c7e9c Bug 1165053 - Part 0.2: Inline PossiblyWrappedArrayBufferByteLength self-hosting intrinsic. r=jwalden 2016-03-05 18:56:36 +09:00
Tooru Fujisawa 2e027fb88d Bug 1165053 - Part 0.1: Add PossiblyWrappedArrayBufferByteLength self-hosting intrinsic. r=jwalden 2016-03-05 18:56:36 +09:00
Jan de Mooij 097454bf25 Bug 1256298 - Make DoCallFallback consume a bit less stack space. r=Waldo
--HG--
extra : rebase_source : f50088c9df0ccac1cf397dbf5136fac8f74e756d
2016-03-26 19:52:30 +01:00
Jan de Mooij a5da57cddc Bug 1258105 - Port object length stubs to CacheIR. r=efaust 2016-03-26 13:22:12 +01:00
Tooru Fujisawa 088a697b40 Bug 1258327 - Part 7: Move ToOperand from CodeGeneratorShared to CodeGeneratorX86Shared. r=nbp 2016-03-26 09:40:23 +09:00
Tooru Fujisawa 0637c368c5 Bug 1258327 - Part 6: Remove ToOperand call from mips-shared and mips64 CodeGenerator. r=hev 2016-03-26 09:40:23 +09:00
Tooru Fujisawa f73a73f6bf Bug 1258327 - Part 5: Remove dummy ToOperand definition from arm64 CodeGenerator. r=jandem 2016-03-26 09:40:23 +09:00
Tooru Fujisawa 6bc0e03a9f Bug 1258327 - Part 4: Remove ToOperand call from arm CodeGenerator. r=jandem 2016-03-26 09:40:23 +09:00
Tooru Fujisawa 0865d8e0cd Bug 1258327 - Part 3: Remove Operand variant from branch32 except x86-shared. r=nbp 2016-03-26 09:40:22 +09:00
Tooru Fujisawa 9175c8771e Bug 1258327 - Part 2: Remove Operand variant from bailoutCmp32. r=nbp 2016-03-26 09:40:22 +09:00
Tooru Fujisawa f4cf54780c Bug 1258327 - Part 1: Move ToAddress from CodeGeneratorMIPSShared to CodeGeneratorShared. r=hev 2016-03-26 09:40:22 +09:00
Nathan Froyd 4293df4c63 Bug 1259772 - don't pass -fno-reorder-functions to clang on Android; r=glandium 2016-03-25 18:28:32 -04:00
Steve Fink acb7e66cb5 Bug 944164 - Update jorendb to current function names, and much else:
Change how I/O redirection works
Add brief output format
Implement p/flags
Many other changes
r=NPOTB so DONTBUILD, and I am the only user

MozReview-Commit-ID: 2sAxYcYHs72

--HG--
extra : rebase_source : eb73c3d59c2622aa168d0cb05abcb0492fa08ee5
2016-03-25 10:52:43 -07:00
Phil Ringnalda 4204667ede Back out 735da799e3bb (bug 1211723) for assertion failures and crashes in SharedImmutableStringsCache
CLOSED TREE
2016-03-29 21:57:51 -07:00
Eric Faust ef48766d83 Bug 1260577 - Fix |obj[expr] += e2| erroneously calling expr.toString() twice. (r=till) 2016-03-29 16:46:20 -07:00
Nick Fitzgerald 35e15a7ddb Bug 1211723 - Share JS source text between JSRuntimes; r=jimb
This commit adds `SharedImmutableStringsCache` which allows for de-duplication
and sharing of immutable strings between threads and JSRuntimes.

Each JSRuntime gets a SharedImmutableStringsCache member, but the accessor
always returns the parent runtime's cache. The caches in child JSRuntime's are
not wasting space, however, as initialization and allocation of the table
happens lazily within SharedImmutableStringsCache.

Furthermore, this commit removes `js::ScriptSource::Parent` and the
`CompressedSourceSet`. They are unnecessary because source text is always shared
via the parent runtime's `SharedImmutableStringsCache` now.
2016-03-29 15:15:47 -07:00
Mike Hommey 96b6664c24 Bug 1257516 - Rename error() to die() and make it take arguments like the logging module. r=ted 2016-03-30 06:59:44 +09:00
Nicholas Nethercote e114b226dc Bug 1259194 (part 4) - Separate js::ObjectOps from js::Class. r=efaust,mrbkap,bz.
js::ObjectOps is often all null. When it's not all null, it's often duplicated
many times among classes. By pulling it out into its own struct, and using a
(possibly null) pointer in js::Class, we can save 208 KiB per process on
64-bit, and half that on 32-bit.

--HG--
extra : rebase_source : 5be8fe45f652392571b8a6d7b63777cbafba6ae4
2016-03-24 07:00:29 +11:00
Nathan Froyd cccdd9fbca Bug 1177488 - use |const char*| for representing async call reasons; r=bz,fitzgen
Using a simple |const char*| is more memory-efficient than allocating a
JS string. We still have to allocate the JS string for passing things
into JS, but ideally we will be able to move the point of allocation
much closer to where it's actually needed, rather than indiscriminantly
doing it all the time.
2016-03-23 10:40:53 -04:00
Jeff Walden 3ef9bb2477 Bug 1259877 - Rename Invoke[GS]etter to Call[GS]etter, more in line with the spec's calling nomenclature. r=jorendorff
--HG--
extra : rebase_source : 4a810f7b6b6fc6a9849b827b8a593251e02cc915
2016-03-10 21:46:10 -08:00
Jeff Walden 7e3a50ba41 Bug 1259877 - Remove the unused JSObject::callMethod. r=jorendorff
--HG--
extra : rebase_source : 23a67cdd21e564d7f6575ec85a19b7c093cdddc7
2016-03-18 17:56:15 -07:00
Jeff Walden a1b0adad7b Bug 1259877 - Remove jsarray.cpp's now-unused SortComparatorFunction. r=mrrrgn
--HG--
extra : rebase_source : 39f56e9232cc09c2a64749731a607c270b741172
2016-03-21 15:51:01 -07:00
Jeff Walden eaedb4a7ed Bug 1259877 - Intl.cpp:GetInternals should directly return its result, not go via outparam. r=till
--HG--
extra : rebase_source : 5e3d0ff09fc3604f32641428f672c54f45d43937
2016-03-18 17:41:01 -07:00
Nicolas B. Pierron 79a7becbc8 Bug 1259476 - Branch Pruning: Check if the Phi nodes have removed uses after popping them out of the worklist. r=jandem 2016-03-29 13:43:22 +00:00
Tobias Schneider 9dd3cff0b6 Bug 1237198 - Block SWFs on the content blocking list hosted on the Shavar service. r=francois 2016-03-29 00:37:44 -07:00
Mike Shal 22bd1820b5 Bug 1252931 - Remove INSTALL/PP_TARGETS from js/src/*; r=gps
MozReview-Commit-ID: Lb0V5x1aP7z
2016-03-18 19:32:45 -04:00
Jon Coppeard 86a9981bc9 Bug 1258436 - Remove GC suppression in JSFunction::createScriptForLazilyInterpretedFunction. r=sfink 2016-03-23 02:30:00 -04:00
Nick Fitzgerald 9b4df5f594 Bug 1259540 - Fix missing header include that breaks FILES_PER_UNIFIED_FILE=1. r=till 2016-03-24 12:10:00 -04:00
Wes Kocher ea76ed99d7 Backed out changeset 95494e68c722 (bug 1177488) for crashes in test_bug732665.xul CLOSED TREE
MozReview-Commit-ID: IFUHUBUCnCD
2016-03-25 12:11:48 -07:00
Wes Kocher 3ce5bf8db5 Backed out changeset 8e8e5cdc1ff4 (bug 1259007) for browser_ext_browserAction_pageAction_icon.js failures
MozReview-Commit-ID: ZFPSFB0jmw
2016-03-25 10:46:22 -07:00
4esn0k a4142bfd1f Bug 1259007 - Update for Merge to use only one buffer; r=mrrrgn
--HG--
extra : rebase_source : 7d1c6716513d401bd04aa5a879cb6cdba6f68e7f
2016-03-24 17:39:13 -07:00
Nathan Froyd 418aa2af4f Bug 1177488 - use |const char*| for representing async call reasons; r=bz,fitzgen
Using a simple |const char*| is more memory-efficient than allocating a
JS string. We still have to allocate the JS string for passing things
into JS, but ideally we will be able to move the point of allocation
much closer to where it's actually needed, rather than indiscriminantly
doing it all the time.
2016-03-23 10:40:53 -04:00
Jan de Mooij f0acf4dfcc Bug 1247312 - Don't generate invalid LDRD instructions on ARM. r=nbp 2016-03-25 12:25:52 +01:00
Shu-yu Guo 1277f4579f Bug 1252464 - Remove FrameRange cray cray in favor of using GCVectors. (r=jimb) 2016-03-24 15:42:39 -07:00
Francois Marier 63c2afbc28 Bug 1259288 - Safe Browsing should be fully disabled in our test suites. r=gcp
MozReview-Commit-ID: 2og99Gl9w9n

--HG--
extra : rebase_source : 33961d97454e71e5b7fc3ad5f9eb145099c0fc6e
2016-03-23 17:59:55 -07:00
Gregory Szorc 7ca3e9dc57 Bug 1186060 - Build with Visual Studio 2015 Update 1; r=ted, ehsan
This commit switches Windows builds from Visual Studio 2013
to Visual Studio 2015 Update 1.

Previously, Visual Studio was installed on the builders as part
of the base system image. Starting with this commit, we obtain
Visual Studio from a pre-generated, self-contained archive
containing the executables, Windows SDK, and other support
files. This means that new Windows toolchains can be installed
without having to modify configuration of machines in automation!

The mozconfigs for Visual Studio 2015 are a bit different from
existing mozconfigs.

Because it appears to be completely redundant and not necessary,
the LIBPATH variable has been dropped.

The order of paths in PATH, LIB, and INCLUDE has changed. The new
order more accurately reflects what would be defined by
vcvarsall.bat.

As part of switching to Visual Studio 2015, the Universal CRT is
now required. So, the 2015 mozconfigs export WIN_UCRT_REDIST_DIR
to define the location to those files.

The switch to Visual Studio 2015 also involves the switch from
the Windows 8.1 SDK to the Windows 10 SDK. However, we still
target an old version of Windows, so this hopefully shouldn't
have any significant fallout.

It's worth noting that switching to Visual Studio 2015 makes
builds - especially PGO builds - significantly faster. Our
PGO build times in automation are ~1 hour faster. Our regular
builds appear to be a few minutes faster.

MozReview-Commit-ID: Pa5GW8V87Q

--HG--
extra : rebase_source : bff4fad17f781d8d21bdb941bdd500955d1e9f08
extra : amend_source : faa3038c290fdf5cdd3e24a45ba2a37490f68c17
extra : source : 56b27306d3257445f70374aa78fc5bd42ef300ce
2016-03-24 09:12:19 -07:00
Jan de Mooij 4dd42983c5 Bug 1233921 - Fix profiler crash when we're doing a debugger bailout. r=shu
--HG--
extra : rebase_source : 481f79748327a7b32261725738469167220344cd
2016-03-24 16:50:28 +01:00
Steve Fink 7d98cffc64 Bug 1257722 - Prevent stdout/stderr from getting closed, r=jorendorff
--HG--
extra : rebase_source : 24c5cd83bb3f42d15d27433445694e74d2cc1f8a
2016-03-23 09:23:13 -07:00
Pip 7b1dd2c692 Bug 1258632 - Distinguish signed/unsigned MDiv/MMod in GVN. r=bbouvier
Modify the congruentTo method of MDiv and MMod opcodes to take into
account signedness, which is necessary for correct code generation.

--HG--
extra : rebase_source : 73037989ae280384c9bb2fd21f5e58243f06da4f
2016-03-22 09:41:00 +01:00
Nick Fitzgerald ba85a895cf Bug 1258535 - Part 0: Add more and stronger asserts that SavedStacks-related JSAPI methods are called correctly; r=jandem
--HG--
extra : rebase_source : 2fc39fbc35478283acba54a9ee44855df7a51b04
2016-03-23 13:26:00 +01:00
Tom Schuster 96226d8425 Bug 875433 - Implement Array.prototype.values. r=jorendorff.
--HG--
extra : commitid : COQ24oLNaPl
extra : rebase_source : 800c882bfae5481e3580a2e4de00bac1cda1a57f
2016-03-21 10:44:35 -05:00
Jason Orendorff d738e7170c Bug 1258163 - Implement Array.prototype[@@unscopables]. r=shu, r=bholley.
--HG--
extra : commitid : 56kAI0JkVDz
extra : rebase_source : a328ca4df3406bff9ff0d7c8fedb1a04c77ae4e6
2016-03-23 12:17:58 -05:00
Jason Orendorff 9ce1b63b98 Bug 1054759 - Part 2: ES6 Symbol.unscopables. r=shu.
--HG--
extra : commitid : Jo4Umn8SDxR
extra : rebase_source : 61729004d0f31b2882106204addc5901c398bc11
2015-12-09 10:42:40 -05:00
Jason Orendorff 9c43ff9d2e Bug 1054759 - Part 1: Reinstate JS_FOR_EACH_WELL_KNOWN_SYMBOL. r=shu.
--HG--
extra : commitid : KeRbmyYsyyb
extra : rebase_source : 62df15c861dbcf2cfebb422fcfdc28edfe9c3995
2016-03-15 09:52:46 -05:00
Jan de Mooij c8691fd70c Bug 1258349 - Remove a bogus assert. r=efaust 2016-03-24 15:25:41 +01:00
Jan de Mooij 8ec2ffd60c Bug 1258301 - Use TraceNullableEdge for CacheIR pointers. r=jonco 2016-03-24 15:25:25 +01:00
Jan de Mooij ea2850d95e Bug 1255949 - Check fallible flag in MBoundsCheck::congruentTo. r=h4writer 2016-03-24 15:09:49 +01:00
Jan de Mooij aefea38a98 Bug 1254622 - Relookup group->newScript in CreateThisForFunctionWithGroup. r=bhackett 2016-03-24 15:09:41 +01:00
Benjamin Bouvier ffdfd4717f Bug 1215834: Followup to add sys to the list of imports; r=jonco
MozReview-Commit-ID: KCUKi4xPo68

--HG--
extra : rebase_source : ce3291595a89d640c3c4bd01194728814faeaed3
extra : histedit_source : 1d3e966a13511cf7b1776af383cc07cb92181234
2016-03-24 11:13:39 +01:00
Martin Thomson 2238c2d4d1 Bug 1258299 - Move RTCIdentityProvider to a dictionary, r=jib,khuey
MozReview-Commit-ID: K97lKyhlsW8
2016-03-24 16:12:56 +11:00
Heiher 83da00f716 Bug 1258910 - OdinMonkey: MIPS64: Implement AsmSelectI64. r=bbouvier
---
 js/src/jit/mips64/CodeGenerator-mips64.cpp | 21 +++++++++++++++++++++
 js/src/jit/mips64/CodeGenerator-mips64.h   |  1 +
 2 files changed, 22 insertions(+)
2016-03-24 11:51:30 +08:00
Heiher 2de1fdd4f0 Bug 1258910 - OdinMonkey: MIPS: Implement AsmSelect. r=bbouvier
---
 .../jit/mips-shared/CodeGenerator-mips-shared.cpp  | 41 ++++++++++++++++++++++
 js/src/jit/mips-shared/CodeGenerator-mips-shared.h |  1 +
 js/src/jit/mips-shared/Lowering-mips-shared.cpp    | 21 +++++++++++
 js/src/jit/mips-shared/Lowering-mips-shared.h      |  1 +
 4 files changed, 64 insertions(+)
2016-03-24 11:51:25 +08:00
Heiher cb6c8447ab Bug 1258910 - IonMonkey: MIPS: Implement float-point conditional move instructions. r=huangwenjun06
---
 js/src/jit/mips-shared/Assembler-mips-shared.cpp | 30 ++++++++++++++++++++++++
 js/src/jit/mips-shared/Assembler-mips-shared.h   | 12 ++++++++++
 2 files changed, 42 insertions(+)
2016-03-24 11:51:20 +08:00
Gregory Szorc 449929f5a5 Bug 1124033 - Replace blanket disabling of VS2015 warnings with C5026 and C5027; r=ehsan
Wv:18 was added in bug 1119072 as a quick way to get the tree building
with VS2015. Now that we're closer to rolling out VS2015 support, we
want to expose its new warnings.

This patch replaces the blanket disabling of new warnings in VS2015 with
just disabling C5026 and C5027, which relate to symbols being implicitly
defined as deleted.

MozReview-Commit-ID: 8uniydfNJns

--HG--
extra : rebase_source : 5ca239cd20216e89115d1faeffc036b6eecb85ca
2016-03-23 17:12:56 -07:00
Gregory Szorc 6a9168778b Bug 1124033 - Disable C4311 and C4312 in directories exhibiting warnings; r=ehsan
There are a long tail of C4311 and C4312 warnings in VS2015. Rather than
wait until all of them are fixed to land VS2015, we're taking the easy
way out and disabling these warnings in every directory currently
exhibiting a warning. This is evil. But it is a lesser evil than
globally disabling C4311 and C4312. At least with this approach new
C4311 and C4312 warnings in directories that aren't suppressing them
shouldn't be introduced.

MozReview-Commit-ID: 2cwWrjMD6B9

--HG--
extra : rebase_source : 3e7b8ea042765fdf138f5ca93a0f9dab75a95fcd
2016-03-23 17:19:20 -07:00
Mike Hommey 90692a1ac0 Bug 1257823 - Move add_old_configure_assignment() to the global scope. r=nalexander
Similar to set_config, set_define and imply_option, but this is a
sandboxed function that stays sandboxed.
2016-03-24 09:04:28 +09:00
Mike Hommey 6a8ed3e4a8 Bug 1257823 - Move imply_option() to the global scope. r=nalexander
Like set_config and set_define, we move imply_option to the global
scope.
2016-03-24 09:04:28 +09:00
Mike Hommey e5cde501da Bug 1257823 - Move set_define() to the global scope. r=nalexander
For the same reasons as set_config is being moved to the global scope,
we're moving set_define to the global scope here. An additional change
is that set_define is now part of the sandbox itself instead of being
defined within the sandbox, which makes it share the implementation
details with set_config.
2016-03-24 09:04:28 +09:00
Mike Hommey 7cd6c430c1 Bug 1257823 - Move set_config() to the global scope. r=nalexander
The way set_config is set currently makes it difficult to introspect
moz.configure files to know what configuration items are being set,
because they're hidden in the control flow of functions.

This makes some of the moz.configure more convoluted, but this is why
there are templates, and we can improve the recurring cases afterwards.
2016-03-24 09:04:28 +09:00
Jeff Walden b02d8dd82e Bug 1257779 - Lower a loop-limit (number selected by some local experimentation) to avoid cgc timeouts. r=orange in a CLOSED TREE 2016-03-23 16:29:46 -07:00
Eric Faust 375ac321d2 Bug 1254122 - Don't bother saving scratch registers across TypeUpdate IC calls. (r=jandem) 2016-03-23 14:43:36 -07:00
Jeff Walden 3c177ea848 Bug 1257779 - Don't make scripted proxies' [[OwnPropertyKeys]] have non-linear behavior in certain cases. r=jonco, r=evilpie
--HG--
extra : rebase_source : be94830d99b229d01a7e4b9f82a140250e5c9d36
2016-03-18 16:45:07 -07:00
Jeff Walden 1dd8dbc3f7 Bug 1246061. r=jandem, r=bz, r=luke, r=froydnj
--HG--
extra : rebase_source : 5b314d4c4c6e0b553290884be7338f8e79c22f71
2016-03-09 00:37:20 -08:00
Jeff Walden 8473d1c60c Bug 1257758 - Adjust step numbering in scripted proxy code to be ES6-correct. r=evilpie
--HG--
extra : rebase_source : f72996471ff4d64a09036df2be619dc6409f249c
2016-03-18 16:44:23 -07:00
Jeff Walden 4503efe0f9 Bug 1257077 - Implement js::Fixed{Invoke,Construct}Args for args of statically-known count, avoiding js::{Invoke,Construct}Args's fallibility. Also implement js::Any{Invoke,Construct}Args as base classes for args, whether or not their count is statically known. r=efaust
--HG--
extra : rebase_source : af364905498c6cf146c2bf6f1640363b8b4aa048
2016-03-18 16:44:23 -07:00
Wes Kocher 34bdd69103 Backed out changeset af93bc155267 (bug 1257929) for failing the newly added assertions
MozReview-Commit-ID: AtMlqXDQaAA
2016-03-23 12:26:40 -07:00
Benjamin Bouvier 1d15c0b202 Bug 1253344: Defer br/br_if/br_table then-block definition to avoid indirections; r=sunfish
MozReview-Commit-ID: FeXMs4M7jHJ

--HG--
extra : rebase_source : c3f10f3dfca091733bb1edefd27e107d52108632
2016-03-23 19:57:58 +01:00
Benjamin Bouvier 2aa9a296cc Bug 1253344: Remove unused pushPhi/popPhi in WasmIonCompile; r=luke
MozReview-Commit-ID: 4Il1Xisw0Ns

--HG--
extra : rebase_source : a91aad87c321b46df8934ffe79e1ea1772e30188
2016-03-17 16:29:59 +01:00
Nicolas B. Pierron 28a96e4120 Bug 1258748 - adjustPhiInputs: Add MBox in the predecessor block instead of the definition block. r=jolesen 2016-03-23 19:03:40 +00:00
Nicolas B. Pierron 8064d05be4 Bug 1247915 - IonMonkey adjustPhiInputs: Handle Phi operands artifact left by removing branches early. r=h4writer 2016-03-23 19:03:39 +00:00
Nicolas B. Pierron bd7eb8e93a Bug 1257929 - Instruction Reordering: Do not move instructions above the safeInsertTop location. r=bhackett 2016-03-23 18:03:11 +00:00
Nicolas B. Pierron 98bf3f26e5 Bug 1257929 - Add assertions to ensure the safety of entry resume point encoding. r=h4writer 2016-03-23 18:03:11 +00:00
Nicolas B. Pierron 5d2910130b Bug 1247909 - Move MFunctionEnvironment after the entry resume points operands. r=h4writer 2016-03-23 18:03:10 +00:00
Benjamin Bouvier f1ca01f79f Bug 1258999: Check for OOM after flushing pools when merging MacroAssemblers; r=efaust
MozReview-Commit-ID: 19IdBYtzqHZ

--HG--
extra : rebase_source : 8f6f7c36cfbb9f2ea687f537b846ec83a3bd2c19
2016-03-23 17:49:24 +01:00
Nicolas B. Pierron 33e5f1d53c Bug 1254203 - SnapshotIterator::maybeRead use AutoEnterOOMUnsafeRegion instead of MOZ_CRASH. r=jandem 2016-03-23 16:34:34 +00:00
Boris Zbarsky 9d00c4004b Bug 1255817 part 5. Remove the now-unused xpc::SystemErrorReporter. r=bholley 2016-03-23 11:44:54 -04:00
Boris Zbarsky fb54936d49 Bug 1255817 part 4. Make XPCJSRuntime use MozCrashErrorReporter by default, now that there should be no stray JS_ReportPendingException calls. r=bholley 2016-03-23 11:44:54 -04:00
Boris Zbarsky c4652e0bab Bug 1255817 part 3. Remove the now-unreachable JS_ReportPendingException call in nsXPCWrappedJSClass::CallQueryInterfaceOnJSObject. r=bholley 2016-03-23 11:44:54 -04:00
Boris Zbarsky e3b2de6aa9 Bug 1255817 part 2. Get rid of AutoJSAPI::OwnsErrorReporting and AutoJSAPI::TakeOwnershipOfErrorReporting. r=bholley 2016-03-23 11:44:54 -04:00
Boris Zbarsky d31cf3a233 Bug 1256342. Fix typed array iteration to work correctly over Xrays. r=till 2016-03-22 13:49:36 -04:00