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

53716 Коммитов

Автор SHA1 Сообщение Дата
Gregory Szorc 44df4a390e Bug 1257005 - Don't use debug runtime in standalone SpiderMonkey builds; r=glandium
This patch effectively synchronizes code from old-configure.in to
js/src/old-configure.in. Before, the top-level configure would set
MOZ_NO_DEBUG_RTL when using MOZ_MEMORY on Windows. This would get
inherited when the top-level configure invoked the js/src configure.

Since js/src's configure didn't have the same code, we never set
MOZ_NO_DEBUG_RTL when running a standalone js/src configure. This caused
the debug runtime to be used in standalone SpiderMonkey builds.

There is still some code in the root old-configure.in around CRT
handling that js/src/old-configure.in doesn't have. This will
likely get consolidated as part of the conversion to configure.py.

MozReview-Commit-ID: CD834DhIlLS

--HG--
extra : rebase_source : 9252c0166acf7ac5c760d530ca1dcbb740adb3e2
extra : source : a007293e6ab06df203c09a5535f5591667c45af2
2016-03-15 19:20:35 -07:00
Gregory Szorc 54f6848af2 Backed out changeset a007293e6ab0 (bug 1257005)
SM(p) failures.
2016-03-15 18:33:33 -07:00
Gregory Szorc f4a5fb8079 Bug 1257005 - Don't use debug runtime in standalone SpiderMonkey builds; r=glandium
This patch effectively synchronizes code from old-configure.in to
js/src/old-configure.in. Before, the top-level configure would set
MOZ_NO_DEBUG_RTL when using MOZ_MEMORY on Windows. This would get
inherited when the top-level configure invoked the js/src configure.

Since js/src's configure didn't have the same code, we never set
MOZ_NO_DEBUG_RTL when running a standalone js/src configure. This caused
the debug runtime to be used in standalone SpiderMonkey builds.

MozReview-Commit-ID: CD834DhIlLS

--HG--
extra : rebase_source : c0ae3a5308ff9525c63b949a40504180c47ce5fb
2016-03-15 16:27:28 -07:00
Mike Hommey 9015326e32 Bug 1256990 - Move tar detection to moz.configure. r=chmanchester 2016-03-16 08:26:47 +09:00
Mike Hommey ad3d599d5f Bug 1256584 - Remove AC_PROG_INSTALL and AC_PROG_LN_S. r=gps
We don't use the result of those tests:
- INSTALL is set in config.mk to something derived from NSINSTALL.
- LN_S is never used.
2016-03-16 07:12:53 +09:00
Mike Hommey 377f0ec95c Bug 1256512 - Move TARGET_CPU and TARGET_OS to moz.configure. r=chmanchester
And remove the unused TARGET_VENDOR
2016-03-16 07:12:53 +09:00
Steve Fink 5acfe256eb Bug 1246804 followup to fix mode bits
--HG--
extra : rebase_source : b0d234d2814c7400a5f0d6c8414b4bdec5f32bd8
2016-03-15 10:58:25 -07:00
Hannes Verschore b77dc68db3 Bug 1250964: SharedStubs - Remove bogus assert, r=bogus on CLOSED TREE 2016-03-15 13:35:07 -04:00
Benjamin Bouvier 10477e49cf Bug 1254167: Don't allow folding to full range for atomic accesses; r=sunfish
MozReview-Commit-ID: 23Gj5nV3oqq

--HG--
extra : rebase_source : 78a0dc0e271300eb73b54936823fe196d86c4296
extra : amend_source : 1ad1df412d9e8d608e9cb9f80684362271ab5d23
2016-03-08 20:18:46 +01:00
Nicolas B. Pierron a69cc3e5ee Bug 1186006 - Assert that all blocks have an entry resume point, excepts for unreachable one added by the Value Numbering. r=sunfish 2016-03-15 16:55:43 +00:00
Nicolas B. Pierron 3a24c0c1be Bug 1186006 - Add a copy of the successor resume point to the split-edge blocks. r=bhackett 2016-03-15 16:55:42 +00:00
Hannes Verschore 474d0151fe Bug 1250964: SharedStubs - Don't add invalid stubs, r=jandem 2016-03-15 12:21:18 -04:00
Terrence Cole b958bb0b21 Bug 1256089 - Fix Mutex support for tier-3 platforms; r=froydnj 2016-03-14 10:43:19 -07:00
Steve Fink 517605b022 Bug 1246804 - Switch to using in-source annotations. Use C++ inheritance information when describing GC types. Add a test suite., r=terrence
MozReview-Commit-ID: HCcG2k8Wyb9

--HG--
extra : rebase_source : 732ef6ecc52f0e528d38b8c42e442919eba9b5ae
extra : source : 901b1c651c982ccbf42604231c723d168e1cde69
2015-09-29 13:39:33 -07:00
Jan de Mooij ce2ae4acbf Bug 1252432 part 4 - Implement wasm {f32,f64}.convert_{u,s}/i64 on x64. r=sunfish 2016-03-15 14:37:14 +01:00
Jan de Mooij b093982d24 Bug 1238694 - Limit the number of asm.js/wasm code allocations to avoid running into Linux kernel limits. r=luke 2016-03-15 14:33:07 +01:00
Jon Coppeard 81113c32fa Bug 1222420 - Make AutoFinishGC into a function r=terrence 2016-03-15 11:16:13 +00:00
Jon Coppeard 083cea5e81 Bug 1254108 - Remove incorrect assertion about heap size r=terrence 2016-03-15 11:16:13 +00:00
Heiher e64cff7210 Bug 1256588 - IonMonkey: MIPS64: Don't skip nops on Loongson by runtime flag. r=huangwenjun06
---
 js/src/jit/mips64/Assembler-mips64.cpp | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
2016-03-15 18:02:57 +08:00
Heiher d2f558905a Bug 1256588 - IonMonkey: MIPS: Implement isLoongson. r=huangwenjun06
---
 .../jit/mips-shared/Architecture-mips-shared.cpp   | 29 ++++++++++++----------
 js/src/jit/mips-shared/Architecture-mips-shared.h  |  1 +
 2 files changed, 17 insertions(+), 13 deletions(-)
2016-03-15 18:02:50 +08:00
Mike Hommey 986945d9e4 Bug 1256568 - Move doxygen, zip, unzip, xargs, rpmbuild, genisoimage and dsymutil detection to moz.configure. r=gps 2016-03-15 16:40:15 +09:00
Mike Hommey 254313370d Bug 1256568 - Move perl detection to moz.configure. r=gps 2016-03-15 16:40:15 +09:00
Mike Hommey 7aad9030cf Bug 1256568 - Move awk detection to moz.configure. r=gps 2016-03-15 16:40:15 +09:00
Mike Hommey 84027af8da Bug 1256507 - Remove --enable-xterm-updates. r=gps
It's an opt-in flag that allows to display where the build is in
terminal window titles. The fact that it's opt-in and likely unknown
makes it very low-value, and the fact that it was added in an era where
builds were not very well parallelized made it have a meaning, but now
that builds are parallelized, its meaningfulness is diminished.

Let's just remove it.
2016-03-15 16:40:15 +09:00
Nick Fitzgerald 1685818a63 Bug 1254092 - TraceIncomingCCWs should work at the JSCompartment level of granularity. r=jimb
There can be multiple compartments within the same zone, only one of which is a
debuggee. In this scenario, CCWs from other compartments into the debuggee
compartment should be traced and treated as roots. Therefore, dealing with CCWs
at the JS::Zone level is incorrect, and this patch changes the granularity level
to JSCompartments. If you look at the callers and uses of the function, it makes
much more sense now.

Additionally, it renames `JS_TraceIncomingCCWs` to `JS::TraceIncomingCCWs`.

--HG--
rename : devtools/shared/heapsnapshot/tests/gtest/DoesCrossZoneBoundaries.cpp => devtools/shared/heapsnapshot/tests/gtest/DoesCrossCompartmentBoundaries.cpp
rename : devtools/shared/heapsnapshot/tests/gtest/DoesntCrossZoneBoundaries.cpp => devtools/shared/heapsnapshot/tests/gtest/DoesntCrossCompartmentBoundaries.cpp
2016-03-14 16:11:00 +01:00
Steve Fink 57bca06b15 Backed out changeset 901b1c651c98 (bug 1246804)
--HG--
extra : rebase_source : d80a34f467275bf74672b87fd09a254b39ee20a1
2016-03-14 21:58:31 -07:00
Steve Fink 0e33cb9494 Backed out changeset 68e3c6430121 (bug 1250709)
--HG--
extra : rebase_source : bd6f14119dbae180817ddcfbfd9d57d2c7afc0b0
2016-03-14 21:58:24 -07:00
Steve Fink 842e7c17b9 Bug 1250709 - Clobber builds, r=terrence
--HG--
extra : rebase_source : c0eaa726c093d35de253df29ca60c13366ccab31
2016-02-24 15:14:17 -08:00
Steve Fink 2dada4b1a0 Bug 1246804 - Switch to using in-source annotations. Use C++ inheritance information when describing GC types. Add a test suite., r=terrence
MozReview-Commit-ID: HCcG2k8Wyb9

--HG--
extra : rebase_source : 4b048fdcb150662c82e1b623e455551cc7281251
2015-09-29 13:39:33 -07:00
Tooru Fujisawa 316ed99d0f Backed out changeset 083a4c3175a2 (bug 933257) 2016-03-15 08:15:09 +09:00
Tooru Fujisawa 51a605124e Backed out changeset f3b11c2b7dbf (bug 933257) 2016-03-15 08:15:09 +09:00
Tooru Fujisawa 888c069d36 Backed out changeset 41f59bd4b801 (bug 933257) 2016-03-15 08:15:08 +09:00
Tooru Fujisawa 0ae35aa9f0 Backed out changeset 3e5a91d06168 (bug 933257) 2016-03-15 08:15:08 +09:00
Tooru Fujisawa fbd3fbf5af Backed out changeset 4c1a64f8996a (bug 933257) 2016-03-15 08:15:08 +09:00
Mike Hommey d464f29e5f Bug 1255813 - Remove build system support for Solaris, HPUX and AIX. r=ted 2016-03-15 07:34:50 +09:00
Mike Hommey d33300555c Bug 1255305 - Move --host and --target to moz.configure. r=chmanchester
With all the things that still depend on all the variables derived from
--host and --target in both old-configure and moz.build, we still need
to keep variables such as OS_ARCH, OS_TARGET, CPU_ARCH, OS_TEST, etc.

Eventually, we'd settle on the output of split_triplet.

This /tries/ to preserve the current values for all these variables,
while also trying to make things a little more consistent. It also
effectively rejects OSes such as HPUX or AIX, because it is unclear
the decades old accumulated scripts related to them still do anything
useful, and we might as well have them start again from scratch, which,
in the coming weeks, will be even easier.
2016-03-15 07:34:50 +09:00
Daniel Holbert 72a2c5e871 Bug 837192 followup: In js::FunctionToString, fold variable into its only remaining usage-site (an assertion) to fix opt Werror build failures. rs=Waldo
CLOSED TREE
2016-03-14 14:43:14 -07:00
Eric Faust eacf1c6e1c Bug 1251921 - Do not call debugger hooks with half-initialized frame if InterpeterFrame::prologue fails. (r=jorendorff) 2016-03-14 14:29:12 -07:00
Terrence Cole 0dbab21c5c Bug 956899 - Implement an RAII unlocking primitive to compliment LockGuard; r=froydnj
--HG--
extra : rebase_source : 221708253087624629d62beab48f67dcf78d4eef
2016-03-10 09:07:59 -08:00
Terrence Cole e2cdffe257 Bug 956899 - Replace PRLock with Mutex in TraceLoggingGraph; r=h4writer
--HG--
extra : rebase_source : c46bd48c850f35261aa81e6fb593e762b93b9228
2016-03-03 10:27:57 -08:00
Jason Orendorff 65c31f545c Fix configure-time bustage from rev e2c9ab41a6c1 (bug 1049041) - I removed a mochitest without removing it from the manifest. r=red on a CLOSED TREE.
--HG--
extra : commitid : 6YFHEEEd3zd
extra : rebase_source : 6448710b05198fdabca10e04afe8cf5ac45b3532
2016-03-14 16:08:50 -05:00
Jason Orendorff aa43ed96ab Bug 1049041 - Remove scary warning about mutating [[Prototype]]. r=efaust.
--HG--
extra : commitid : JkYGz4dusnf
extra : rebase_source : e23ad9b51c9b5f0049edd96ca3cb1fea879b3289
2016-03-14 15:44:13 -05:00
Jason Orendorff 6d35e13d40 Bug 837192 - Stop trying to inject "use strict"; into Function.prototype.toString() output. r=Waldo.
--HG--
extra : commitid : y4pJwElwKV
extra : rebase_source : 9a31eee8a70c3cd2ad297a4f6457ead52a4523ce
2016-03-14 15:42:36 -05:00
Wes Kocher 168746512d Backed out changeset ee3c99e6f676 (bug 1177488) for LeakSanitizer failures
MozReview-Commit-ID: FFfF4u2vOrS

--HG--
extra : rebase_source : 0c7f5e290b388b2f35837a5f757f2d962b973da3
2016-03-14 13:15:21 -07:00
Jakob Olesen b509a203cc Bug 1252270 - SIMD: Coerce non-numeric indexes to load/store functions. r=lth
Follow the DataView functions and use Tonumber to coerce index arguments on the
load/store functions. Throw a RangeError when we see a non-integer index or a
number outside the range of the array.

See https://github.com/tc39/ecmascript_simd/issues/328

MozReview-Commit-ID: IpHkfPyywU0
2016-03-14 12:19:09 -07:00
Nathan Froyd 6b6c2a1fcd 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-08 16:29:25 -05:00
Nicolas B. Pierron f329668dd6 Bug 1252034 - Value Numbering: Unconditionally generate fixup blocks. r=sunfish 2016-03-14 18:10:16 +00:00
Terrence Cole fd33957a9b Bug 956899 - Replace PRLock with Mutex in TraceLogger; r=h4writer
--HG--
extra : rebase_source : ce25db425ac6024eecb40848de141c7f25769ab4
2016-03-03 10:27:57 -08:00
Terrence Cole ec791cf10a Bug 956899 - Replace PRLock with Mutex in JitSpewer; r=nbp
--HG--
extra : rebase_source : faa38a262ab411c6c781ae8e36197c29b1706773
2016-03-03 10:27:57 -08:00
Terrence Cole 9d131b35b6 Bug 956899 - Add a std::lock_guard work-alike; r=froydnj
--HG--
extra : rebase_source : c80c16798e2785f642a735bf4a24f859e202bee7
2016-03-03 10:27:57 -08:00