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

57465 Коммитов

Автор SHA1 Сообщение Дата
Chris Manchester 95f73bebb9 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
Jan Varga 828a986c64 Bug 1311466 - Part 7: Try to unwrap WebAssembly modules passed to WasmExtractCode; r=luke 2016-10-25 21:19:02 +02:00
Luke Wagner 817b9ee6c5 Bug 1311994 - Baldr: remove WebAssembly.experimentalVersion (r=bbouvier)
MozReview-Commit-ID: GzAz6LYxBYS

--HG--
extra : rebase_source : bc1c3cb22a7c2d70681c8cc7e9c42cb77c127ac2
2016-10-25 12:30:21 -05:00
Luke Wagner 3c68877577 Bug 1311994 - Baldr: remove WebAssembly.validate warning (r=bbouvier)
MozReview-Commit-ID: 5LLDIhjjBep

--HG--
extra : rebase_source : 02acf313019fb0e446e252554f5ce3597d646370
2016-10-25 12:29:59 -05:00
David Major 82e5a56a88 Bug 1311211: Disable -Gw optimization when building for ASan on Windows. r=glandium 2016-10-25 10:04:35 -05:00
Sander Mathijs van Veen 0a2bb26222 Bug 1310418 - Fix Assertion failure: this->is<MIRType>(), at js/src/jit/MIR.h:891 r=nbp 2016-10-25 16:52:53 +02:00
André Bargull 3386f0c48a Bug 1232266: Support iterables in TypedArray constructors. r=jandem 2016-10-24 08:53:43 -07:00
Lars T Hansen 20525d511b Bug 1277011 - Wasm baseline: ARM support. r=h4writer
--HG--
extra : rebase_source : 62f2cc9eed8f24a53229be86a16e484c6a1c6ff3
2016-10-20 11:23:22 +02:00
Lars T Hansen b839860e14 Bug 1311433 - Wasm baseline: clean up function calling code. r=h4writer
--HG--
extra : rebase_source : 54d1bf7d672605a26e37f35d2f0def3536c2074a
2016-10-25 15:31:13 +02:00
Lars T Hansen 5666e2e102 Bug 1302036 - Make structured clone accept argument that controls serialization of some data types. r=sfink
--HG--
extra : rebase_source : c082dcc82adccba47a7bd0e18fb59d87b072ae3d
2016-10-24 14:22:47 +02:00
Lars T Hansen 0439bd00fe Bug 1308996 - make simulated segfault fixups conditional. r=bbouvier
--HG--
extra : rebase_source : e383ef4ee33ebf20bedc7673a24581b5cd0b379e
2016-10-24 16:50:44 +02:00
Tooru Fujisawa 135a04b69c Bug 1263340 - Part 9: Add optimizable path for RegExpMatch with global flag. r=till 2016-10-25 19:09:19 +09:00
Tooru Fujisawa 9e18e40277 Bug 1263340 - Part 8: Separate RegExpSearch slow path. r=till 2016-10-25 19:09:13 +09:00
Tooru Fujisawa a646dc1f9b Bug 1263340 - Part 7: Use internal slot for flags in RegExpReplace optimizable cases. r=till 2016-10-25 19:09:13 +09:00
Tooru Fujisawa 103aa2e3b1 Bug 1263340 - Part 6: Use flags slot value instead of RegExp.prototype.flags in RegExpSplit. r=till 2016-10-25 19:09:13 +09:00
Tooru Fujisawa 7ea145f5c4 Bug 1263340 - Part 5: Check RegExp.prototype.flags getter in RegExpPrototypeOptimizable. r=till 2016-10-25 19:09:13 +09:00
Tooru Fujisawa 69d8552b2b Bug 1290414 - Check RegExp.prototype.{ignoreCase,multiline} getters in RegExpPrototypeOptimizable. r=till 2016-10-25 19:08:33 +09:00
Benjamin Bouvier 851247a762 Bug 1312395: Merge InterModule/PassTLS into a single enum; r=luke
MozReview-Commit-ID: 6ZrR3KYPPs6

--HG--
extra : rebase_source : f346e38c94bef021c9db96cdb0576655423991a2
2016-10-24 14:14:13 +02:00
Benjamin Bouvier 9c6ff51929 Bug 1312483: Check that functions assigned to tables are wasm functions earlier before assigning them; r=luke
MozReview-Commit-ID: HNNlvgOxrbG

--HG--
extra : rebase_source : e7b0c313459fe777918247ece8b7e810bc054f10
2016-10-24 18:02:19 +02:00
Benjamin Bouvier c507889e80 Bug 1312402: Simplify js:🐚:FileAsString; r=arai
MozReview-Commit-ID: Gs6Ep3SWbYA

--HG--
extra : rebase_source : ffc81e723ed31757a63c335b722a65b5d8b3d59a
2016-10-24 14:46:24 +02:00
Benjamin Bouvier ce65eb5f90 Bug 1310949: Add a useful message in case the binary-to-text implementation isn't correct; r=luke
MozReview-Commit-ID: 1XqLt2sNSBt

--HG--
extra : rebase_source : 2b77bf4f7c73b2e2eb1f5f3bbe382478a83289c5
2016-10-24 13:46:27 +02:00
Benjamin Bouvier c6d93f3a6a Bug 1310949: Render the Start section and reorder section rendering; r=luke
MozReview-Commit-ID: 1wudaQ2s3Bu

--HG--
extra : rebase_source : fe660284c552caafac7b2a1f422d7c80e215e1b4
2016-10-21 19:48:35 +02:00
Benjamin Bouvier 72356e9d78 Bug 1310949: Use wasmFullPass for even more tests; r=luke
MozReview-Commit-ID: 1FmHsS6R76Y

--HG--
extra : rebase_source : c1e258472cddd84a4682cd672576b80c938d121c
2016-10-20 18:59:37 +02:00
Benjamin Bouvier b87511701c Bug 1310949: Render table and elem sections; r=luke
MozReview-Commit-ID: Lm2YKBz9wsz

--HG--
extra : rebase_source : e07503aaab7943fb1242d0f1492c76a3e77f187c
2016-10-20 18:12:27 +02:00
Benjamin Bouvier d61d3482c4 Bug 1310949: Factor out DecodeMemorySection and properly render it; r=luke
MozReview-Commit-ID: D6WDtpzCXeX

--HG--
extra : rebase_source : 430c6ab76db1cff541f75bae7a02e4aa9a334096
2016-10-21 16:14:12 +02:00
Tom Schuster 13263ee62f Bug 1248865 - Some small changes to JSXray and tests. r=bz 2016-10-25 10:18:40 +02:00
Tom Schuster d3d6b4b949 Bug 1248865 - Change ArrayBuffer to use ClassSpec. r=bz 2016-10-25 10:18:40 +02:00
André Bargull c670f9e2f4 Bug 1293971: Don't wrap default comparator when sorting Float64 typed array. r=evilpie
--HG--
extra : rebase_source : da8b5ee8deddbde0180a720cc590520b80f84ba1
2016-10-24 08:46:34 -07:00
André Bargull f0f8ee029e Bug 1288456: Resolve the target's prototype earlier in Function.prototype.bind. r=till
--HG--
extra : rebase_source : b9374b1803d7ecedc6ddbbefb8637abdd78372ee
2016-10-24 08:49:41 -07:00
Heiher af0258e555 Bug 1312667 - IonMonkey: MIPS64: Fix build issues. r=arai
---
 js/src/jit/mips64/Assembler-mips64.cpp    | 2 +-
 js/src/jit/mips64/MacroAssembler-mips64.h | 5 ++---
 2 files changed, 3 insertions(+), 4 deletions(-)
2016-10-25 15:35:58 +08:00
André Bargull 715b3ae986 Bug 1272784 - Part 2: Don't reparse functions with 'use strict' directives. r=arai 2016-10-24 11:28:28 -07:00
André Bargull c85d8c975f Bug 1272784 - Part 1: Disallow 'use strict' directive in function with non-simple parameters list. r=arai 2016-10-24 11:27:59 -07:00
Luke Wagner bb5274e9bf Bug 1311994 - Baldr: remove Wasm object (r=sunfish)
MozReview-Commit-ID: CkrYWLFoKAE

--HG--
extra : rebase_source : d36f8b0bcb80d0ab5add43594e286fc33411be43
2016-10-24 13:20:59 -05:00
Luke Wagner b615e9b281 Bug 1311994 - Baldr: add flags immediates to current_memory/grow_memory/call_indirect (r=sunfish)
MozReview-Commit-ID: 4qwtPliyesH

--HG--
extra : rebase_source : a853549266fb1c3c763b90680eb5637e1cc13cb5
2016-10-24 13:20:53 -05:00
Luke Wagner 440f0a594e Bug 1311994 - Baldr: update op codes to match 0xd (r=sunfish)
MozReview-Commit-ID: BIEiK8tiAFi

--HG--
extra : rebase_source : 5a0808b004a32dac52d135ea4ba81681ef2c501d
2016-10-24 13:14:30 -05:00
Luke Wagner 37c2676a61 Bug 1311994 - Baldr: update type codes to match 0xd (r=sunfish)
MozReview-Commit-ID: 7pCkgkiouDY

--HG--
extra : rebase_source : 8032194e65c7c91693795098ae3d865b563b8036
2016-10-24 13:10:32 -05:00
Tooru Fujisawa 0867e151d5 Bug 1290506 - Clone RegExp object at the top of RegExpGlobalReplaceOptFunc and RegExpGlobalReplaceOptElemBase to avoid the effect of RegExp#compile. r=till 2016-10-25 00:54:23 +09:00
Tooru Fujisawa 6ed0738dc1 Bug 1311633 - Add disRegExp testing function. r=till 2016-10-25 00:54:23 +09:00
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