Commit Graph

57535 Commits

Author SHA1 Message Date
Tooru Fujisawa
bfe7fdd732 Bug 1279545 - Part 2: Add tests for RegExp parse tree. r=till 2016-10-25 00:54:22 +09:00
Tooru Fujisawa
bbf362285f Bug 1279545 - Part 1: Add parseRegExp testing function. r=till 2016-10-25 00:54:22 +09:00
Carsten "Tomcat" Book
d7fd96b2af Backed out changeset 8cb2020d0325 (bug 1308996) for arm failures 2016-10-24 16:49:02 +02:00
Lars T Hansen
11e5880d69 Bug 1308996 - make simulated segfault fixups conditional. r=bbouvier
--HG--
extra : rebase_source : f5ec8ef568abc32f8a3251c1b8448a7bf78c5c41
2016-10-10 20:30:06 +02:00
Benjamin Bouvier
21a8e4efd4 Bug 1310949: Fix non-unified build bustage; r=me
MozReview-Commit-ID: E8HEBmQqNO4

--HG--
extra : rebase_source : 806dcc5ef11a21382b20fadbe3604838a44addff
2016-10-24 13:15:44 +02:00
Hannes Verschore
8bce4d3904 Bug 1205073: IonMonkey - Take definition type in consideration when splitting before first register use, r=bhackett 2016-10-24 13:08:11 +02:00
Hannes Verschore
6572f13e21 Bug 1307354: TraceLogging - Make sure the payload is marked as used during creation, r=bbouvier 2016-10-24 13:08:08 +02:00
Benjamin Bouvier
7350100679 Bug 1310949: Render Data section; r=luke
MozReview-Commit-ID: ETfxSaLZPBc

--HG--
extra : rebase_source : c050b686f9d6cd61f265c4444d745523082a98dd
2016-10-20 11:06:12 +02:00
Benjamin Bouvier
7173e505bd Bug 1310949: Factor out DecodeDataSection; r=luke
MozReview-Commit-ID: 2M84eKv8sIj

--HG--
extra : rebase_source : 01577305b499cb45d59913585bb58c85a86bcf9a
2016-10-20 12:48:44 +02:00
Benjamin Bouvier
eb51521368 Bug 1310949: Code style tweaks; r=luke
MozReview-Commit-ID: EsMJrGDPdKM

--HG--
extra : rebase_source : 2f1aed7e57ec9c4f11a76de2456735c09aa3d225
2016-10-19 18:00:59 +02:00
Benjamin Bouvier
9f17700f0f Bug 1310949: Print the global section in the linear format; r=luke
MozReview-Commit-ID: J2ZuxfOtqd2

--HG--
extra : rebase_source : d63d0acea4db6f5a4377f15269f0445ce4096cd3
2016-10-19 18:08:29 +02:00
Benjamin Bouvier
28c2c9e157 Bug 1310949: Tidy up rendering and use wasmFullPass more; r=luke
MozReview-Commit-ID: JPzhMhE50gK

--HG--
extra : rebase_source : 81ba6590e93a58c8841ea787ceb2714b15d78e93
2016-10-19 17:08:49 +02:00
Benjamin Bouvier
7d330e2dd1 Bug 1310949: Tighten Global parsing/decoding; r=luke
MozReview-Commit-ID: 4AVFOFWlgub

--HG--
rename : js/src/asmjs/WasmBinary.cpp => js/src/asmjs/WasmBinaryFormat.cpp
extra : rebase_source : ac85ca85277beb0fb07f18fb3676da30d11b49e2
2016-10-21 19:10:00 +02:00
Benjamin Bouvier
a738b37621 Bug 1310949: Add support for i64 and additional args to wasmFullPass; r=luke
MozReview-Commit-ID: 5mMowaaTwt4

--HG--
extra : rebase_source : e6c2112c3c052192475bb647087100a6e94cc8cf
2016-10-19 16:35:13 +02:00
Michelangelo De Simone
8641036d15 Bug 1310859 - Remove DOM/nfc and related code. r=jst
MozReview-Commit-ID: FiS7uGytipN

--HG--
extra : rebase_source : cd9be62d334568b4abd850398467bce4c4eb1544
2016-10-18 15:16:56 -07:00
Ryan VanderMeulen
a57d15ff6a Merge inbound to m-c. a=merge 2016-10-23 13:16:27 -04:00
Luke Wagner
69f5d39171 Bug 1276029 - Baldr: remove accidental MOZ_ALWAYS_TRUE (r=me)
MozReview-Commit-ID: KqN2VVyptr0

--HG--
extra : rebase_source : e036db7bf7d0e154ef89d995dc56cab599e24a8e
2016-10-22 12:34:50 -05:00
Tooru Fujisawa
82f68e8a08 Bug 1243617 - Part 2: Remove JS_VALUE_IS_CONSTEXPR. r=jwalden 2016-10-23 01:46:36 +09:00
Tooru Fujisawa
19c4b08136 Bug 1243617 - Part 1: Add constructor for JS::Value::layout. r=jwalden 2016-10-23 01:46:36 +09:00
Tooru Fujisawa
e9f44fd672 Bug 1312181 - Add this-> to is<T>() in MOZ_ASSERT in BytecodeEmitter::NestableControl::as() as a workaround for compiler bug. r=ehoogeveen 2016-10-23 01:46:35 +09:00
Tooru Fujisawa
2496019988 Bug 1283710 - Part 9: Make JSErrorToXPCException a file static function. r=bholley 2016-10-19 02:10:33 +09:00
Tooru Fujisawa
025ed2f4bf Bug 1283710 - Part 8: Do not duplicate zero arguments error message. r=jwalden 2016-10-19 02:10:33 +09:00
Emilio Cobos Álvarez
26c4807cbe Bug 1304955: Call site objects now store their elements as dense after bug 1283334. r=jandem
MozReview-Commit-ID: HYvtvJLGbpT

--HG--
extra : rebase_source : 7c604dd5b4164e934b5d8d959ecd7ab0ebcf371a
2016-10-20 02:02:28 +02:00
Ryan VanderMeulen
75888fe1aa Merge autoland to m-c on a CLOSED TREE. a=merge 2016-10-21 17:12:27 -04:00
Ryan VanderMeulen
5c4d7020f2 Merge m-c to inbound. a=merge 2016-10-21 11:08:45 -04:00
David Major
143b6829de Bug 1311825: Pass by reference in fromObjectVariant and related methods. r=billm
MozReview-Commit-ID: GIhK1zRMsYb

--HG--
extra : rebase_source : 7da47ec2ea86e73c9d00cd4e6c1e5c830a54d7e1
2016-10-20 15:37:26 -05:00
Tom Tromey
a0c9c90951 Bug 553032 - use PRIuSIZE rather than %z in js; r=evilpie
MozReview-Commit-ID: JqiWVZZOY7h

--HG--
extra : rebase_source : 4992dff9eb610b448c81af4c203e31e2d49cf061
2016-10-14 07:59:03 -06:00
Tom Tromey
d328235139 Bug 553032 - add unit tests for JS_smprintf; r=evilpie
MozReview-Commit-ID: 4WDp1k839Si

--HG--
extra : rebase_source : 3599d9fdb3644714d3ca23452fb44c68747a03ef
2016-10-13 14:39:09 -06:00
Tom Tromey
556be8eaa0 Bug 553032 - change sprintf_append to be a varargs function; r=evilpie
MozReview-Commit-ID: I5aECiK5Coz

--HG--
extra : rebase_source : cd359e879f7b8c01cc4350368415affd6cb83e47
2016-10-12 12:10:40 -06:00
Tom Tromey
0dc689acdd Bug 553032 - use MOZ_FORMAT_PRINTF in js; r=evilpie
MozReview-Commit-ID: DD3DJRkOxmC

--HG--
extra : rebase_source : 61cdf0da1a82b626abc79209ee41e43c3bb152ca
2016-10-11 12:44:40 -06:00
Tom Tromey
2d0739c63d Bug 553032 - printf fix in MStoreSlot::printOpcode; r=h4writer
MozReview-Commit-ID: AebpsBc43qE

--HG--
extra : rebase_source : a39d5e8cb4d9a645165e3f3665e7adc068c105f7
2016-10-20 08:38:45 -06:00
Tom Tromey
f36057ea28 Bug 553032 - use MOZ_FORMAT_PRINTF, not explicit attribute; r=froydnj
MozReview-Commit-ID: FgGin8L5oTp

--HG--
extra : rebase_source : 67f6d7ed8fc56745c66bd339013d1e9b753ec780
2016-10-12 10:03:53 -06:00
Tooru Fujisawa
1643cbe87d Bug 1283710 - Part 7: Use UTF-8 in js::ExpandErrorArgumentsVA and AutoMessageArgs. r=jwalden 2016-10-01 16:23:25 +09:00
Carsten "Tomcat" Book
bbfd099b2d Merge mozilla-central to autoland 2016-10-20 17:27:57 +02:00
Emilio Cobos Álvarez
154fc5aceb Bug 1310744: Revert "Bug 1300193: Make existing assertion that no longer holds more flexible. r=jandem,nbp", but keep the test.
This now holds, as it should. The test is superseded by the one in this bug, but
it's harmless.

MozReview-Commit-ID: G7HHZLIIr6Y

--HG--
extra : rebase_source : afb8a1fd07ccd200f15bdace325d43e2ce368bbe
2016-10-19 21:39:08 +02:00
Emilio Cobos Álvarez
6af8c7e8f2 Bug 1310744: Regression test. r=nbp
MozReview-Commit-ID: 9R2JoooOtkc

--HG--
extra : rebase_source : 6936ddb01a70fe5b35c71013bb9c0106633dd759
2016-10-19 21:21:40 +02:00
Emilio Cobos Álvarez
6ee5104601 Bug 1310744: Add missing assertions in NativeObject.h r=nbp
MozReview-Commit-ID: BIG3aqxp0q4

--HG--
extra : rebase_source : 655d7d2298a62e305c03f61fd99624300c47dcfb
2016-10-19 19:23:33 +02:00
Emilio Cobos Álvarez
288528b0c3 Bug 1310744: Don't enter in the fast path for DeleteArrayElement for frozen arrays. r=nbp
MozReview-Commit-ID: 6NuJICFchMr

--HG--
extra : rebase_source : af573290d89bc82a5c6e62a491fe29999aa4e3fb
2016-10-19 21:04:51 +02:00
Emilio Cobos Álvarez
de44eaf3df Bug 1310744: Make ArrayReverseDenseKernel frozenness-aware. r=nbp
MozReview-Commit-ID: qBzLK9JMV7

--HG--
extra : rebase_source : 22425b89be0e739b1062e8de202f6c8521e8dae0
2016-10-19 20:37:49 +02:00
Emilio Cobos Álvarez
e6d38ed512 Bug 1310744: Bail out from SetOrExtendBoxedOrUnboxedDenseElements if the elements are frozen. r=nbp
MozReview-Commit-ID: 9INusCjjn9K

--HG--
extra : rebase_source : 1d05ed737cf8d37b3a4f7d71f95492b41f0b8f87
2016-10-19 20:34:46 +02:00
Emilio Cobos Álvarez
04d7209dc0 Bug 1310744: Allow MoveBoxedOrUnboxedDenseElements to bail out if the elements are frozen. r=nbp
MozReview-Commit-ID: EXhw8FkcNnu

--HG--
extra : rebase_source : 157628abbb16c618e9f451381510813b5535fb00
2016-10-19 20:34:38 +02:00
Emilio Cobos Álvarez
6580a4199c Bug 1310744: A frozen element has no writable length. r=nbp
I'm not completely sure this patch is necessary, but seemed logic to me.

MozReview-Commit-ID: Ita4HpkzDUh

--HG--
extra : rebase_source : 82ebc105ff757b40bd9fdb5fb0b3b506fdb16a91
2016-10-19 20:30:51 +02:00
Emilio Cobos Álvarez
33415848ce Bug 1310744: Add NativeObject::denseElementsAreFrozen. r=nbp
We are going to use this in a few places now, so make it public.

MozReview-Commit-ID: JvzZkIfWxAj

--HG--
extra : rebase_source : 73677097763908fa392c3e24e14f88d004987250
2016-10-19 20:31:56 +02:00
André Bargull
f3b62fc533 Bug 1296273: Remove no longer used native implementation of TypedArray methods. r=lth 2016-10-18 11:42:00 -07:00
André Bargull
8e53c5e480 Bug 903391: Evaluate both arguments in String.prototype.lastIndexOf. r=till 2016-10-18 11:44:11 -07:00
André Bargull
2c4a554595 Bug 1289392: Check for detached ArrayBuffers with inline or cross-compartment in TypedArray.prototype.sort. r=evilpie 2016-10-18 11:45:01 -07:00
Hannes Verschore
463202b43f Bug 1308802: IonMonkey - Folding ToInt32 shouldn't happen for negative zero, r=nbp 2016-10-19 11:50:01 +02:00
Hannes Verschore
0b9606f05d Bug 1304640: IonMonkey - Comparing two regexp makes not being cloned observable, r=arai 2016-10-19 11:50:01 +02:00
Hannes Verschore
315aac5161 Bug 1304641 - TraceLogger: Also throw compartment mismatch error when running in the jits, r=bbouvier 2016-10-19 11:50:01 +02:00
Hannes Verschore
65959031cb Bug 1304643 - IonMonkey: Only mark as not aliasing if object owns property, r=jandem 2016-10-19 11:50:01 +02:00
Lars T Hansen
2a35e8fb46 Bug 1311287 - free register after setglobal. r=bbouvier
--HG--
extra : amend_source : 9993cda75f10318a281231e5245c14f9ecbe1ab3
2016-10-19 11:23:12 +02:00
Lars T Hansen
12e154dc18 Bug 1310158 - clean up return value handling. r=h4writer
--HG--
extra : rebase_source : 04dca392d64d061e2d451f98abf1a963147d051e
extra : histedit_source : 015e06671e6cbd9dbb4435b58d0d89100e528c1a
2016-10-14 15:18:06 +02:00
Lars T Hansen
fa87932371 Bug 1310158 - remove compiler dependency. r=h4writer
--HG--
extra : rebase_source : ed77fae33a000f8d0e100eb8c287627533a00080
extra : histedit_source : cb30f0f18c1190ae2a90609d3962ee3b200accb9
2016-10-19 11:06:57 +02:00
André Bargull
b847ec2cfd Bug 1041341 - Part 2: Report a SyntaxError for destructuring rest with trailing comma. r=arai
--HG--
extra : rebase_source : 686eb8d6fb58998255365d53bdfc71b4d5ec50a9
2016-10-10 13:33:19 -07:00
André Bargull
b1c8fefe38 Bug 1041341 - Part 1: Add support to store a pending destructuring error in PossibleError. r=arai, r=Waldo
--HG--
extra : rebase_source : 3c060093818552029ec4a848facb27fb23e5e1a0
2016-10-18 17:27:47 -07:00
Wes Kocher
71f24926ed Backed out 10 changesets (bug 1283710) for osx xpcshell failures a=backout
Backed out changeset eb95a12e5d86 (bug 1283710)
Backed out changeset f727edc4be48 (bug 1283710)
Backed out changeset fed60fbf645d (bug 1283710)
Backed out changeset 98339fa564f1 (bug 1283710)
Backed out changeset 51b8d69edca0 (bug 1283710)
Backed out changeset d72527b7d3c0 (bug 1283710)
Backed out changeset ee5215f1a38e (bug 1283710)
Backed out changeset dcedbaefe399 (bug 1283710)
Backed out changeset 61f8250cbe0b (bug 1283710)
Backed out changeset 239382846137 (bug 1283710)
2016-10-18 17:27:58 -07:00
Bill McCloskey
cb1d72742e Bug 1308039 - Add cx arg to AutoSuppressGCAnalysis (r=sfink) 2016-10-18 16:15:43 -07:00
André Bargull
fc4b28ccf3 Bug 1310935 - Add missing check for SharedArrayBuffer availability. r=evilpie 2016-10-18 02:21:56 -07:00
Tooru Fujisawa
f72bca21ae Bug 1283710 - followup: Free owned linebuf in JSErrorReport. r=jwalden CLOSED TREE 2016-10-19 03:22:07 +09:00
Steve Fink
e4e517faa7 Bug 1310819 - Fix developer runs of hazard analysis, r=fitzgen
--HG--
extra : rebase_source : 5aab1ed27703342fbabeadcde258f94a497de5a5
2016-10-17 14:04:38 -07:00
Tooru Fujisawa
fe381e93f3 Bug 1283710 - Part 9: Make JSErrorToXPCException a file static function. r=bholley 2016-10-19 02:10:33 +09:00
Tooru Fujisawa
5c00af639e Bug 1283710 - Part 8: Do not duplicate zero arguments error message. r=jwalden 2016-10-19 02:10:33 +09:00
Tooru Fujisawa
77ecb9e276 Bug 1283710 - Part 7: Use UTF-8 in js::ExpandErrorArgumentsVA and AutoMessageArgs. r=jwalden 2016-10-01 16:23:25 +09:00
Tooru Fujisawa
331fcf2d25 Bug 1283710 - Part 6: Make CompileError subclass of JSErrorReport. r=jwalden 2016-08-14 20:39:31 +09:00
Tooru Fujisawa
e013a67ed2 Bug 1283710 - Part 6: Make CompileError subclass of JSErrorReport. r=jwalden 2016-08-14 20:39:31 +09:00
Tooru Fujisawa
6f9d4ca127 Bug 1283710 - Part 5: Rename message to toStringResult if it is the result of toString. r=bholley,jwalden,froydnj 2016-08-14 20:39:31 +09:00
Tooru Fujisawa
8d69b4f507 Bug 1283710 - Part 5: Rename message to toStringResult if it is the result of toString. r=bholley,jwalden,froydnj 2016-08-14 20:39:31 +09:00
Tooru Fujisawa
fa2f08828a Bug 1283710 - Part 4: Do not duplicate message in ExpandErrorArgumentsVA, and remove message parameter from WarningReporter. r=jwalden 2016-08-14 20:39:31 +09:00
Tooru Fujisawa
84473915d8 Bug 1283710 - Part 4: Do not duplicate message in ExpandErrorArgumentsVA, and remove message parameter from WarningReporter. r=jwalden 2016-08-14 20:39:31 +09:00
Tooru Fujisawa
300a2a4f41 Bug 1283710 - Part 3: Release JSErrorReport.linebuf_ in destructor if own. r=jwalden 2016-08-14 20:39:31 +09:00
Tooru Fujisawa
84b8403a67 Bug 1283710 - Part 3: Release JSErrorReport.linebuf_ in destructor if own. r=jwalden 2016-08-14 20:39:31 +09:00
Tooru Fujisawa
23d868fa20 Bug 1283710 - Part 2: Change JSErrorReport.ucmessage to JSErrorReport.message_ with ConstUTF8CharsZ, and release them in destructor if it is owned. r=jwalden 2016-08-14 20:39:30 +09:00
Tooru Fujisawa
81c1a988e3 Bug 1283710 - Part 2: Change JSErrorReport.ucmessage to JSErrorReport.message_ with ConstUTF8CharsZ, and release them in destructor if it is owned. r=jwalden 2016-08-14 20:39:30 +09:00
Tooru Fujisawa
0596fa94f3 Bug 1283710 - Part 1: Reorder JSErrorReport members. r=jwalden 2016-08-14 20:39:30 +09:00
Tooru Fujisawa
48f582bcf4 Bug 1311319 - Part 2: Use Latin1 variant of error reporting if OS error is not ASCII. r=jwalden 2016-10-23 01:46:34 +09:00
Tooru Fujisawa
a65b1a21f0 Bug 1311319 - Part 1: Do not call PR_GetErrorText() when PR_GetErrorTextLength() is 0. r=sfink 2016-10-23 01:46:34 +09:00
Lars T Hansen
f0a8b9eb69 Bug 1312162 - insert a cast. r=me 2016-10-22 09:47:47 +02:00
Lars T Hansen
0335c174a3 Bug 1308402 - pop the CPU stack properly after new-style call-indirect. r=bbouvier
--HG--
extra : rebase_source : 5ba74da6a1d55694f295097cc35e2453544062c1
extra : histedit_source : 6a0458099207799937be471a05ad6f495afcccb0
2016-10-21 14:25:17 +02:00
Lars T Hansen
19841dc8c5 Bug 1311403 - remove overly constraining NaN-preservation tests. r=bbouvier
--HG--
extra : rebase_source : eb4d1b6d4f44f1e24827c6d260293a6595dc3b8b
extra : histedit_source : 898510c1affff2c4093bdd3dcc31a5d0c0e33402
2016-10-19 16:50:25 +02:00
Luke Wagner
c0f5fd20d6 Bug 1276029 - Baldr: add JS API to support structured clone of wasm objects (r=bbouvier)
MozReview-Commit-ID: B2coukYF6mG
2016-10-21 22:29:52 -05:00
Luke Wagner
994e2e4b5b Bug 1276029 - Baldr: split bytecode from rest of compiled code (r=bbouvier)
MozReview-Commit-ID: HFf7bRiGgE4
2016-10-21 22:29:52 -05:00
Luke Wagner
0a569d3431 Bug 1276029 - Baldr: move assumptions from Metadata to Module (r=bbouvier)
MozReview-Commit-ID: 7NzJql9oNyi
2016-10-21 22:29:52 -05:00
Ryan VanderMeulen
aed5c0a176 Merge m-c to inbound on a CLOSED TREE. a=merge 2016-10-21 17:15:01 -04:00
nfroyd@mozilla.com
1e04a4e1bb Bug 1305816 - explicitly specify underlying type of js::jit::X86Encoding::RegisterID; r=jandem
Recent clang-cl warns when building for x86-64 Windows about
initializing Assembler-x86-shared.h's Operand::index_ with
Registers::Invalid.  This warning stems from a couple of
implementation-defined behaviors in the C++ standard:

- The only constraints on an (non-fixed-width) enum's type are that
  the type is at least as large as `int`, and that the chosen type can
  accomodate all the values of the enum.  MSVC (and clang-cl) default
  to int wherever possible.

- Bitfields declared with `int` (resp. `char`, `short`, `long`) may be
  either signed or unsigned at the implementation's discretion.  It is
  therefore encouraged that you always declare bitfields with unsigned
  types.

Operand::index_ is a 5-bit field, with a declared type of
Register::Encoding; on x86, that boils down to the enum
js::jit::X86Encoding::RegisterID.  The compiler defaults the
underlying type of RegisterID to `int` (so the bitfield is signed on
some implementations), and Registers::Invalid is 16 on x86-64, large
enough to silently change sign when stored into the bitfield.

Declaring the bitfield as a fixed-width unsigned 8-bit enum is
sufficient to silence the warning.
2016-10-21 23:06:47 +00:00
Tooru Fujisawa
3c7705c4b5 Bug 1283710 - Part 1: Reorder JSErrorReport members. r=jwalden 2016-08-14 20:39:30 +09:00
Jon Coppeard
1989821a93 Bug 1308116 - Improve GC telemetry for non-incremental GCs r=sfink 2016-10-18 18:02:54 +01:00
Jon Coppeard
556585c65f Bug 1297558 - Remove explicit calls to Expose*ToActiveJS r=mccr8 2016-10-18 17:58:19 +01:00
Jan de Mooij
a00dbb24ab Bug 1309903 - Fix Ion regalloc to require call instruction uses to be atStart. r=bhackett 2016-10-18 17:52:56 +02:00
Jan de Mooij
6b23604d39 Bug 1309174 - Handle lazy self-hosted functions in optimization tracking debug spew. r=shu 2016-10-18 17:08:47 +02:00
Luke Wagner
b01eb31083 Bug 1311019 - Baldr: use currentOffset() instead of size() for current offset (r=bbouvier)
MozReview-Commit-ID: 9SSCWfua4zj

--HG--
extra : rebase_source : 03f822b7e4d1f3d2bf16666ea06e30dac3308772
2016-10-18 09:46:27 -05:00
Tooru Fujisawa
2a7c72118f Bug 1306669 - Root an object that lives across ffi_call. r=jonco 2016-10-18 21:43:30 +09:00
Carsten "Tomcat" Book
b9686db6da Merge mozilla-central to mozilla-inbound 2016-10-18 10:44:04 +02:00
Carsten "Tomcat" Book
5c08a87874 merge mozilla-inbound to mozilla-central a=merge 2016-10-18 10:38:37 +02:00
Shu-yu Guo
dc1c20cfdd Bug 1287047 - ExposeToActiveJS the callee when creating a hollow CallObject for Debugger.Environment. (r=jimb) 2016-10-17 14:05:54 -07:00
Luke Wagner
8eaccfbc2e Bug 1310239 - Baldr: include field name in error message (r=bbouvier)
MozReview-Commit-ID: 4kQJsrrTSH0
2016-10-17 09:14:46 -05:00
Lars T Hansen
08c0ed3b5c Bug 1309178 - Add interactive disasm calls to ARM simulator. r=bbouvier 2016-10-11 12:18:03 +02:00
Iris Hsiao
d639977b83 Backed out changeset c659503d33ce (bug 1309180) for wrong commit message
--HG--
extra : rebase_source : 4a818eb56623eb0e5a67ebfc99e58c764d2baf01
2016-10-18 15:51:38 +08:00
Tooru Fujisawa
4777efc768 Bug 1304191 - Part 11: Fold jsval_layout into JS::Value. r=jwalden 2016-10-18 16:46:01 +09:00
Tooru Fujisawa
934d8428a6 Bug 1304191 - Part 10: Remove JSVAL_TO_IMPL and IMPL_TO_JSVAL. r=jwalden 2016-10-18 16:46:01 +09:00
Tooru Fujisawa
b6f7a1d6dd Bug 1304191 - Part 9: Add Value::fromDouble and use it in CanonicalizedDoubleValue. r=jwalden 2016-10-18 16:46:01 +09:00
Tooru Fujisawa
45ce3de0ff Bug 1304191 - Part 8.1: Remove JS::Value::setUnmarkedPtr and JS::Value::toUnmarkedPtr. r=jwalden 2016-10-18 16:46:01 +09:00
Tooru Fujisawa
58ffefe531 Bug 1304191 - Part 8: Stop using jsval_layout in JIT. r=jwalden 2016-10-18 16:46:01 +09:00
Tooru Fujisawa
ab5fd27553 Bug 1304191 - Part 7: Move JSVAL_EXTRACT_NON_DOUBLE_TYPE_IMPL into JS::Value methods. r=jwalden 2016-10-18 16:46:00 +09:00
Tooru Fujisawa
a35fdf8267 Bug 1304191 - Part 6: Move JSVAL_TO_*_IMPL into JS::Value methods. r=jwalden 2016-10-18 16:46:00 +09:00
Tooru Fujisawa
6535bee8fb Bug 1304191 - Part 5.1: Always use JS::Value::toTag() to get tag in JS::Value::traceKind. r=jwalden 2016-10-18 16:46:00 +09:00
Tooru Fujisawa
a552563f54 Bug 1304191 - Part 5: Move JSVAL_TRACE_KIND_IMPL into JS::Value methods. r=jwalden 2016-10-18 16:46:00 +09:00
Tooru Fujisawa
481cbe78ba Bug 1304191 - Part 4: Move JSVAL_SAME_TYPE_IMPL into SameType. r=jwalden 2016-10-18 16:46:00 +09:00
Tooru Fujisawa
0cf3292966 Bug 1304191 - Part 3: Move *_TO_JSVAL_IMPL into JS::Value methods. r=jwalden 2016-10-18 16:45:59 +09:00
Tooru Fujisawa
95cdd0842a Bug 1304191 - Part 2: Move JSVAL_IS_*_IMPL into JS::Value methods. r=jwalden 2016-10-18 16:45:59 +09:00
Tooru Fujisawa
cf85a10917 Bug 1304191 - Part 1: Change BUILD_JSVAL to JS::Value::fromRawBits and JS::Value::fromTagAndPayload. r=jwalden 2016-10-18 16:45:59 +09:00
Tooru Fujisawa
f1477f7671 Bug 1290337 - Part 27: Pass CallArgs& to GetScriptAndPCArgs. r=terrence 2016-10-18 16:45:59 +09:00
Tooru Fujisawa
20e4f390f1 Bug 1290337 - Part 26: Use HandleValue in ToPropertyKey. r=shu 2016-10-18 16:45:59 +09:00
Tooru Fujisawa
a60c24ed6c Bug 1290337 - Part 25: Use HandleValue in ToNumber and ToNumberSlow. r=shu 2016-10-18 16:45:59 +09:00
Mike Hommey
bc12be4203 Bug 1296530 - Bustage followup; r=gps
--HG--
extra : amend_source : cf647501661f0847638c48363c9445c681af7e41
2016-10-17 15:46:41 -07:00
Wes Kocher
664cdfb48f Merge m-c to autoland, a=merge 2016-10-17 15:37:57 -07:00
Mike Hommey
e5ba3fd67a Bug 1296530 - Replace include_when with include, and remove include_when. r=chmanchester
--HG--
extra : rebase_source : e2efd38b3875dde3dae996405838e9ca20475c32
2016-10-13 17:15:24 +09:00
Tooru Fujisawa
f2e075bfa2 Bug 1290337 - Part 24: Replace JS_ALIGNMENT_OF with alignof. r=jwalden 2016-09-11 18:23:11 +09:00
Tooru Fujisawa
7ee22eddfb Bug 1290337 - Part 23: Use alignas and MOZ_NON_PARAM attribute for jsval_layout. r=jwalden 2016-09-11 18:23:11 +09:00
Tooru Fujisawa
ac643f0834 Bug 1290337 - Part 21: Use const reference in BarrierMethods::exposeToJS. r=sfink 2016-10-18 16:45:57 +09:00
Sander Mathijs van Veen
fbd9b124bb Bug 1308647 - Mark testcase of bug1296249 as slow. r=h4writer 2016-10-17 02:49:00 +02:00
André Bargull
f54639ddc3 Bug 1303795 - Self-host Reflect.apply and Reflect.construct. r=till 2016-10-17 09:19:50 -07:00
André Bargull
6d5af66822 Bug 1243717 - Part 1: Allow destructuring for rest parameter (ES2016). r=arai
--HG--
extra : rebase_source : 157701e5de82412122186cdf78b74a98c435e9e3
2016-10-10 13:13:58 -07:00
André Bargull
9e839646c7 Bug 1243717 - Part 0: Set correct function length when parameter expressions, but no defaults are present. r=arai
--HG--
extra : rebase_source : b027e738a1741c20757fbc6b958ebf5d2c2c30ed
2016-10-10 13:13:28 -07:00
André Bargull
ddfa975699 Bug 1122396 - Validate newly created instances in typed array builtins. r=evilpie
--HG--
extra : rebase_source : efcbff4b5e1b6f9e142bf2bc2cfa09d7afe12771
2016-10-14 09:03:46 -07:00
André Bargull
cfbe3fe8c3 Bug 866602 - Handle four-character language codes in CanonicalizeLanguageTag. r=Waldo
--HG--
extra : rebase_source : 8cc60711bde98d08e13c7ce962301dd4859edd77
2016-09-19 09:54:23 -07:00
Lars T Hansen
b6838e3947 Bug 1309180: Add interactive disasm calls to ARM simulator. r=bbouvier
--HG--
extra : amend_source : 765d7d3bcae7357bfc0425935ea9a9df6b657c61
2016-10-11 12:18:03 +02:00
Lars T Hansen
c0165d049a Bug 1277011 - refactor ARM code. r=h4writer
--HG--
extra : rebase_source : a85435bbe275e076b814de5fd72fa9e406aeaf84
2016-10-17 12:32:15 +02:00
Lars T Hansen
87f566bd8d Bug 1277011 - Wasm baseline: fix joinReg reservation on 32-bit platforms. r=h4writer
--HG--
extra : rebase_source : 4af5ad58e5a09e46d3a6f7717d96613796c432a3
2016-10-14 15:36:29 +02:00
Lars T Hansen
8cabcf6f57 Bug 1277011 - Wasm baseline: refactor for portability. r=h4writer
--HG--
extra : rebase_source : ba0c0d3c4f7ad1d075cefd9b63960fb970f7c79e
2016-10-14 15:35:31 +02:00
Jan de Mooij
0701269a64 Bug 1308346 - Return new.target separately from readFrameArgsAndLocals. r=shu,efaust 2016-10-21 17:03:36 +02:00
Jan de Mooij
cc970ec261 Bug 1311325 - Remove CompileInfo::constructing_. r=nbp 2016-10-21 12:27:32 +02:00
Jan de Mooij
b1e4ebedf8 Bug 1311061 - Ensure the script is still Ion-compilable after creating |this|. r=h4writer 2016-10-21 12:26:43 +02:00
Jon Coppeard
044f5a8463 Bug 1309909 - Give each mutex an order and check the order of aquisition r=fitzgen r=luke
--HG--
rename : js/src/threading/posix/Mutex.cpp => js/src/threading/posix/MutexImpl.cpp
rename : js/src/threading/windows/Mutex.cpp => js/src/threading/windows/MutexImpl.cpp
2016-10-21 09:53:00 +01:00
Bill McCloskey
cbd15a0459 Bug 1311212 - Add dead CPOW debugging facility (r=mrbkap) 2016-10-19 16:26:23 -07:00
Bill McCloskey
ef8bb811b2 Bug 1310351 - Locking fixes for currentBudget (r=jonco) 2016-10-19 16:03:38 -07:00
Bill McCloskey
834638b864 Bug 1310351 - Unset interruptCallbackRequested (r=jonco) 2016-10-19 16:03:23 -07:00
Jeff Walden
cb80de1835 Bug 1310394 - for-in loops with a name declaration with an initializer, in strict mode code, should be a syntax error. r=anba
--HG--
extra : rebase_source : ebba046f35070c6c2b42374ae3aa8815e57e33de
2016-10-15 02:35:18 -07:00
Sebastian Hengst
c2196f8420 Backed out changeset 07c8f7c80bb7 (bug 1306249) for crashes and assertions, at least in tests on Windows XP debug. r=backout 2016-10-15 10:28:37 +02:00
Sebastian Hengst
bded0366f6 Backed out changeset d50a04c82343 (bug 1306249) 2016-10-15 10:27:36 +02:00
Steve Fink
d43b9764bb Bug 1306249 - Report phase with longest self time, not longest total time, r=jonco
--HG--
extra : rebase_source : b2dd2df2a13b0a56ea4a2ac06c683a03a63506fa
extra : source : 327706b55f4e13b8c308f0e18b4932347108564d
2016-09-30 12:25:21 -07:00
Steve Fink
c499d3269c Bug 1306249 - Stop recording total time spent in helper threads, r=jonco
--HG--
extra : rebase_source : cdb805e6fedec4e272d5073f1bd8419bbbd3631e
2016-10-12 11:03:47 -07:00
Wes Kocher
727d0de706 Merge m-c to inbound, a=merge CLOSED TREE 2016-10-14 14:51:44 -07:00
Wes Kocher
42083975b0 Merge inbound to central, a=merge 2016-10-14 14:40:49 -07:00
Wes Kocher
b6f29fa6ab Backed out 5 changesets (bug 1305145) for windows build failures a=backout
Backed out changeset 0f39b7305d41 (bug 1305145)
Backed out changeset ab38e43fdcb6 (bug 1305145)
Backed out changeset aece1b8a8673 (bug 1305145)
Backed out changeset 85082a111806 (bug 1305145)
Backed out changeset 33e563d2d834 (bug 1305145)
2016-10-14 13:07:58 -07:00
Benjamin Bouvier
bd0f0eca51 Bug 1309927: Handle the stack case in LCompareI64 x64 codegen; r=h4writer
MozReview-Commit-ID: 2FkI5uPXRhv

--HG--
extra : rebase_source : db4529ba080f8dba6aa9a133c008648fb4a9d67f
2016-10-13 18:37:23 +02:00
Benjamin Bouvier
810ade3bb1 Bug 1308056: Update binary encoding of GetGlobal/SetGlobal; r=luke
MozReview-Commit-ID: 4OIoAE6kefj

--HG--
extra : rebase_source : d42a02cd1d62475cead3816947a76fffa826132e
2016-10-13 16:57:05 +02:00
Benjamin Bouvier
2bccffb569 Bug 1308056: wasm: remove default memory/table option and simplify flags; r=luke
MozReview-Commit-ID: IH6rtY4mrkA

--HG--
extra : rebase_source : 0c6e2e31a4556bfcf0a6516ab2ebae253e695f14
2016-10-14 12:32:09 +02:00
Jon Coppeard
b38790a8a7 Bug 1306250 - Fix opt build bustage r=me 2016-10-14 10:24:56 +01:00
Jon Coppeard
6ca64e3652 Bug 1308919 - Don't make Handles to Heap<T> as it avoids the read barrier r=bz 2016-10-14 09:45:28 +01:00
Jon Coppeard
ddff9b317d Bug 1306250 - Iterate gray objects without evicting the nursery r=sfink 2016-10-14 09:43:30 +01:00
André Bargull
83bc1415dd Bug 1309701 - Improve the TypedArray constructor for shared memory to support more tests. r=evilpie
--HG--
extra : rebase_source : 04e414b11e7124fc7cc8942104da4ddb08bf9823
2016-10-14 06:42:48 -07:00
Benjamin Bouvier
7566342dc7 Bug 1201124: Protect SIMD on arm to prevent bustage; r=me 2016-10-14 20:38:30 +02:00
Chris Manchester
c1230eee34 Bug 1305145 - Make libs and flags set by pkg_check_modules available to the caller. r=glandium
MozReview-Commit-ID: 7uZheAOXKwE
2016-10-14 11:06:30 -07:00
Carsten "Tomcat" Book
ac47637175 Merge mozilla-central to autoland 2016-10-14 12:34:25 +02:00
Nick Fitzgerald
a1e3490680 Bug 1277338 - Part 2: Fix SM(pkg) bustage; r=Waldo 2016-10-13 17:37:56 -07:00
Nick Fitzgerald
e2cccedfb2 Bug 1277338 - Part 1: Turn js/src into the mozjs-sys crate; r=sfink 2016-10-13 16:12:42 -07:00
Luke Wagner
8da947b82a Bug 1277973 - Baldr: provide precise trap locations and stacks (r=bbouvier)
MozReview-Commit-ID: IYeIrR2jL9v

--HG--
extra : rebase_source : 914cd9a6aa2c387b7cc6fc3bd66ee776da77cfe9
2016-10-13 13:17:56 -05:00
Luke Wagner
0304d6957c Bug 1277973 - Baldr: avoid clobbering pc in ARM simulator (r=bbouvier)
MozReview-Commit-ID: 8whPV65LFj9

--HG--
extra : rebase_source : ad90e14a0cc465685c15f2653d94322357b1d357
2016-10-13 13:17:55 -05:00
Luke Wagner
4107dbcdec Bug 1277973 - Baldr: hoist wasm::MemoryAccessDesc (r=bbouvier)
MozReview-Commit-ID: J5rFi5dPnfP

--HG--
extra : rebase_source : 8696e2aeef0ddb30581a3628c23df717d0366e52
2016-10-13 13:17:55 -05:00
Luke Wagner
332ef3b291 Bug 1277973 - Baldr: rename masm 'thunk' to 'farJump' (r=bbouvier)
MozReview-Commit-ID: GQjtflK86kt

--HG--
extra : rebase_source : dbe6190808e10e632002a121bc83bc1ce6991002
2016-10-13 13:17:55 -05:00
Luke Wagner
0a7abb951a Bug 1277973 - Baldr: prepare CallSiteAndTarget for another Kind (r=bbouvier)
MozReview-Commit-ID: EJe83vhdKvT

--HG--
extra : rebase_source : b769a116454ce50b3de808ecb54d567ea88624fd
2016-10-13 13:17:55 -05:00
Luke Wagner
7ca02b8aa0 Bug 1277973 - Baldr: dynamically check system page size (r=bbouvier)
MozReview-Commit-ID: K9ylallCCWp

--HG--
extra : rebase_source : 6381b76bba79f627fbfad2b37eaa684a187bcc6d
2016-10-13 13:17:55 -05:00
Luke Wagner
232a3a2dee Bug 1277973 - Baldr: replace WasmTlsReg load with SymbolicAddress load in prologue/epilogue (r=bbouvier)
MozReview-Commit-ID: 7lCcT7ymRkZ

--HG--
extra : rebase_source : f1cf824becfbff48c4414f9b1f08d0793a818a50
2016-10-13 13:17:55 -05:00
Luke Wagner
a0ca78d3f2 Bug 1277973 - Baldr: make the throw stub not be a JumpTarget (r=bbouvier)
MozReview-Commit-ID: 3rf0z6BFkBu

--HG--
extra : rebase_source : 369d6e426e8a92be08a739ad5cc077eef6be46e3
2016-10-13 13:17:54 -05:00
Sebastian Hengst
8d88d75420 Merge m-c to mozilla-inbound. r=backout-merge a=merge-backout 2016-10-13 18:48:56 +02:00
Sebastian Hengst
d96317a351 Backed out changeset b2fbdba6f5c7 (bug 837961) for failing jsreftest.html?test=ecma_3/Date/15.9.5.5.js. r=backout a=backout
MozReview-Commit-ID: IuPXc21JxxC
2016-10-13 18:45:31 +02:00
Carsten "Tomcat" Book
802e7b16f9 merge mozilla-inbound to mozilla-central a=merge 2016-10-13 11:53:49 +02:00
André Bargull
f43a6de616 Bug 1309691 - Set canonical name for %TypedArray%[Symbol.species] getter. r=arai 2016-10-12 12:50:27 -07:00
Yury Delendik
bd779289c7 Bug 1309583 - Exports wasm generated machine code. r=luke
MozReview-Commit-ID: FjY1asHucL4
2016-10-12 10:01:22 -05:00
Ho-Pang Hsu
ea1ffcd54c Bug 1282671 - Loose the assertion checking win->IsDying(). r=bholly 2016-10-12 19:49:00 +02:00
André Bargull
06a80805d1 Bug 837961 - Part 2: Implement timeZone support for Intl.DateTimeFormat. r=Waldo 2016-10-06 22:37:20 -07:00
André Bargull
2e28385ecd Bug 1198377 - Move Map/Set constructor initialization to self-hosted code. r=till 2016-10-12 12:41:58 -07:00
André Bargull
73fea6b74b Bug 1204024 - Part 5: Allow duplicate __proto__ properties in object destructuring. r=arai 2016-10-10 10:44:59 -07:00
André Bargull
1f2a8a91f1 Bug 1204024 - Part 4: Delay error reporting for pending errors until the destructuring pattern is completely parsed. r=arai 2016-10-12 12:36:13 -07:00
André Bargull
ab29fb7ab0 Bug 1204024 - Part 3: Move destructuring error checking for PossibleError to checkDestructuringPattern. r=arai 2016-10-10 10:44:14 -07:00
André Bargull
567f980b29 Bug 1204024 - Part 2: Restrict PossibleError to non-recoverable errors, because it's not possible to recover from a pending error. r=arai 2016-10-12 12:35:06 -07:00
André Bargull
f215ab0267 Bug 1204024 - Part 1: Set possibleError to nullptr in expression-only contexts. r=arai 2016-10-10 10:43:10 -07:00
Yury Delendik
e1c1100c01 Bug 1308510 - Default to non-experimental text format. r=luke
MozReview-Commit-ID: 8IZIGP1hN5J

--HG--
extra : rebase_source : 642b32263f5da8e3686d2dfc94a8857a3302c1cd
2016-10-13 14:30:17 -05:00
Wes Kocher
2337995bb0 Merge m-c to autoland, a=merge 2016-10-12 14:44:21 -07:00
Petr Sumbera
63cbc5cc98 Bug 1309246 - avoids bug909997.js test failure on systems with JS_CODEGEN_NONE set. r=nbp 2016-10-11 10:56:04 -07:00
Emanuel Hoogeveen
566da45d28 Bug 1304552 - Prevent passing an invalid size to JS_CreateMappedArrayBufferContents. r=sfink 2016-10-12 04:58:00 +02:00
Nicolas B. Pierron
c4ddfd637a Bug 1286009 - Distinguish failure reasons of JS_{En,De}codeScript. r=luke 2016-10-12 12:13:22 +00:00
Carsten "Tomcat" Book
6c0aec63b8 Merge mozilla-central to mozilla-inbound 2016-10-12 12:03:34 +02:00
Carsten "Tomcat" Book
2844380bd4 merge mozilla-inbound to mozilla-central a=merge
--HG--
rename : media/gmp-clearkey/0.1/ClearKeyCencParser.cpp => media/psshparser/PsshParser.cpp
rename : media/gmp-clearkey/0.1/ClearKeyCencParser.h => media/psshparser/PsshParser.h
rename : media/gmp-clearkey/0.1/gtest/TestClearKeyUtils.cpp => media/psshparser/gtest/TestPsshParser.cpp
rename : media/gmp-clearkey/0.1/gtest/moz.build => media/psshparser/gtest/moz.build
2016-10-12 12:01:48 +02:00
Jan de Mooij
16f561144e Bug 1303754 - Don't use lazy source code if the startup cache is not available (i.e. content processes). r=bholley 2016-10-12 11:51:02 +02:00
Jan de Mooij
631b9cd0ad Bug 1308556 - Fix some issues in Ion bailout code. r=arai 2016-10-12 11:38:16 +02:00
Jan de Mooij
84813b6a9d Bug 1308655 - Remove js::Thread's infallible constructor. r=froydnj 2016-10-12 11:38:14 +02:00
Emanuel Hoogeveen
1d883ebb89 Bug 1309230 - Return from the unix signal handler rather than re-raising. r=luke
--HG--
extra : rebase_source : 62fb4867536cde197ee4ac5f3101e9be1d3bdba7
2016-10-11 10:12:00 +02:00
Petr Sumbera
de19b0c864 Bug 1308455 - testHeapAccess.js doesn't support big-endian platforms. r=luke
--HG--
extra : rebase_source : 28795a9e75969b6c2a442cc4a873c4b9ff939242
2016-10-10 10:01:15 -07:00
Sebastian Hengst
a64fbe3d86 Backed out changeset 65b43a0e62b8 (bug 1302682) for failing own test due to assertion on Linux x64 debug. r=backout 2016-10-11 20:19:36 +02:00
Benjamin Bouvier
ac280f7cb5 Bug 1308056: wasm: enable a few spec test cases; r=luke
MozReview-Commit-ID: AmK8iNrkMTr

--HG--
extra : rebase_source : 7b245179dea5b4fbee7cbb9a7f033dbf8035842f
2016-10-07 16:20:18 +02:00
Benjamin Bouvier
e29d0c625e Bug 1308056: wasm: add syntax for inline import/export in memories; r=luke
MozReview-Commit-ID: Ijh7d0eqvuM

--HG--
extra : rebase_source : d538fd48f27283911cf23ea8dab392c4e8855403
2016-10-11 15:05:53 +02:00
Benjamin Bouvier
c2aaf58a70 Bug 1308056: Allow to index memory/table owner in elem/data sections; r=luke
MozReview-Commit-ID: 1Sk7OJkbKxi

--HG--
extra : rebase_source : a1564144743d8bfa90cca82cc7a2bd817a3a788e
2016-10-07 16:22:24 +02:00
Benjamin Bouvier
66fccf7fcf Bug 1308056: wasm: add syntax for inline import/export in globals; r=luke
MozReview-Commit-ID: DLc7oCNkbpi

--HG--
extra : rebase_source : d531b8af2b465d68301590e392bed712396ccd31
2016-10-07 17:14:17 +02:00
Benjamin Bouvier
b66823a395 Bug 1308056: wasm: add syntax for inline import/export in functions; r=luke
MozReview-Commit-ID: 7lrs8wG3Tn0

--HG--
extra : rebase_source : a9031389b6ee9da5236f3b8a9a0f85df86765ded
2016-10-07 11:58:18 +02:00
Benjamin Bouvier
97df04e212 Bug 1308056: wasm: add anyfunc and inline import/export for tables; r=luke
MozReview-Commit-ID: 2DR2KN57OKT

--HG--
extra : rebase_source : f2e58727502cddb88b00392245c331802212a82c
2016-10-11 17:04:43 +02:00
Benjamin Bouvier
4350a499c9 Bug 1308056: Rename ResizableLimits to Limits; r=luke
MozReview-Commit-ID: 3PUQIUk3HNw

--HG--
extra : rebase_source : b21a517e1b4c01cbda235e9cc4e32bdbd6fd72a8
2016-10-10 17:38:11 +02:00
Sander Mathijs van Veen
6ce00e9777 Bug 1302682 - Crash [@ __memcpy_sse2_unaligned] with TypedArray. r=jonco
--HG--
extra : rebase_source : 0fa920648ee2a298076208ddcecdc9543312c823
extra : histedit_source : 8d8b514c35556879a25b1ec1a26386b6d5f7da6a
2016-10-11 18:21:26 +03:00
Petr Sumbera
6362119e0c Bug 1309157 - Looks for hypot in libm instead of libc in conversion-native-function.js. r=arai 2016-10-11 02:18:53 -07:00
Petr Sumbera
da0dbd824b Bug 1308897 - CodeCoverage.cpp is missing PRIu64 on several places. r=nbp 2016-10-11 13:10:43 +00:00
Sebastian Hengst
71ddac3537 Backed out changeset 6996ca3c1ef6 (bug 1308056) for Windows bustage and spidermonkey test failures. r=backout on a CLOSED TREE 2016-10-11 14:25:54 +02:00
Sebastian Hengst
2742cc30e9 Backed out changeset 7a39a87c6bb9 (bug 1308056) 2016-10-11 14:25:17 +02:00
Sebastian Hengst
19f705d5d8 Backed out changeset c417fb206f6c (bug 1308056) 2016-10-11 14:25:13 +02:00
Sebastian Hengst
4bc4fba9fc Backed out changeset 913ccaec26d5 (bug 1308056) 2016-10-11 14:25:09 +02:00
Sebastian Hengst
0e2b4dff95 Backed out changeset 27bec108f660 (bug 1308056) 2016-10-11 14:25:06 +02:00
Sebastian Hengst
aa9a8bde6a Backed out changeset 5aaf29ab8c30 (bug 1308056) 2016-10-11 14:25:02 +02:00
Sebastian Hengst
111aa330db Backed out changeset 8030f70a5130 (bug 1308056) 2016-10-11 14:24:59 +02:00
Benjamin Bouvier
4f9924e35f Bug 1308056: wasm: enable a few spec test cases; r=luke
MozReview-Commit-ID: AmK8iNrkMTr

--HG--
extra : rebase_source : e2fbb6560bab46b4f44dd1d7065f77bb9e460108
2016-10-07 16:20:18 +02:00
Benjamin Bouvier
63e6c9f167 Bug 1308056: wasm: add syntax for inline import/export in memories; r=luke
MozReview-Commit-ID: Ijh7d0eqvuM

--HG--
extra : rebase_source : f548885324df77c57511f33f47eaa85151245a94
2016-10-07 17:03:14 +02:00
Benjamin Bouvier
624db7b2dd Bug 1308056: Allow to index memory/table owner in elem/data sections; r=luke
MozReview-Commit-ID: 1Sk7OJkbKxi

--HG--
extra : rebase_source : c6ba578b222378cfd14972036d53f9c88dbbdc47
2016-10-07 16:22:24 +02:00
Benjamin Bouvier
cff747d16b Bug 1308056: wasm: add syntax for inline import/export in globals; r=luke
MozReview-Commit-ID: DLc7oCNkbpi

--HG--
extra : rebase_source : 2a9472e84eaf7363c9c9bb3c5a8e1b03a55d33ae
2016-10-07 17:14:17 +02:00
Benjamin Bouvier
5db4b59105 Bug 1308056: wasm: add syntax for inline import/export in functions; r=luke
MozReview-Commit-ID: 7lrs8wG3Tn0

--HG--
extra : rebase_source : 3b7f95bf18e86771e454148cc249e6e34d21bf16
2016-10-07 11:58:18 +02:00
Benjamin Bouvier
2a7a4b6f0e Bug 1308056: wasm: add anyfunc and inline import/export for tables; r=luke
MozReview-Commit-ID: 2DR2KN57OKT

--HG--
extra : rebase_source : d2ef40dc893623180640c614704a912546bfcfad
2016-10-07 17:03:38 +02:00
Benjamin Bouvier
59f55f80bf Bug 1308056: Rename ResizableLimits to Limits; r=luke
MozReview-Commit-ID: 3PUQIUk3HNw

--HG--
extra : rebase_source : 4348fc293d1a4da34ba51d97ef2f115b450645e7
2016-10-10 17:38:11 +02:00
André Bargull
e87b4eacab Bug 1306701 - Part 1: Evaluate var-initializer expression in for-in loop per Annex B.3.6 (ES2017). r=Waldo
--HG--
rename : js/src/tests/ecma_6/extensions/for-in-with-assignments.js => js/src/tests/ecma_2017/Statements/for-in-with-assignments.js
2016-10-10 10:29:32 -07:00
André Bargull
cd697b853d Bug 1306701 - Part 0.2: Remove no longer needed destructuring helper method from BytecodeEmitter. r=Waldo 2016-10-10 10:29:17 -07:00
André Bargull
0437a1cfc0 Bug 1306701 - Part 0.1: Remove dead code in BytecodeEmitter::emitDeclarationList. r=Waldo, shu 2016-10-10 10:29:04 -07:00
Andrew McCreight
08f550a459 Bug 1309664 - Don't unmark gray globals in ZoneGlobalsAreAllGray. r=sfink
Calling unmark gray will make the method always return false.

MozReview-Commit-ID: 2t2u9F9dpq2

--HG--
extra : rebase_source : d7251269c8661e9484b9fc01e4ff590d7f01e981
2016-10-12 11:24:21 -07:00
Jeff Walden
de8974994d Bug 1299284 - Remove js::IsPowerOfTwo in favor of mozilla::IsPowerOfTwo. r=sfink
--HG--
extra : rebase_source : c9d695c25c9e53d7b86d9718611718af9fea8598
2016-07-21 00:36:38 -07:00
Jeff Walden
519d3b4049 Bug 1299284 - Change typed-object code's alignment, offset, and size concepts to use unsigned types. r=sfink
--HG--
extra : rebase_source : a6354f2444d417e48a44b24c6fe4f1578faebfff
2016-07-20 21:49:12 -07:00
Jeff Walden
5d99b819c6 Bug 1303678. r=arai
--HG--
extra : rebase_source : d30077db8a0b524243a41e667de22ba0b963b2de
2016-09-30 13:11:53 -07:00
Benjamin Bouvier
558ad9bede Bug 1201124: Unwrap objects before getting their fields in asm.js; r=luke
MozReview-Commit-ID: 8TyHcvq4wnD

--HG--
extra : rebase_source : 6e94251530080d84736f58f558ad3331ad6655eb
2016-10-14 13:44:46 +02:00
Benjamin Bouvier
3078242d7b Bug 1310239: Rename Import::func to Import::field; r=luke
MozReview-Commit-ID: 18lKZQri8eI

--HG--
extra : rebase_source : 06d22e06d328d4145ec81349d3a88162beeb8dba
extra : histedit_source : 13cb451d0c5b86aca4016140211f6379184060aa
2016-10-14 17:28:04 +02:00
Benjamin Bouvier
44ca6b4157 Bug 1310239: Only allow numbers as valid global imports; r=luke
MozReview-Commit-ID: DrlZbrpvV9S

--HG--
extra : rebase_source : 814cf87d395ab5342e22675a6c83b302762b32ce
extra : histedit_source : cc8e50d9e5e3219426b0176515e4b257ad8a4dc2
2016-10-14 17:25:47 +02:00
Jon Coppeard
c50fa1fd48 Bug 1301377 - Disallow GC while using ProfilingFrameIterator r=jandem 2016-10-14 17:13:47 +01:00
Brian Hackett
7b7d057eda Bug 1306281 - Defer release during finalization of sandbox principals, r=bholley.
--HG--
extra : rebase_source : 331f8d0f8010dd3d522d00511bb9f89348f7fa03
2016-10-13 18:07:02 -06:00
Hannes Verschore
09a9fcf1ee Bug 1308220 - TraceLogger: generally report non-jit calls in ionmonkey, r=bbouvier 2016-10-17 15:31:57 +02:00
Hannes Verschore
044bc31c56 Bug 1308906: TraceLogger - Make sure it is more clear what internal time in TraceLogger means, r=bbouvier 2016-10-17 15:26:41 +02:00
Benjamin Bouvier
fcf5a05013 Bug 1307768: Don't include wasmGuardPages with the rest of the ClassInfo fields; r=njn
MozReview-Commit-ID: 9tqQdAn2Ywa

--HG--
extra : rebase_source : 0a8ed1a2637968285f497ef3e41aa3b75a8ed49f
extra : amend_source : 759c252412b2e5ba99805cf5bb05828ff947f833
2016-10-14 14:53:08 +02:00
Sebastian Hengst
9b55cff586 Backed out changeset 0d4f60fa9597 (bug 1306281) for hazard. r=backout 2016-10-13 18:33:08 +02:00
Brian Hackett
d04d2b9c49 Bug 1306281 - Defer release during finalization of sandbox principals, r=bholley.
--HG--
extra : rebase_source : 19cc22ea009390de6661d2d77ea4f976c650947f
2016-10-12 13:09:49 -06:00
Jon Coppeard
240037dcf4 Bug 1309615 - Don't skip shrinking the nursery when it's not being used r=sfink 2016-10-13 11:11:41 +01:00
Sander Mathijs van Veen
1612d05501 Bug 1302682 - Crash [@ __memcpy_sse2_unaligned] with TypedArray. r=jonco 2016-10-13 10:52:13 -04:00
Sander Mathijs van Veen
ea5b70702d Bug 1295130 - Merge AddI into LoadUnboxedScalar r=nbp 2016-10-11 07:06:00 +02:00
Sander Mathijs van Veen
cda480db83 Bug 1295130 - Fold AddI opcode with constant into other AddI with constant r=nbp 2016-10-11 07:04:00 +02:00
Andrea Marchesini
793b227795 Bug 1309818 - Fixing some warning when compiling dom/*, r=smaug 2016-10-13 14:33:07 +02:00
Sebastian Hengst
38b4c31828 Backed out changeset 4e4969c65834 (bug 1309615) for timeouts in devtools tests. r=backout 2016-10-13 13:47:02 +02:00
Jon Coppeard
1d45661b3f Bug 1309615 - Don't skip shrinking the nursery when it's not being used r=sfink 2016-10-13 11:11:41 +01:00
Johannes Schulte
3f3c70ceb2 Bug 1176230 - Try to fold ternary's with double-argument to NaNToZero. r=nbp 2016-06-24 19:02:23 +02:00
Carsten "Tomcat" Book
42c313336d Merge mozilla-central to autoland
--HG--
rename : devtools/client/inspector/markup/markup.js => devtools/client/inspector/markup/utils.js
rename : devtools/client/inspector/markup/markup.js => devtools/client/inspector/markup/views/element-container.js
rename : devtools/client/inspector/markup/markup.js => devtools/client/inspector/markup/views/element-editor.js
rename : devtools/client/inspector/markup/html-editor.js => devtools/client/inspector/markup/views/html-editor.js
rename : devtools/client/inspector/markup/markup.js => devtools/client/inspector/markup/views/markup-container.js
rename : devtools/client/inspector/markup/markup.js => devtools/client/inspector/markup/views/read-only-container.js
rename : devtools/client/inspector/markup/markup.js => devtools/client/inspector/markup/views/read-only-editor.js
rename : devtools/client/inspector/markup/markup.js => devtools/client/inspector/markup/views/root-container.js
rename : devtools/client/inspector/markup/markup.js => devtools/client/inspector/markup/views/text-container.js
rename : devtools/client/inspector/markup/markup.js => devtools/client/inspector/markup/views/text-editor.js
extra : rebase_source : 8b4e5aa861c37406882330d2f87125c8a008734a
2016-10-11 13:06:12 +02:00
Andi-Bogdan Postelnicu
5ad0b0f3d8 Bug 1309160 - prevent null pointer dereference when calling TraceRootRange/ r=jandem
MozReview-Commit-ID: EhcmRbtyFVN

--HG--
extra : rebase_source : 9166647b3e502eb8686946e9592db4167a00c16c
2016-10-11 14:15:25 +03:00
Phil Ringnalda
25afef5692 Merge m-i to m-c, a=merge
MozReview-Commit-ID: HlGgqNI8vwD
2016-10-10 19:07:58 -07:00
Boris Zbarsky
13514334ba Bug 946906 part 8. When getting a cacheable property off a DOM Xray, cache it on the Xray's expando object. r=bholley 2016-10-10 18:16:26 -04:00
Boris Zbarsky
fba67a8141 Bug 946906 part 6. Clear the relevant slots on Xray expandos when clearing cached slots on a DOM object. r=bholley 2016-10-10 18:16:26 -04:00
Boris Zbarsky
8070de70a2 Bug 946906 part 5. Use the codegenned JSClass, if available, when creating Xray expando objects. r=bholley 2016-10-10 18:16:26 -04:00
Boris Zbarsky
7f2945874f Bug 946906 part 3. Create a macro for declaring Xray expando classes, and move the default Xray expand class definition to bindings code. r=bholley 2016-10-10 18:16:25 -04:00
Boris Zbarsky
171911dd94 Bug 946906 part 2. Declare XrayExpandoObjectClassOps in XrayWrapper.h so we can use it from bindings code. r=bholley 2016-10-10 18:16:25 -04:00
Boris Zbarsky
4d566db15c Bug 946906 part 1. Move the ExpandoSlots enum to XrayWrapper.h. r=bholley
The other option, of course, is to just define an "expando slot count" constant
in the header and then static_assert it has the right value once the
ExpandoSlots enum is declared.
2016-10-10 18:16:25 -04:00
André Bargull
48c5ad2d8b Bug 1059454 - Enable commented out constructor test in string-iterator-surfaces.js. r=till 2016-10-07 00:53:14 -07:00
André Bargull
0b6952c8ea Bug 1290238 - Update the error message when directly invoking %TypedArray%. r=till 2016-10-07 02:31:51 -07:00