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

59424 Коммитов

Автор SHA1 Сообщение Дата
Luke Wagner ae252d1508 Bug 1343594 - Baldr: issue warning for binary-to-text on huge modules (r=yury)
MozReview-Commit-ID: F60JnOQB8G2

--HG--
extra : rebase_source : 3a5abbfd80cbee4dde9c3a313ae9b1f747d4093b
2017-03-02 16:49:46 -06:00
Luke Wagner 361811005e Bug 1343594 - Baldr: remove dead functionlocs (r=yury)
MozReview-Commit-ID: 2gkcP5rkQjM

--HG--
extra : rebase_source : 9d64dc791c141dbc37acd1dbb7bb629a6b443154
2017-03-02 16:49:08 -06:00
Wes Kocher 07e4f78152 Backed out changeset 76bf73578801 (bug 1339999) for spidermonkey failures a=backout
MozReview-Commit-ID: JUFGKn6m5Q7
2017-03-02 14:33:21 -08:00
Till Schneidereit 46e6d63397 Bug 1339999 - Properly handle OOM during exception throwing in all Promise code. r=arai
MozReview-Commit-ID: 2S5uosso0wN
2017-03-02 22:55:51 +01:00
André Bargull f4c81ce327 Bug 1343513. r=jandem
--HG--
extra : rebase_source : 56a42284dd36cc0fa5df3437fe0569b06dddc4fc
2017-03-02 08:33:24 -08:00
André Bargull c185fff942 Bug 1343375 - Update RegExp.prototype.replace and .match to call ToLength(lastIndex) for non-global RegExp and handle recompilations. r=arai 2017-03-02 06:51:18 -08:00
Lars T Hansen dac400d763 Bug 1333447 - ARM assembler: fast paths for putting simple instructions. r=nbp 2017-01-26 10:32:50 +01:00
Carsten "Tomcat" Book 9fe85d32f3 Backed out changeset 7453899cfe44 (bug 1333446) for landing with wrong bug number 2017-03-02 12:26:14 +01:00
Lars T Hansen 74511359e5 No bug: Keep 'none' target compiling, tip from jandem. r=me
--HG--
extra : rebase_source : 1fd6dd8119466298a9c8fdf8358e284e143ecc17
2017-03-02 10:00:20 +01:00
Lars T Hansen 1fa9ee95c9 Bug 1329676 - Wasm: eliminate redundant bounds checks on indirect calls. r=luke
--HG--
extra : rebase_source : b2d2f93ddd2ff9c9cce7541159488ac95f6c3a5a
extra : source : 511c518b767e6f7beb78e1d72cd94df380c5758f
2017-02-27 09:28:53 +01:00
Lars T Hansen d0e10d0f4a Bug 1333446 - ARM assembler: fast paths for putting simple instructions. r=nbp
--HG--
extra : rebase_source : 8fdcd9f0fe43684149e480a96fca6ebf965ec848
2017-03-02 09:40:38 +01:00
Jon Coppeard e37c8ad5d4 Bug 1343590 - Improve CallArgs gray marking assertions r=sfink 2017-03-02 10:23:15 +00:00
Jon Coppeard 82cbd987a2 Bug 1338623 - Add a slower but more exact gray marking check for checking correctness r=sfink r=mccr8 2017-03-02 10:22:47 +00:00
Sylvestre Ledru e0fb6996ea Bug 1342665 - Disable header sorting for js/ r=jolesen
MozReview-Commit-ID: Cj6WWwqv2R2

--HG--
extra : rebase_source : 4304a0d024a56616c9d135b13d07b9805c330a99
2017-03-01 11:56:48 +01:00
André Bargull d064f2c3ff Bug 1343043 - Part 2: Enable previously disabled test262 tests. r=shu 2017-02-27 13:39:58 -08:00
André Bargull 9f390ff099 Bug 1343043 - Part 1: Remove some global variables from shell.js and instead declare them locally in tests. r=shu 2017-02-27 13:51:39 -08:00
André Bargull f5150ddf41 Bug 1340146 - Part 2: Process js/src/shell JavaScript files as self-hosted in eslint plugin. r=evilpie 2017-02-27 09:55:21 -08:00
André Bargull 23a673a28d Bug 1340146 - Part 1: Normalize paths for module registry in shell module loader. r=jonco 2017-02-28 03:31:25 -08:00
Brian Hackett deb1eaae99 Bug 1341321 - Require runtimes to be single threaded when using a Debugger, r=jandem.
--HG--
extra : rebase_source : 42f88769ddd36082339664cad86acd1f6dff5d67
2017-03-01 07:15:50 -07:00
Carsten "Tomcat" Book b43c07a10c Merge mozilla-central to mozilla-inbound 2017-03-01 16:39:27 +01:00
Carsten "Tomcat" Book 3b3f4c17a2 merge mozilla-inbound to mozilla-central a=merge 2017-03-01 11:40:59 +01:00
Tooru Fujisawa bb44116931 Bug 1329113 - Use PropertyIteratorObject* in AutoCloseIterator. r=sfink 2017-03-01 13:34:45 +09:00
Tooru Fujisawa 8d91d7841a Bug 1342634 - Use --optimize/--no-optimize style in autospider.py r=sfink 2017-03-01 13:34:45 +09:00
Tooru Fujisawa 822174c52d Bug 1319638 - Part 2: Change line number of a function created by Function constructor to start from 1. r=shu 2017-03-01 13:34:45 +09:00
Nicolas B. Pierron 71e99a4d66 Bug 1341951 - Use override keyword for all virtual methods of Recover Instructions. r=Waldo 2017-03-01 13:36:50 +00:00
Nicolas B. Pierron 53e2d4c026 Bug 1341951 - Replace RInstructionStorage copy by a cloneInto function on every RInstruction. r=Waldo 2017-03-01 13:36:50 +00:00
Tooru Fujisawa e4598a4995 Bug 1343481 - Part 7: Add BytecodeEmitter::emitDotGenerator and make yield/await nodes unary. r=shu 2017-03-01 20:40:05 +09:00
Tooru Fujisawa c60d1be9c1 Bug 1343481 - Part 6: Add native functions wrapper for GetInternalError and GetTypeError. r=shu 2017-03-01 20:40:05 +09:00
Tooru Fujisawa ab32c358c6 Bug 1343481 - Part 5: Rename AsyncFunction-related names in Promise.cpp to explicitly say Async Function. r=shu 2017-03-01 20:40:05 +09:00
Tooru Fujisawa 242fbfe0d7 Bug 1343481 - Part 4: Add Add GeneratorObject.{isAfterYield,isAfterAwait}. r=shu 2017-03-01 20:40:05 +09:00
Tooru Fujisawa c6a69a3c6c Bug 1343481 - Part 3: Add JSOP_AWAIT and rename {yieldIndex,yieldOffset} to {yieldAndAwaitIndex,yieldAndAwaitOffset}. r=shu 2017-03-01 20:40:04 +09:00
Tooru Fujisawa 62afed54a5 Bug 1343481 - Part 2: Stop using StarGegerator for async function. r=shu 2017-03-01 20:40:04 +09:00
Tooru Fujisawa f7e4224690 Bug 1343481 - Part 1: Remove {JSFunction,JSScript,LazyScript}.isGenerator() method. r=shu 2017-03-01 20:40:04 +09:00
André Bargull 0fa1b47441 Bug 1050755: Allow to call Date.UTC with fewer than two arguments per ES2017. r=shu
--HG--
extra : rebase_source : 22adaa402fd624259702d2c05810cc0858dbd75f
2017-02-27 13:22:45 -08:00
Zibi Braniecki b6bc066991 Bug 1329904 - Introduce mozIntl.DateTimeFormat. r=Waldo
MozReview-Commit-ID: LKUcrg0bht4

--HG--
extra : rebase_source : abe40dec1d13d3f7d372453ae6bf1a69c1252233
2017-02-14 16:05:47 -08:00
Tooru Fujisawa 8e9c527458 Bug 1343072 - Update HasLiveStackValueAtDepth to follow the change in JSTRY_FOR_OF r=shu 2017-03-01 16:43:04 +09:00
Tom Tromey 550affaf12 Bug 1343292 - change return types in GenericPrinter; r=nbp
MozReview-Commit-ID: 1GJYujhrWj7

--HG--
extra : rebase_source : 90aef429db4285707f23105f950d9d930f98c21b
2017-02-28 14:18:40 -07:00
Wes Kocher dbf209197e Backed out 2 changesets (bug 1340146) for spidermonkey bustage a=backout
Backed out changeset 5556b171034e (bug 1340146)
Backed out changeset c355a0ffcb10 (bug 1340146)

MozReview-Commit-ID: JTVSUcenPdC
2017-02-27 15:28:34 -08:00
Wes Kocher d2b28917c0 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 7UN77Uvxgus
2017-02-27 13:37:44 -08:00
Wes Kocher 1e95bd721f Merge inbound to central, a=merge
MozReview-Commit-ID: F0XvCKnh8H7
2017-02-27 13:34:55 -08:00
André Bargull a8358b9891 Bug 1340146 - Process js/src/shell JavaScript files as self-hosted in eslint plugin. r=evilpie
--HG--
extra : rebase_source : c34e54150dafbab3f6422b1beb0689b9ced87608
2017-02-27 09:55:21 -08:00
Benjamin Bouvier ee24048334 Bug 1342956: Fix promise_test in wasm-testharness.js; r=luke
MozReview-Commit-ID: IfPkWSw05pX

--HG--
extra : rebase_source : cf2ffc8c0f3640dbfbcd3a633df8d9f3db8093f1
2017-02-27 17:35:18 +01:00
André Bargull bdc5d2e7cf Bug 1340146 - Normalize paths for module registry in shell module loader. r=jonco
--HG--
extra : rebase_source : 8712d18be190acc67416d33850844b1fb6c247a7
2017-02-27 07:49:29 -08:00
Tom Schuster f69d3a9d55 Bug 1342402 - Use optimized GetElement in JSON. r=jandem 2017-02-27 16:43:24 +01:00
André Bargull 455dcb1fcb Bug 1342648 - Only define PluralRules constructor when calling addIntlExtras in test262 PluralRules tests. r=gandalf
--HG--
extra : rebase_source : 17c29061f6ff57bacdc3e56462b859266c71b643
2017-02-25 01:59:42 -08:00
André Bargull 7705059007 Bug 1340148 - Disallow function redeclarations at module top level. r=jonco
--HG--
extra : histedit_source : aebb69bd265fe7429737b118a48986e3f69c2de9
2017-02-27 07:15:53 -08:00
Benjamin Bouvier 7fd59c572e Bug 1342176: Enable 80-bits precision for the x87 floating-point unit; r=jandem
MozReview-Commit-ID: 1Y4H0ywIX5Q

--HG--
extra : rebase_source : 80c0df972e471878ccaab043f874ef3d5d83de1b
extra : histedit_source : 40b745f2d0f68e9a038a186de264c3102ea19bb4
2017-02-23 20:03:46 +01:00
Ehsan Akhgari 4f4a529bd2 Bug 1342719 - Optimize away a virtual function call in AccessCheck::isChrome; r=bholley 2017-02-27 09:39:50 -05:00
Tooru Fujisawa ac394c8f93 Bug 1322019 - followup: Change a testcase for decompilation to follow the change. r=bustage 2017-02-27 20:46:31 +09:00
Tooru Fujisawa 62794b35b6 Bug 1322019 - Part 6: Decompole NEWARRAY+INITELEM_ARRAY/INITELEM_INC to [...]. r=nbp 2017-02-27 20:02:56 +09:00
Tooru Fujisawa 54043392f7 Bug 1322019 - Part 5: Print stack transition in dis() function output. r=nbp 2017-02-27 20:02:56 +09:00
Tooru Fujisawa 87031e6deb Bug 1322019 - Part 4: Remove unnecessary if in BytecodeParser::simulateOp. r=nbp 2017-02-27 20:02:55 +09:00
Tooru Fujisawa 922fcc522a Bug 1322019 - Part 3: Reflect the case that stack values are kept instead of newly pushed in BytecodeParser::simulateOp. r=nbp 2017-02-27 20:02:55 +09:00
Tooru Fujisawa 3fde96235d Bug 1322019 - Part 2: Decompile more opcodes. r=nbp 2017-02-27 20:02:55 +09:00
Tooru Fujisawa f58b3f1c81 Bug 1322019 - Part 1: Put unary operator inside parens in expression decompilation. r=nbp 2017-02-27 20:02:55 +09:00
Jan de Mooij 5e3013cebd Bug 1339535 - Set the hadElementsAccess flag less eagerly to avoid unnecessary Shape changes. r=evilpie 2017-02-27 18:56:58 +01:00
Benjamin Bouvier d80b2440cc Bug 1342893: Add signatures for function imports and exports in wasmTestMode; r=luke
MozReview-Commit-ID: 7s7nqLAioHr

--HG--
extra : rebase_source : cadf62b262f1508eba8d4dde81b475d9b2b1392a
extra : amend_source : e9f9fc0765fb0385523770910831fad762acd66d
2017-02-27 13:39:59 +01:00
Ted Campbell af82d53726 Bug 1337763 - Add DenseInHole IC to CacheIR r=jandem
MozReview-Commit-ID: KsHopYVLeb

--HG--
extra : rebase_source : f62e9d8ba716da1f680d7f5a5990ea758822e466
2017-02-23 16:04:48 -05:00
Ted Campbell 1c323dd0b6 Bug 1337763 - Factor out GeneratePrototypeHoleGuards r=jandem
MozReview-Commit-ID: JvSj1dyEMnC

--HG--
extra : rebase_source : 43a6f9e9acc27994cea9ac61c6f4123f8d190140
2017-02-23 16:02:42 -05:00
Jan de Mooij 9fa749d29e Bug 1341067 followup - Fix non-unified build bustage. r=red 2017-02-27 10:00:02 +01:00
Jan de Mooij ed8798799e Bug 1341067 - Port Ion SetProp/SetElem IC to CacheIR. r=h4writer 2017-02-27 09:32:49 +01:00
Phil Ringnalda ab84dcd8f5 Merge m-i to m-c, a=merge 2017-02-26 10:48:26 -08:00
Tooru Fujisawa a88a89805e Bug 1342553 - Part 0.2: Support JSOP_CHECKISCALLABLE in JIT. r=shu 2017-02-26 14:02:37 +09:00
Tooru Fujisawa 8c428ebcee Bug 1342553 - Part 0.1: Use try-catch for IteratorClose in for-of. r=shu 2017-02-26 14:02:36 +09:00
Phil Ringnalda 13720d9c89 Merge m-c to m-i 2017-02-25 13:35:20 -08:00
Phil Ringnalda da4ecf2f5c Merge m-i to m-c, a=merge 2017-02-25 10:33:48 -08:00
Jan de Mooij 8e25a8bd29 Bug 1342439 part 2 - Optimize CheckRecursionLimit to avoid uninlined RunningWithTrustedPrincipals call. r=luke 2017-02-25 16:14:19 +01:00
Jan de Mooij 76f56574e3 Bug 1342439 part 1 - Replace macros to check for overrecursion with functions. r=luke 2017-02-25 16:07:56 +01:00
Brian Hackett be3d9f1c9f Bug 1338642 - Backout bug 1315596 (Don't evict bundles which won't help with allocating the target bundle), r=sunfish. 2017-02-25 05:32:59 -07:00
Jan de Mooij 9d0be99a0b Bug 1342345 part 2 - Use a Vector for AutoCycleDetector. r=jonco 2017-02-25 12:23:44 +01:00
Jan de Mooij ce45ed0a77 Bug 1342345 part 1 - Use a Vector for JSON cycle detector. r=evilpie 2017-02-25 12:22:28 +01:00
Luke Wagner a43669cbbd Bug 1342497 - Baldr: store current frame, not previous frame, in wasm::FrameIterator (r=yury)
MozReview-Commit-ID: 98mKbra2ehf

--HG--
extra : rebase_source : 75ced81ff98c040b585c75157cb4a405a967e840
2017-02-24 21:52:35 -06:00
Tooru Fujisawa f5a7718580 Bug 104442 - Part 1: Report the position and the kind of previous declaration for redeclaration error. r=anba 2017-02-25 12:52:33 +09:00
Masatoshi Kimura 7be7b11a1c Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;

MozReview-Commit-ID: AzhtdwJwVNg

--HG--
extra : rebase_source : e8f90249454c0779d926f87777f457352961748d
2017-02-23 06:10:07 +09:00
Tooru Fujisawa 71a80300a4 Bug 1340850 - Add --noconf option to autospider.py to skip running configure before building. r=sfink 2017-02-23 05:49:14 +09:00
Shu-yu Guo 361a8713a8 Bug 1341061 - Test. (r=arai)
Will remove once https://github.com/tc39/test262/pull/869 merges and we
sync.
2017-02-24 16:51:11 -08:00
Shu-yu Guo a4b26febc0 Bug 1341061 - Manually unwrap WithEnvironmentObjects in GETBOUNDNAME. (r=arai)
Also refactor some stuff in this area.

Documenting why I think it's correct to use GETBOUNDNAME only for
dynamic (vs global) lookups, without the normal NAME checks:

1. GETBOUNDNAME doesn't need to check TDZ because BINDNAME does it
   already, and GETBOUNDNAME is always preceded by BINDNAME.

2. '.this' doesn't need to be checked, because '.this' can't be assigned
   to in a compound assignment or inc/dec.

3. For a global name there is never @@unscopables on the global
   environments, so GNAME ops, while doing repeated lookups, remain valid
   optimizations because the repetition is unobservable.

4. We *will* do double @@unscopable lookup in the case of a script
   compiled for a syntactic scope then run under a non-syntactic
   WithEnvironmentObject (e.g. like frame scripts). But this is
   Gecko-specific and outside the spec, so we can do whatever we want
   here.
2017-02-24 16:51:10 -08:00
Shu-yu Guo 2c8d8f538b Bug 1341061 - Rename GETXPROP to GETBOUNDNAME for clarity. (r=arai) 2017-02-24 16:51:10 -08:00
Shu-yu Guo 4faffe5818 Bug 1341061 - Fix Opcodes.h comments to say 'environment' instead of 'scope' to refer to the runtime objects. (r=arai) 2017-02-24 16:51:10 -08:00
Shu-yu Guo d6089d585f Bug 1341061 - Refactor NAME-related runtime functions. (r=arai) 2017-02-24 16:51:10 -08:00
Sebastian Hengst 257eeceb19 Backed out changeset 82cdbd24d06f (bug 1341061) for failing crashtest 366271-1.html. r=backout 2017-02-24 23:10:56 +01:00
Sebastian Hengst e460fecacb Backed out changeset 2cb11cb34069 (bug 1341061) 2017-02-24 23:10:26 +01:00
Sebastian Hengst 45b22b7436 Backed out changeset 76c74d43a9b0 (bug 1341061) 2017-02-24 23:10:21 +01:00
Sebastian Hengst 12475239db Backed out changeset 559f43c43369 (bug 1341061) 2017-02-24 23:10:16 +01:00
Sebastian Hengst 1642f69ece Backed out changeset 456c1dcfe087 (bug 1341061) 2017-02-24 23:09:59 +01:00
Shu-yu Guo 08c7d6f388 Bug 1342273 - Improve frontend tracelogging. (r=h4writer) 2017-02-24 12:52:13 -08:00
Shu-yu Guo 11db464a8a Bug 1341061 - Test. (r=arai)
Will remove once https://github.com/tc39/test262/pull/869 merges and we
sync.
2017-02-24 12:52:13 -08:00
Shu-yu Guo 1f9ef5342d Bug 1341061 - Manually unwrap WithEnvironmentObjects in GETBOUNDNAME. (r=arai)
Also refactor some stuff in this area.

Documenting why I think it's correct to use GETBOUNDNAME only for
dynamic (vs global) lookups, without the normal NAME checks:

1. GETBOUNDNAME doesn't need to check TDZ because BINDNAME does it
   already, and GETBOUNDNAME is always preceded by BINDNAME.

2. '.this' doesn't need to be checked, because '.this' can't be assigned
   to in a compound assignment or inc/dec.

3. For a global name there is never @@unscopables on the global
   environments, so GNAME ops, while doing repeated lookups, remain valid
   optimizations because the repetition is unobservable.

4. We *will* do double @@unscopable lookup in the case of a script
   compiled for a syntactic scope then run under a non-syntactic
   WithEnvironmentObject (e.g. like frame scripts). But this is
   Gecko-specific and outside the spec, so we can do whatever we want
   here.
2017-02-24 12:52:13 -08:00
Shu-yu Guo 390589726c Bug 1341061 - Rename GETXPROP to GETBOUNDNAME for clarity. (r=arai) 2017-02-24 12:52:13 -08:00
Shu-yu Guo 456932d2a6 Bug 1341061 - Fix Opcodes.h comments to say 'environment' instead of 'scope' to refer to the runtime objects. (r=arai) 2017-02-24 12:52:12 -08:00
Shu-yu Guo b1ecf17d44 Bug 1341061 - Refactor NAME-related runtime functions. (r=arai) 2017-02-24 12:52:12 -08:00
Steve Fink fadad6757e Bug 1337072 - Implement helper routines for inspecting and breaking on mark bits, r=jonco
MozReview-Commit-ID: FhdPEVo3BOi

--HG--
extra : rebase_source : 63f71add6af053a25876f8f250436d8b3bf82893
2017-02-06 10:56:16 -08:00
Steve Fink 3c066c06e6 Bug 1337465 - Create proper help strings for JS shell namespace objects, r=jonco
MozReview-Commit-ID: Ha6gkvgUIgZ

--HG--
extra : rebase_source : 9272fd8f06280b19a25250fa43d970cfa72389a6
2017-02-17 14:04:06 -08:00
Luke Wagner 3486b55697 Bug 1341749 - Backout test (r=red)
MozReview-Commit-ID: EZAL9Urln2d
2017-02-24 11:48:41 -06:00
Steve Fink ef3d545285 Bug 1342301 - Split out an "optimize" key from configure-args, r=arai
--HG--
extra : rebase_source : 4e6b682d848e1d6e0c081903efb89b982db693f8
2017-02-23 19:35:49 -08:00
Steve Fink 5b823a90ec Bug 1337427 - Add MOZ_MUST_USE to GCVector bool returns, r=woof!
MozReview-Commit-ID: FuGjTr08mpL

--HG--
extra : rebase_source : f4adc4ad2b7558f25b344f8f4a7667ca05eed9c9
2017-02-07 16:13:04 -08:00
Steve Fink a38125cbf4 Bug 1337427 - Implement GCVector::sweep, r=jonco
MozReview-Commit-ID: 6q2OlAHHMsy

--HG--
extra : rebase_source : 7985e133488f60cd8d87080bc221785bab09399c
2017-02-07 16:12:25 -08:00
Luke Wagner fc5f17cd6c Bug 1341749 - Drain job queue even after error (r=bbouvier)
MozReview-Commit-ID: D7rjnADZ5if

--HG--
extra : rebase_source : 09b662af12898c40fcefc3f294abfa4fd577d97c
2017-02-24 09:30:38 -06:00
Olli Pettay 66be2f31cc Bug 1342244, try to avoid extra CompartmentPrivate::Get calls during Rewrap, r=bholley
--HG--
extra : rebase_source : 951f392a2d19a509ce951213686684cc326f4895
2017-02-24 15:03:38 +02:00
Lars T Hansen 1c373598e5 Bug 1342353 - Wasm baseline, properly compute aligned frame size. r=bbouvier
--HG--
extra : rebase_source : 93c6561711452bc4be22031e03be64a4627d65fd
extra : histedit_source : b8a96a58356138a310a3f049b2c6c336f10d9e56
2017-02-24 10:47:55 +01:00
Benjamin Bouvier 6bb969b59d Bug 1332691: Handle known failures in wasm WPT and JS test cases; r=luke
MozReview-Commit-ID: EQNCTOXNy75

--HG--
extra : rebase_source : 265435b105f36e59ac7b34f11cca884c08b940d4
2017-02-17 18:18:35 +01:00
Benjamin Bouvier 11f5a3d12f Bug 1342045: Allow wasm::Memory of size 2**32; r=luke
MozReview-Commit-ID: EVzM6yr0UHf

--HG--
extra : rebase_source : 8f8a1537687b3a23ab18e3beb3cdcf45c5bf9663
2017-02-23 16:11:00 +01:00
Benjamin Bouvier 5c5071161c Bug 1333490: Change WebAssembly.instantiate.length to 1; r=luke
MozReview-Commit-ID: CJ5fYRKoeh8

--HG--
extra : rebase_source : 6a110c29fb64a3fb77beac720219f33bfeaa009d
2017-02-17 19:14:50 +01:00
Benjamin Bouvier 4d2bf9619a Bug 1333490: Define toStringTag for wasm prototypes; r=luke
MozReview-Commit-ID: HIfvvQkZJnG

--HG--
extra : rebase_source : 85aec31d0d712b817f37ad72765f559340bf77fd
2017-02-17 19:14:24 +01:00
Benjamin Bouvier 6f626b9431 Bug 1332691: Generate wasm JavaScript tests from the shared test suite; r=luke
MozReview-Commit-ID: 5HQAuUmS10O

--HG--
extra : rebase_source : 36b1caa8dc993139d31d974706144e3e2ba546b6
2017-02-17 18:06:33 +01:00
Benjamin Bouvier a73e4c7ee7 Bug 1332691: Add script to regenerate tests, update the WPT manifest and expectations; r=luke
MozReview-Commit-ID: DPFVJRiRiCT

--HG--
extra : rebase_source : 891530350a9f7d4bf8cacfba8ccf7d3d86f0ad46
2017-02-17 20:13:54 +01:00
Benjamin Bouvier 2aa6e4413c Bug 1332691: Make a testharness.js polyfill for Spidermonkey; r=luke
MozReview-Commit-ID: IWhymoUJgJ7

--HG--
extra : rebase_source : d1faa7408ed1d7b795e0d52df02401d29bcdc9f2
2017-02-20 17:30:25 +01:00
Benjamin Bouvier 07beccf9f3 Bug 1332691: Allow including files with a jit-test directive; r=sfink
MozReview-Commit-ID: 8lCFJuEXOaW

--HG--
extra : rebase_source : 80624e594d90a0c2c035d8462df049f01d3b46ed
2017-02-23 12:10:10 +01:00
Benjamin Bouvier d923369600 Bug 1332691: Remove wasm/spec tests; r=luke
MozReview-Commit-ID: ALBmYZqtqFZ

--HG--
extra : rebase_source : fff6d2e49a24cd8e827de763d7a9326780ef47b7
2017-02-17 14:51:33 +01:00
Jeff Walden 696316371e Bug 1341951 - Use alignas/alignof (rather than a union that attempts to replicate the same thing) inside RInstructionStorage. r=nbp 2017-02-09 17:12:56 -08:00
Jeff Walden bae8a13c6e Bug 1341951 - Remove mozilla::AlignedStorage, and inline its sole use into js::jit::RInstructionStorage. r=nbp 2017-02-22 18:27:51 -08:00
Lars T Hansen c9aa17537a Bug 1338449 - use ToIndex to convert TA indices for atomic operations. r=shu
--HG--
extra : rebase_source : 0f7d9e860c3392075f9a1d12632875b471ba7769
2017-02-16 11:10:05 +01:00
Emanuel Hoogeveen 5cef196f1a Bug 1341889 - Part 2: Add a hazard suppression for malloc_usable_size. r=sfink
--HG--
extra : rebase_source : 3ca296d0878e82bf87d3743d01ed4e8f0ac6abd6
2017-02-23 14:27:00 -05:00
Emanuel Hoogeveen 366b8e875c Bug 1341889 - Part 1: Add more checks during reallocation to rule out other possibilities. r=jandem
--HG--
extra : rebase_source : 0ca7e08512b7e81d47cff4b6a1defbba7743ec1e
2017-02-23 14:27:00 -05:00
Sean Stangl f7092e271d Bug 1342196 - Remove assertion exception for MagicOptimizedArguments. r=h4writer
--HG--
extra : rebase_source : 357cac069ae919accdc7d06aa3fe593f8fe36594
2017-02-23 12:11:00 -05:00
André Bargull 9adaf67afa Bug 1341298 - Relax expected module state when resolving modules and circular module dependencies are present. r=jonco
--HG--
extra : rebase_source : c882d0813b2b58c7c0990687d2f3d6e700f0fee5
2017-02-23 07:04:20 -08:00
Luke Wagner 435f2dfc9a Bug 1341412 - Baldr: fix rebase fail (r=bustage)
MozReview-Commit-ID: Kydw7jaZiQ7

--HG--
extra : rebase_source : 760a4058ca6b548e00edc823707545f97d954f7d
2017-02-23 18:14:04 -06:00
Luke Wagner 09009d1744 Bug 1341412 - Baldr: fix offset reported by validation error (r=bbouvier)
MozReview-Commit-ID: CllhPo4uGde
2017-02-23 17:59:22 -06:00
Kris Maglione d1e03c1b46 Bug 1322273: Return DeadObjectProxy when wrapping for nuked compartment. r=bholley
MozReview-Commit-ID: V07P0eZvKO

--HG--
extra : rebase_source : 822441921b2b0a968a7dec5a532bba5535cb871b
extra : absorb_source : dd03f3197d5a4c09d228c2168726f9ae2408a7bb
extra : source : e74563742aafb580f88ef17f2121dd385e37755a
2017-02-22 19:11:52 -08:00
Kris Maglione 42bebe8564 Bug 1322273: Cut wrappers that point out of a browser compartment when nuking it. r=bholley
MozReview-Commit-ID: FLS3xRgih2u

--HG--
extra : rebase_source : ffae5590afe3efcb70cdda6386f5b1d71123943c
extra : absorb_source : 8b3db1348e793dabca338841dc18b6d9021c6ef8
2017-02-23 13:56:10 -08:00
Brian Hackett 71b7370e0f Bug 1341006 - Use a sparse representation for atom mark bitmaps in zones, r=jonco.
--HG--
extra : rebase_source : 94e392fe48c4d1b98ac2d6a7601850c2530962ea
2017-02-23 08:13:33 -07:00
André Bargull aa3ef986e4 Bug 1341411 - Support circular module dependencies through export* per ES2017. r=jonco
--HG--
extra : rebase_source : c7e1bf6780d2311c0302fe0b505886a35bb9ef86
2017-02-23 03:10:16 -08:00
Luke Wagner 6f8ce1e317 Bug 1342060 - wasm: enable by default (r=bbouvier,sr=jorendorff)
MozReview-Commit-ID: LozhxKgleFc

--HG--
extra : rebase_source : 1821c3965c46044e99a132398ea862f49eb6aca0
2017-02-23 13:02:40 -06:00
Jon Coppeard 161b940553 Bug 1340110 - Make shell resolve root module relative to current directory as happens for non-module scripts r=anba 2017-02-23 16:26:14 +00:00
Jon Coppeard e2176b114a Bug 1337414 - Don't trace into GC things owned by other runtimes in CheckHeapTracer r=jandem 2017-02-23 16:26:14 +00:00
Jon Coppeard 383736d564 Bug 1340597 - Avoid triggering read barrier in DumpHeap and when collecting stats r=sfink 2017-02-23 16:26:14 +00:00
Luke Wagner 2e0b11e312 Bug 1337561 - Increase executable code allocation size on 64-bit (r=jandem)
MozReview-Commit-ID: DswlJQutGiC
2017-02-23 09:01:16 -06:00
Tom Schuster fb8e7cea05 Bug 1319087 - Add nukeCCW to the shell and test it. r=jandem 2017-02-23 15:26:49 +01:00
Benjamin Bouvier e54d365a47 Bug 1341090: Implement a JIT code counter; r=jonco, r=jandem
MozReview-Commit-ID: Hq8g3qmEsjG

--HG--
extra : rebase_source : 44e4d0d579894d56800fb2b3ae9a8bb297df48c1
extra : histedit_source : 5b68c6fae9a24e6186bcdf7a594966a917c48a6c
2017-02-21 19:02:31 +01:00
Benjamin Bouvier ec65139cde Bug 1341090: Refactor malloc counters in Zone and GCRuntime; r=jonco
MozReview-Commit-ID: K52KzVc4zSV

--HG--
extra : rebase_source : d540aef55c42f06fa9be1861c0f48b31d469597c
extra : histedit_source : e7cd0f0e433121d438bfc112e8fa708ed897e5dd
2017-02-21 16:09:07 +01:00
Benjamin Bouvier 67a5e08ada Bug 1341650: Don't clobber the last stack slot when calling into CurrentMemory/GrowMemory in the wasm baseline; r=lth
MozReview-Commit-ID: 4BxLPKakvdV

--HG--
extra : rebase_source : a76672c147b1ab76720a6e93bc91b400a372d5e0
2017-02-22 18:39:39 +01:00
Benjamin Bouvier 4e3ebaf242 Bug 1341650: Pass TLS when calling wasm current_memory in the Ion backend; r=luke
MozReview-Commit-ID: 2mLxEqdvGtK

--HG--
extra : rebase_source : 6c82c1a51143236458c2464ae0fb3ffcce28f0b9
2017-02-22 18:44:34 +01:00
Benjamin Bouvier fafada56ef Bug 1341650: A few drive-by nits fixing in WasmBaselineCompile.cpp; r=lth
MozReview-Commit-ID: 9SpdNG8sL9y

--HG--
extra : rebase_source : 090ffd90a120ffd7211862bbd31f2b7d85d874dc
2017-02-22 18:37:49 +01:00
Andrey Mukamolow 2defd7b373 Bug 1331954 - Put forgotten #error directive to dtoa.c. r=arai
There was some incorrect error handling in file dtoa.c, I just
put forgotten #error directive

MozReview-Commit-ID: 2zzwI0YAFpI
2017-02-05 03:09:23 +03:00
Nicholas Nethercote 352554c8f6 Bug 1340928 (part 10) - Remove nested calls to profiler_{init,shutdown}(). r=mstange.
The profiler can currently handle nested calls to profiler_{init,shutdown}() --
only the first call to profiler_init() and the last call to profiler_shutdown()
do anything. And sure enough, we have the following.

- Outer init/shutdown pairs in XRE_main()/XRE_InitChildProcess() (via
  GeckoProfilerInitRAII).

- Inner init/shutdown pairs in NS_InitXPCOM2()/NS_InitMinimalXPCOM() (both shut
  down in ShutdownXPCOM()).

This is a bit silly, so the patch removes the inner pairs, and adds a
now-needed pair in XRE_XPCShellMain. This will allow gInitCount -- which tracks
the nesting depth -- to be removed in a future patch.

--HG--
extra : rebase_source : 7e8dc6ce81ce10269d2db6a7bf32852c396dba0e
2017-02-15 17:08:38 +11:00
André Bargull af0bb93cff Bug 1339986 - Handle export* when checking for duplicate export. r=jonco 2017-02-22 06:58:29 -08:00
Jeff Walden d5deea2a4f Bug 1338374 - Make Vector not use AlignedStorage for its inline element storage. r=froydnj, r=keeler
--HG--
extra : rebase_source : 81eb5278404b4843ed5a59819f6000f74200aa41
2017-01-30 15:56:05 -08:00
Wes Kocher 29443ed98c Merge m-c to inbound, a=merge
MozReview-Commit-ID: HDHJC8X9xWG
2017-02-22 15:06:46 -08:00
Wes Kocher b7294d3167 Merge inbound to central, a=merge
MozReview-Commit-ID: 2R3yE5OIznC
2017-02-22 15:01:04 -08:00
Tom Schuster 20d9359561 Bug 1341692 - Enable passing %TypedArray%.prototype.set tests. r=anba 2017-02-22 18:10:29 +01:00
Brian Hackett 1938ed43c4 Bug 1341326 - Set stack limit and stack size properly for helper threads, r=jandem.
--HG--
extra : rebase_source : 31566501efe68ba25f88c50813f36d05c3bf2ab3
2017-02-22 06:45:05 -07:00
Andrea Marchesini e7a1e33581 Bug 1341250 - Moving nsExpandedPrincipal in separate files, r=qdot
--HG--
rename : caps/nsPrincipal.cpp => caps/nsExpandedPrincipal.cpp
rename : caps/nsPrincipal.h => caps/nsExpandedPrincipal.h
2017-02-22 10:01:43 +01:00
Carsten "Tomcat" Book a7cadef96e Merge mozilla-central to mozilla-inbound 2017-02-22 14:40:19 +01:00
Carsten "Tomcat" Book 9d982b9508 merge mozilla-inbound to mozilla-central a=merge 2017-02-22 14:33:38 +01:00
Sebastian Hengst 0ea43f8182 Backed out changeset f0886e3477a5 (bug 1341250) 2017-02-22 11:20:46 +01:00
Andrea Marchesini c83982c31f Bug 1341250 - Moving nsExpandedPrincipal in separate files, r=qdot
--HG--
rename : caps/nsPrincipal.cpp => caps/nsExpandedPrincipal.cpp
rename : caps/nsPrincipal.h => caps/nsExpandedPrincipal.h
2017-02-22 10:01:43 +01:00
Sebastian Hengst 54c0337374 Backed out changeset f2019fbd6f8c (bug 1341326) for failing backup-point-bug1315634.js and more on arm. r=backout 2017-02-22 13:39:53 +01:00
André Bargull dbda93465f Bug 1333844 - Create helper method to call ICU string conversion methods. r=Waldo
--HG--
extra : rebase_source : 1dad5ce1412d5b94401fae928839583c3ca4161c
2017-02-21 12:35:37 -08:00
Brian Hackett 5b7a11457c Bug 1341303 - Delete things in the right order when finishing shell worker threads, r=jandem. 2017-02-22 05:25:48 -07:00
Brian Hackett 33310aacec Bug 1341283 - Avoid conflicts between GC zeal behavior and cooperative multithreading context switches, r=jonco. 2017-02-22 05:22:47 -07:00
Brian Hackett f5cdd08aab Bug 1341358 - Don't accidentally clear the incumbent global callback when finishing a cooperative thread, r=jandem. 2017-02-22 05:16:50 -07:00
Brian Hackett c6152d786f Bug 1341326 - Set stack limit and stack size properly for helper threads, r=jandem. 2017-02-22 05:11:09 -07:00
Iris Hsiao c2bb6f5851 Merge mozilla-central to mozilla-inbound 2017-02-22 16:18:56 +08:00
Tooru Fujisawa 030e18d7ef Bug 1339964 - Support export async function f() {}. r=till 2017-02-22 16:11:35 +09:00
Tooru Fujisawa fa1ef124e8 Bug 1339963 - Part 3: Check IdentifierName in ExportClause without from. r=jwalden 2017-02-22 16:11:35 +09:00
Tooru Fujisawa 9f15eb94a2 Bug 1339963 - Part 2: Use MUST_MATCH_TOKEN for contextual keyword where it can be used. r=jwalden 2017-02-22 16:11:35 +09:00
Tooru Fujisawa 7248e52372 Bug 1339963 - Part 1: Split Parser::exportDeclaration. r=jwalden 2017-02-22 16:11:35 +09:00
Phil Ringnalda 53ccf8158e Backed out 5 changesets (bug 1318370) for mozilla-central Windows static-analysis bustage
Backed out changeset 196f9ddbf7aa (bug 1318370)
Backed out changeset 72f6eace33a1 (bug 1318370)
Backed out changeset c0c0e10ed613 (bug 1318370)
Backed out changeset a8032ae9cb2a (bug 1318370)
Backed out changeset 0848b3201c40 (bug 1318370)
2017-02-21 21:22:01 -08:00
Jon Coppeard 7b865b5def Bug 1340145 - Don't allow HTML comments in module scripts r=anba 2017-02-21 17:18:04 +00:00
Jon Coppeard 6f6fe80e74 Bug 1341256 - Fix module namespace object get handler r=anba 2017-02-21 17:17:34 +00:00
Jan de Mooij 7191837515 Bug 1340150 - Remove some functions we no longer use from SharedIC.cpp/h. r=h4writer
--HG--
extra : rebase_source : 3146a908bc7aa7498e24da0d546b99e915795592
2017-02-21 16:01:10 +01:00
Jan de Mooij 942e9f0b4b Bug 1337982 - Add two TypedObject tests to cgc-jittest-timeouts.txt. r=jonco
--HG--
extra : rebase_source : 68238b2198884dd8030c8397115430b4f4d758c2
2017-02-21 15:58:11 +01:00
Brian Hackett ca571e7995 Bug 1340822 - Move nursery and caches from ZoneGroup back to the runtime, r=jonco.
--HG--
extra : rebase_source : 29b2b2c7ba66a8e8350aec110dcbed5674bdb160
extra : histedit_source : e6dd2f5040731d48897c8352ecbaf55ab2712db9
2017-02-21 04:25:22 -07:00
Brian Hackett c437c0a757 Bug 1341033 - Make sure zones mark any children of marked atoms, r=jonco. 2017-02-21 07:26:15 -07:00
Brian Hackett 154129fc8f Bug 1340537 - Don't trace parse task things if they cannot be GCed, r=jonco.
--HG--
extra : rebase_source : 9f2601330438f20eb830fb14546adda836ef6bcb
2017-02-21 06:46:22 -07:00
Tom Schuster 515c0b93e8 Bug 1341087 - Implement symbol equality comparison in SharedIC. r=h4writer 2017-02-21 14:24:10 +01:00
Tom Schuster 86f70ff8e0 Bug 1341087 - Implement bitwise symbol equality comparison in Ion. r=h4writer 2017-02-21 14:24:10 +01:00
Tom Schuster 7d8b631cb9 Bug 1341087 - Implement symbol equality comparison in Ion. r=h4writer 2017-02-21 14:24:09 +01:00
Carsten "Tomcat" Book 179920e96c Merge mozilla-central to mozilla-inbound 2017-02-21 14:18:35 +01:00
Jan de Mooij cb50efb0c8 Bug 1338828 part 3 - Add CacheIR SetProp/SetElem stubs for unshadowed setter calls on DOM proxies. r=h4writer 2017-02-21 13:49:29 +01:00
Jan de Mooij 26b0ba2897 Bug 1338828 part 2 - Add CacheIR SetProp/SetElem stubs for shadowing DOM proxies. r=h4writer 2017-02-21 13:49:05 +01:00
Jan de Mooij 71aecda25d Bug 1338828 part 1 - Add CacheIR SetProp/SetElem stubs for proxies. r=h4writer 2017-02-21 13:48:44 +01:00
Brian Hackett a9cf5da32e Bug 1339944 - Prohibit context switches while handling OOM during type inference operations, r=jandem. 2017-02-21 04:38:48 -07:00
Luke Wagner 504e663ff0 Bug 1337561 - Baldr: call largeAllocationCallback and retry if executable allocation fails (r=jandem)
MozReview-Commit-ID: 1gMbNH13XuV

--HG--
extra : rebase_source : f454c047be1654c7372ddbf048d633094c801379
2017-02-22 16:12:27 -06:00
Shu-yu Guo b5702c22fa Bug 977849 - Followup: unskip test262 on Android. (r=sfink) 2017-02-22 14:07:16 -08:00
Shu-yu Guo 96fd46ec97 Bug 1341339 - Check for duplicates in processIterators. (r=jandem) 2017-02-22 14:07:16 -08:00
Tom Schuster d97e0e7bb8 Bug 1319087 - Implement a CrossCompartmentWrapper IC stub. r=bz,bholley,jandem 2017-02-22 21:16:04 +01:00
Phil Ringnalda 7e33a1ba60 Merge m-c to autoland 2017-02-20 20:32:46 -08:00
Makoto Kato a3c01a20e9 Bug 1340393 - Remove unnecessary -FS option. r=glandium
Although I add -FS option to support VS2013+ by bug 915973, after landing bug 1322703, -FS option is unnecessary now.

MozReview-Commit-ID: 4SYmwGXHA9U

--HG--
extra : rebase_source : d6abc1d03f0fede48c11ee8a1c159d74d530169d
2017-02-17 13:07:26 +09:00
Iris Hsiao bc5590a600 Merge mozilla-central to autoland 2017-02-22 16:17:36 +08:00
Zibi Braniecki 27ba812587 Bug 1312053 - Expose an API to get locale information. r=Waldo
MozReview-Commit-ID: LivVJzrb3X1

--HG--
extra : rebase_source : a8c566cf918f01216e9f22e953da935ce41b7654
2017-02-17 20:06:43 -08:00
Iris Hsiao bea1853007 Backed out changeset e85a00771f86 (bug 1322273) for assertion failures 2017-02-22 10:33:56 +08:00
Sylvestre Ledru 39d7cd6467 no bug - Fix a misleading indentation
MozReview-Commit-ID: 4yvVRRxoxC8
2017-02-19 14:27:57 +01:00
André Bargull cf967e212e Bug 1338916 - Disable Array.prototype.values tests from test262 when Array.prototype.values is not present. r=shu
--HG--
extra : rebase_source : 6cc0479e942635561d70eb35b449a2c1db9748e4
2017-02-22 06:19:11 -08:00
Emanuel Hoogeveen 03e78aca95 Bug 1338574 - Part 4: Use MOZ_CRASH_UNSAFE_OOL and MOZ_CRASH_UNSAFE_PRINTF in SpiderMonkey. r=jandem
--HG--
extra : rebase_source : 5fdcd747aa47a4b9ccbfea946089c8d1c36ea56f
2017-02-21 18:01:52 +01:00
Jon Coppeard 13a46e3d87 Bug 1341355 - Fix opt build bustage r=me 2017-02-21 18:12:29 +00:00
Jon Coppeard 9f7082a42a Bug 1341355 - Add abstractions to improve type checking of mark stack contents and add iterator r=sfink 2017-02-21 17:53:24 +00:00
Jon Coppeard e6282397f4 Bug 1341355 - Refactor the mark stack r=sfink 2017-02-21 17:53:21 +00:00
Wes Kocher 2859ffc86f Merge m-c to autoland, a=merge
MozReview-Commit-ID: E64mguPbLgc
2017-02-21 17:40:31 -08:00
Kris Maglione 970ca57ee7 Bug 1322273: Return DeadObjectProxy when wrapping for nuked compartment. r=bholley
MozReview-Commit-ID: V07P0eZvKO

--HG--
extra : rebase_source : 52a20f4a6ee9b9a85c4eb9191a4c86076455f19e
2017-02-11 14:26:05 -08:00
Ted Mielczarek 0ba51f3683 bug 1318370 - move _DEPEND_CFLAGS+CL_INCLUDES_PREFIX to toolchain.configure, ignore {CC,CXX}_WRAPPER when using sccache r=glandium
Currently mozconfig.cache overrides a few build options for sccache. This
patch moves them into toolchain.configure so that the build system will
set them properly when sccache is in use. Additionally, {CC,CXX}_WRAPPER
are set in config.mk, so just avoid setting them when sccache is in use.

MozReview-Commit-ID: FYlVKRI8OiN

--HG--
extra : rebase_source : cc7e4346869b98a52840c101824044abc236637f
2017-01-10 16:52:27 -05:00
Jan de Mooij dbd7f41a1b Backed out changeset 76c26eaf4f18 to see if it's responsible for GC_MINOR_US telemetry regression. 2017-02-20 17:46:09 +01:00
Jon Coppeard 19479d7f10 Bug 1340268 - [[HasProperty]] on module namespace object should work even when binding is uninitialized r=anba 2017-02-20 16:32:13 +00:00
Jon Coppeard c52c1a3941 Bug 1340010 - Fix test bustage r=me 2017-02-20 14:20:52 +00:00
Carsten "Tomcat" Book dbd7fee737 Backed out changeset 6eca5587da3e (bug 1340537) on request from jonco 2017-02-20 14:15:17 +01:00
Jon Coppeard 4b1c21582c Bug 1340604 - Add more test code for weak map gray marking behaviour r=sfink 2017-02-20 13:00:15 +00:00
Jon Coppeard 2dd637c991 Bug 1340010 - Make ABORT_GC a deterministic GC reason r=sfink 2017-02-20 13:00:14 +00:00
Jon Coppeard 1f06734fc0 Bug 1340499 - Add test code for watchpoint marking r=sfink 2017-02-20 13:00:14 +00:00
Brian Hackett 275ca5ebc4 Bug 1340537 - Don't trace parse task things if they cannot be GCed, r=jonco. 2017-02-20 05:13:39 -07:00
Benjamin Bouvier b476f817ec Bug 1341080: Provide an empty filename if the wasm caller doesn't have one in DescribeScriptedCaller; r=luke
MozReview-Commit-ID: 8h0NbN7jOBq

--HG--
extra : rebase_source : b669683e4fb4a582f29198290f7d59c4eb1c3eb8
extra : amend_source : 2dbf1ea54750f972f556ccd04c99c68837b92c53
2017-02-20 20:18:23 +01:00
Wes Kocher 14a9e6ef12 Merge m-c to autoland a=merge
MozReview-Commit-ID: DAlTWWRlpmp
2017-02-24 16:59:05 -08:00
Steve Fink 07103ffd77 Bug 1342170 - Display compile commands for shell builds. r=RyanVM
MozReview-Commit-ID: 2xeQginlEDp

--HG--
extra : rebase_source : e9d3c0b0754fdb9461ffd39e59e125dc9f51dfaf
2017-02-23 11:36:47 -08:00
Ryan VanderMeulen fde63941e9 Bug 1342170 - Enable Werror for SM(nu). r=sfink
MozReview-Commit-ID: YqEGu5CqCY

--HG--
extra : rebase_source : c9850b6f7e3c7cb8676c1c85d9459819318a2125
2017-02-23 14:00:40 -05:00
Yury Delendik b45118fbe6 Bug 1342170 - Fixes NativeObject::create inlines for js/src/vm/ files. r=jandem
MozReview-Commit-ID: D7qycfMcIPB

--HG--
extra : rebase_source : dac2c494fde9d873a9285ff080a7357049cdcfb1
2017-02-23 14:08:38 -06:00
Yury Delendik 9b4b54c6d2 Bug 1342170 - Fixes jscompartment inlines for js/src/jit files. r=evilpie
MozReview-Commit-ID: B8Q63WeQVfN

--HG--
extra : rebase_source : 300d04a3b7965b5b512b4f93709200dc6d239fc0
2017-02-23 14:07:27 -06:00
Jan de Mooij 06a8279cb0 Bug 1342856 - Optimize volatile register spilling for C++ calls from IC stubs. r=nbp 2017-03-05 20:11:46 +01:00
Jon Coppeard e81021b4be Backed out 2 changesets (bug 1335751) for mochitest devtools failures 2017-03-05 12:37:31 +00:00
Jon Coppeard fecd704a79 Bug 1335751 - Add js::CheckGrayMarkingState friend API to check there are black to gray edges r=sfink 2017-03-05 09:23:09 +00:00
Tooru Fujisawa f427819398 Bug 1344479 - Use binary mode for reading source code in JS shell. r=jandem 2017-03-05 01:15:26 +09:00
Jon Coppeard 04cb54f9b4 Bug 1344454 - Disable compacting GC in testGCGrayMarking test r=jandem 2017-03-04 15:51:25 +00:00
Jan de Mooij 5437787974 Bug 1344463 followup - Fix comment copy/paste issue. r=me 2017-03-04 15:36:59 +01:00
Jan de Mooij cbbb827f8e Bug 1344195 - Fix CloneOldBaselineStub to not clone the stub if we didn't recompile the script. r=shu 2017-03-04 15:35:39 +01:00
Jan de Mooij d6a6a727c5 Bug 1344463 - Optimize JSOP_INITELEM in Ion and emit it for 3-arguments _DefineDataProperty in self-hosted code. r=till,evilpie
--HG--
extra : rebase_source : c4f56a5d9d7ea7fc9feede84352f78c7d0a17372
2017-03-04 15:24:44 +01:00
Tooru Fujisawa c2d7bf6ceb Bug 1317400 - Part 6 followup: Disable test for CR-LF on shell, because of windows js shell bug. r=bustage 2017-03-04 23:20:07 +09:00
Tooru Fujisawa f16dee1d19 Bug 1317400 - Part 6: Enable tests for not normalizing line terminator. r=till 2017-03-04 21:26:30 +09:00
Tooru Fujisawa 00b7bfa389 Bug 1317400 - Part 2: Generate better source in Object.prototype.toSource. r=till 2017-03-04 20:37:13 +09:00
Tooru Fujisawa d32a4f3eee Bug 1317400 - Part 1.1: Remove a space after comma in parameter list for generated function source. r=till 2017-03-04 20:36:07 +09:00
Tooru Fujisawa f6f7681689 Bug 1317400 - Part 1: Implement Function.prototype.toString revision proposal. r=till 2017-03-04 20:36:02 +09:00
Tooru Fujisawa 11e38988c8 Bug 1343245 followup - Add |jit-test| error:TypeError. r=bustage 2017-03-04 18:22:21 +09:00
Jon Coppeard 4fe8b300d4 Bug 1343986 - Fix setting of gray bits valid flag after GC r=sfink 2017-03-04 08:59:42 +00:00
Jon Coppeard a440da6b86 Bug 1259730 - Make UnmarkGray use an explicit mark stack instead of recursion r=sfink 2017-03-04 08:59:42 +00:00
Tooru Fujisawa eef3e8bd7b Bug 1343245 - Handle the case that trying to decompile a value pushed by current bytecode. r=jandem 2017-03-04 17:54:56 +09:00
Jan de Mooij c42333d901 Bug 1344173 - Fix performance cliff involving OBJECT_FLAG_ITERATED and array natives. r=anba 2017-03-04 08:36:41 +01:00
Sebastian Hengst d46345224f Backed out changeset e818ea427a08 (bug 866473) for failing testGCGrayMarking. r=backout 2017-03-03 23:48:51 +01:00
André Bargull fa139c1d71 Bug 866473 - Implement caseFirst option in Intl.Collator. r=Waldo
--HG--
extra : rebase_source : d8aff188f7cfca4de26fc535ba79830082879dde
extra : histedit_source : 15c2d218babe9e99ec3d5ce97e0f9c1008a2bc19
2017-03-03 08:39:20 -08:00
Crispin a147fecd6c Bug 1333018 - Change argument type from reference to pointer in popConstI32, popConstI64, popConstPositivePowerOfTwoI32, and popConstPositivePowerOfTwoI64 to adhere to the API coding style. r=bbouvier 2017-03-02 18:01:49 -05:00
Ralph Giles a6e5969607 Bug 1346897 - Indent tooltool manifests. r=mshal
Apply a 2-character indent to in-tree tooltool manifests to make
them easier to read, and to make the formatting more consistent
so automating updates is simpler.

Modern editors will maintain json indentation. The only long
lines we have are already over 80 characters, so the extra space
shouldn't create new long lines.

Also update mercurial installer script to generate json with
the same indentation, even though its output is temporary.

Tooltool itself was updated to generate manifests with this
indentation in Bug 1325225.

MozReview-Commit-ID: DKj6nL9OENv

--HG--
extra : rebase_source : fc3f8616ec689d74e06c0db84c2b261825f86453
2017-03-15 12:27:51 -07:00
Jan de Mooij 730b149dc0 Bug 1337390 - Fix JSExternalString::dumpRepresentation. r=jwalden 2017-02-28 11:38:42 +01:00
Jan de Mooij 1aed7fab74 Bug 1342769 - Fix IonBuilder::maybeMarkEmpty to look at the instruction's operands instead of the instruction itself. r=bhackett 2017-02-28 11:37:45 +01:00
Jan de Mooij ab7da0efbd Bug 1342653 - Use a HashSet instead of a Vector for Nursery::cellsWithUid_. r=jonco 2017-02-28 09:53:21 +01:00
Jan de Mooij cc8234749d Bug 1341067 followup - Some renaming review nits I forgot to qref. r=me 2017-02-28 09:52:41 +01:00
André Bargull 818af04f74 Bug 1342663 - Check for detached source buffer in TypedArray.prototype.slice. r=arai 2017-02-27 12:02:50 -08:00
Tom Tromey eac932c739 Bug 1343265 - fix typo in DumpJumpOrigins; r=nbp
MozReview-Commit-ID: 6NDW9kUVZGV

--HG--
extra : rebase_source : 66043b999ea2d5a944659778f8c93c628990fa2a
2017-02-28 10:07:44 -07:00
Carsten "Tomcat" Book 19b6ae43dc Merge mozilla-central to autoland 2017-03-01 16:43:23 +01:00
Yury Delendik b0206f7c74 Bug 1335773 - Inspects wasm function locals. r=luke
MozReview-Commit-ID: FqD49YpsG7t

--HG--
extra : rebase_source : b3bf05858c77041cb9766f127033d11bd553bdd0
2017-02-01 11:08:44 -06:00
Ted Campbell 2fe8cd4877 Bug 1273858 - Testcases r=jandem
MozReview-Commit-ID: AasrybVpMgN

--HG--
extra : rebase_source : b311f7aac944f2468b5d6cfd357c0308f934f589
2017-02-16 22:51:18 -05:00
Ted Campbell 9f630025f0 Bug 1273858 - Ion-compile JSOP_FRESHENLEXICALENV/JSOP_RECREATELEXICALENV r=jandem
MozReview-Commit-ID: DHFceqW3YlD

--HG--
extra : rebase_source : 5ec23b06c9469934abe4ea5c34d798339ffe230c
2017-02-15 15:28:15 -05:00
Ted Campbell 8b4e69e220 Bug 1273858 - Ion-compile JSOP_PUSHLEXICALENV/JSOP_POPLEXICALENV r=jandem
MozReview-Commit-ID: CqD2GUGoNyY

--HG--
extra : rebase_source : 7e6600dad166aaa861682da46e138c1021032698
2017-02-10 13:49:21 -05:00
Ted Campbell c9d5d5a983 Bug 1273858 - Support LexicalEnvironmentObjects during Ion bailout r=jandem
MozReview-Commit-ID: 8BLiJNOcrS2

--HG--
extra : rebase_source : e8efb5eb35e5e0a9aee082109bd45c8893b82b44
2017-02-16 16:47:17 -05:00
Till Schneidereit c7c5b5fa85 Bug 1067942 - Change error message for attempted getter-only property writes to include the property name. r=terrence,ms2ger
MozReview-Commit-ID: 2IyEPyAaoNt
2014-09-30 01:17:55 +02:00
André Bargull b78dc86665 Bug 1317384 - Update TypedArray.prototype.set to be compliant with latest ECMA2017. r=lth
--HG--
extra : rebase_source : eb8f30dcd3930af2e5b025e78639b1d7e81814af
extra : amend_source : 03c7080f10aec330b8e8e0ad0198adf7d3fc546c
2017-02-17 08:27:13 -08:00
André Bargull ace462e926 Bug 1339817 - Part 2: Enable Intl.PluralRules tests from test262. r=shu
--HG--
extra : rebase_source : 509059ba1af30403b3161d4243cc7f2213c048e3
2017-02-17 08:26:49 -08:00
André Bargull 58c87fcb5a Bug 1339817 - Part 1: Allow to specify additional includes for test262 tests. r=shu
--HG--
extra : rebase_source : 66f12225719fc451cc8bb8c1442bff87ba3838cd
2017-02-17 08:25:47 -08:00
Masatoshi Kimura 47d59c07d5 Bug 1338971 - Stop using non-standard JavaScript in AutoConfig files. r=mkaply
MozReview-Commit-ID: F2dDRHAw02S

--HG--
extra : rebase_source : ca74dd69aa51e4eb8d832161e05f98cc2b42df3c
2017-02-13 22:18:12 +09:00
Tooru Fujisawa 27c7974fe9 Bug 1340589 - Use JSScript::mainOffset() while checking JSTRY_CATCH in dis() output. r=luke 2017-02-18 07:59:58 +09:00
Tooru Fujisawa e87582e27e Bug 1340089 - Check the binding name in comprehensionFor. r=till 2017-02-18 07:59:57 +09:00
Brian Hackett 55ab200a7c Bug 1337968 - Add API and shell harness for cooperative multithreading, r=jandem.
--HG--
extra : rebase_source : 077c7f0d3ba4cb5e45303715809be95690294816
2017-02-17 05:13:11 -07:00
Steve Fink 845b81bada Bug 1339481 - Specialize writing bytes in structured clone, r=kanru
--HG--
extra : rebase_source : 5fec9a98f61a448f870609d2f05734b2cc2be395
2017-02-14 21:29:24 -08:00
Wes Kocher a85d979e21 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 18xg2cleATb
2017-02-17 13:51:01 -08:00
Wes Kocher 8c4ce17711 Merge inbound to m-c a=merge
MozReview-Commit-ID: DCUf7VEDrTt
2017-02-17 13:38:51 -08:00
Luke Wagner 346c5c24dd Bug 1338002 - Baldr: update spec tests (r=sunfish)
MozReview-Commit-ID: 5Ix5HsYmjVu

--HG--
extra : rebase_source : 76510546d51af88b7a420e8102353d014d5648ee
2017-02-17 13:22:54 -06:00
Luke Wagner be1be82732 Bug 1338002 - Baldr: validate unreachable code with polymorphic type checking (r=sunfish)
MozReview-Commit-ID: 71NtyT7Khl8

--HG--
extra : rebase_source : 2ef7a174e222660793399d6a4b6e14d9971b135c
2017-02-17 13:21:43 -06:00
Carsten "Tomcat" Book f6b2508a60 Merge mozilla-central to mozilla-inbound 2017-02-17 13:26:10 +01:00
Carsten "Tomcat" Book afe4d4b240 merge mozilla-inbound to mozilla-central a=merge 2017-02-17 13:24:55 +01:00
Jan de Mooij fc38025d15 Bug 1330593 part 2 - Add a representativeStringArray shell function. r=jwalden 2017-02-17 12:28:47 +01:00
Sean Stangl ee98daf7c0 Bug 1339051 - Make VTune JIT integration threadsafe. r=h4writer 2017-02-15 14:44:41 -08:00
David Major c1a56c7c44 Bug 1339697: Give Register a constexpr constructor. r=luke 2017-02-17 15:15:31 +13:00
Andrea Marchesini 3043646e52 Bug 1339871 - Splitting dom/file/File.{h,cpp}, r=smaug
--HG--
rename : dom/file/File.cpp => dom/file/BaseBlobImpl.cpp
rename : dom/file/File.h => dom/file/BaseBlobImpl.h
rename : dom/file/File.cpp => dom/file/Blob.cpp
rename : dom/file/File.h => dom/file/Blob.h
rename : dom/file/File.cpp => dom/file/BlobImpl.cpp
rename : dom/file/File.h => dom/file/BlobImpl.h
rename : dom/file/File.cpp => dom/file/EmptyBlobImpl.cpp
rename : dom/file/File.h => dom/file/EmptyBlobImpl.h
rename : dom/file/File.cpp => dom/file/FileBlobImpl.cpp
rename : dom/file/File.h => dom/file/FileBlobImpl.h
rename : dom/file/File.cpp => dom/file/MemoryBlobImpl.cpp
rename : dom/file/File.h => dom/file/MemoryBlobImpl.h
rename : dom/file/File.cpp => dom/file/StreamBlobImpl.cpp
rename : dom/file/File.h => dom/file/StreamBlobImpl.h
rename : dom/file/File.h => dom/file/StringBlobImpl.h
rename : dom/file/File.h => dom/file/TemporaryBlobImpl.h
2017-02-16 18:26:38 +01:00
Hannes Verschore a6fbc12b2e Bug 1330667: IonMonkey - Create a new constant for every optimized arguments use, r=jandem 2017-02-16 17:57:22 +01:00
Jan de Mooij 2cc6f809f5 Bug 1337024 part 3 - Port Baseline TypedArray/TypedObject SetElem stub to CacheIR. r=evilpie 2017-02-16 15:11:37 +01:00
Jan de Mooij dac4546cfe Bug 1337871 part 2 - Remove some shared IC code that's no longer used. r=h4writer 2017-02-16 13:47:45 +01:00
Brian Hackett ce9b13c3a2 Bug 1337491 - Off thread parsing changes for multithreaded runtimes, r=jandem,jonco.
--HG--
extra : rebase_source : 63a5969a744200861baca93409de042dbff7122e
2017-02-15 10:39:44 -07:00
Jon Coppeard 861ffe9744 Bug 1339770 - Add tests for gray marking of CCWs r=sfink 2017-02-16 10:28:12 +00:00
Jon Coppeard 26d977adc8 Bug 1339770 - Add jsapi tests for weak map gray marking r=sfink 2017-02-16 10:28:01 +00:00
Wes Kocher 3797956aa6 Merge m-c to inbound a=merge
MozReview-Commit-ID: BemR756HJnR
2017-02-15 16:33:03 -08:00
Wes Kocher 017c515285 Merge inbound to m-c a=merge
MozReview-Commit-ID: IKI0zVtF1n9
2017-02-15 16:18:13 -08:00
Tooru Fujisawa 22bf9a6966 Bug 1336783 - followup: Fix rooting. r=bustage 2017-02-16 01:39:41 +09:00
Tom Schuster fb3880e2f1 Bug 1317382 - DataView constructor uses ToIndex in ES2017. r=Waldo 2017-02-15 23:24:44 +01:00
Tom Schuster 799aa36a27 Bug 1335862 - Implement mayResolve for arguments objects. r=jandem 2017-02-15 23:24:44 +01:00
Bill McCloskey 194043ae97 Bug 1339289 - Give names to a lot of common runnables (r=ehsan)
MozReview-Commit-ID: 5IdvK6kgoAW
2017-02-15 12:30:01 -08:00
Sylvestre Ledru 0a9a44c058 Bug 1337358 - Converts for(...; ...; ...) loops to use the new range-based loops in C++11 in js/ - follow up r=bbouvier
MozReview-Commit-ID: 7KanuTsFIu4
2017-02-15 16:59:58 +01:00
Tooru Fujisawa 86216cdd9d Bug 1336783 - Part 3 - Use simpler macro to avoid internal compiler error on SM-tc(H). r=jandem CLOSED TREE 2017-02-16 00:37:28 +09:00
Tooru Fujisawa f4e61b592f Bug 1283712 - Part 10: Support notes in getLastWarning shell-only testing function. r=jwalden 2017-02-15 23:53:07 +09:00
Tooru Fujisawa 0ea7ee57fa Bug 1283712 - Part 9: Add getErrorNotes testing function to extract error notes from exception. r=jwalden 2017-02-15 23:53:07 +09:00
Tooru Fujisawa 918d55e6ea Bug 1283712 - Part 7: Add nsIScriptErrorNote and nsIScriptError.notes. r=bholley 2017-02-15 23:53:06 +09:00
Tooru Fujisawa b025ee6d4e Bug 1283712 - Part 6: Add xpc::ErrorBase, xpc::ErrorNote, and xpc::ErrorReport.mNotes. r=bholley 2017-02-15 23:53:06 +09:00
Tooru Fujisawa 4fe038b2c5 Bug 1283712 - Part 5: Support notes in Debugger. r=jimb 2017-02-15 23:53:06 +09:00
Tooru Fujisawa 75472e5e0b Bug 1283712 - Part 4: Print error note in js::PrintError. r=jwalden 2017-02-15 23:53:06 +09:00
Tooru Fujisawa f3dbdbd457 Bug 1283712 - Part 3: Add Parser::errorWithNotes and Parser::errorWithNotesAt. r=jwalden 2017-02-15 23:53:06 +09:00
Tooru Fujisawa de88ec80cb Bug 1283712 - Part 2: Add JSEXN_NOTE. r=jwalden 2017-02-15 23:53:05 +09:00
Tooru Fujisawa 5b355e2da8 Bug 1283712 - Part 1: Add JSErrorBase, JSErrorNotes, JSErrorNotes::Note, and JSErrorReport.{notes,freeNotes}. r=jwalden 2017-02-15 23:53:05 +09:00
Tooru Fujisawa 6e3978d74d Bug 1336783 - Part 2: Remove Parser::checkStrictBinding. r=jwalden 2017-02-15 23:53:05 +09:00
Tooru Fujisawa 43fdb1c7f0 Bug 1336783 - Part 1: Rework on reserved word and remove TokenStream::KeywordIsName. r=jwalden
--HG--
rename : js/src/jsautokw.py => js/src/frontend/GenerateReservedWords.py
rename : js/src/vm/Keywords.h => js/src/frontend/ReservedWords.h
2017-02-15 23:53:05 +09:00
André Bargull 06c6a5f7dd Bug 1339621: Directly add default null collation instead of shifting all elements with unshift(). r=Waldo
--HG--
extra : rebase_source : 46109d27755b7a94d1992d65c2bcb965ca276405
2017-02-14 15:06:24 -08:00
André Bargull 264673d83e Bug 1339032 - Update Intl legacy constructor compromise semantics per the latest spec changes. r=Waldo
--HG--
extra : rebase_source : b8f9fff032e25c24386ce7049036b65aeb19bc5a
2017-02-13 03:01:58 -08:00
André Bargull cf43ef7e77 Bug 1326411 - Don't recompute locale data for each Unicode extension key. r=Waldo
--HG--
extra : rebase_source : 58566a389ea3a28508a13d5aa1151a2ed710391b
2017-02-15 02:47:50 -08:00
Jan de Mooij b1804ebc64 Bug 1339507 - Cache the shape/group lookup in ProxyObject::create. r=bhackett 2017-02-15 14:28:52 +01:00
Carsten "Tomcat" Book ed3d8d8286 merge mozilla-inbound to mozilla-central a=merge 2017-02-15 12:21:44 +01:00
Julian Seward facbf1c445 Bug 1338179 - Disable W^X JIT code page switching when running on Valgrind on Linux/Mac. r=nicolas.b.pierron.
--HG--
extra : rebase_source : d4182992104e319e50c0b1c07b3eec24f9c1d2de
2017-02-14 20:41:23 +01:00
Boris Zbarsky a449ccb8fa Bug 1333045. Update Location object properties to current spec. r=qdot
Specifically, three changes:

1) valueOf should be non-enumerable.
2) valueOf should be === to Object.prototype.valueOf.
3) There should be no toJSON.

The tests come directly from https://github.com/w3c/web-platform-tests/pull/4623
so not much need to review them.
2017-02-15 00:01:48 -05:00
Xidorn Quan 95c1b23bd9 Bug 1339341- Downgrade several stylo errors to warnings. r=heycam
MozReview-Commit-ID: 2Sa8dS8uSo5

--HG--
extra : rebase_source : c6809309bbef5faf458b56018b964619ff386238
2017-02-14 18:26:10 +11:00
Shu-yu Guo 06e82eef5c Bug 1338796 - Do not call iterator.return if iterator.throw is present in yield*. (r=arai) 2017-02-14 16:22:00 -08:00
Shu-yu Guo 3ebccd7aeb Bug 1339137 - Don't do Annex B lexical function behavior when redeclaring a parameter name in a function with parameter expressions. (r=Waldo) 2017-02-14 16:22:00 -08:00
Luke Wagner da5c1df043 Bug 1338002 - Baldr: backout bug 1324032 (r=sunfish)
MozReview-Commit-ID: DATV6VP9672
2017-02-14 17:59:01 -06:00
André Bargull 32038f4826 Bug 1339257 - Remove stale entries in file exclusion list for jstests. r=evilpie
--HG--
extra : rebase_source : 3c671583588896043810ee82779c23baf852b2f8
2017-02-14 10:29:32 -08:00
André Bargull 4fb33a472c Bug 1339369 - Remove tests marked as obsolete and which were disabled by default. r=evilpie
--HG--
extra : rebase_source : 1b3d1af0b87dfe6912c1b11709520a06476ee912
2017-02-14 10:29:21 -08:00
André Bargull a5b658cd0e Bug 1339406 - Part 7: Remove tests for tracemonkey options from jstests. r=arai
--HG--
extra : rebase_source : 12c9adfdee60d882b9509975a3910d764fa87276
2017-02-14 10:28:55 -08:00
André Bargull b3c35c8228 Bug 1339406 - Part 6: Block-scope helper variables from ecma_6/Math/shell.js. r=arai
--HG--
extra : rebase_source : 1c9d629df8dcfacab32a39de055a49405e29fde3
2017-02-14 10:26:21 -08:00
André Bargull 7b1765b808 Bug 1339406 - Part 5: Remove unused functions from shell.js files. r=arai
--HG--
extra : rebase_source : 173963b801fbd0b562805aba8a2fa47bc2aceb38
2017-02-14 10:26:18 -08:00
André Bargull 4a10f77a8f Bug 1339406 - Part 4: Remove tests for methodjit shell options. r=arai
--HG--
extra : rebase_source : 723cbc10130063d169d1f70115349a4e51500b5f
2017-02-14 10:26:15 -08:00