Lars T Hansen
f6b34b3652
Bug 1428453 : [MIPS] Implement hardware wasm traps support; patch=dragan.mladjenovic, r=luke, push=lth
2018-01-29 08:35:43 +01:00
André Bargull
30901afb92
Bug 1430800: Optimize String.raw by avoiding rest-parameter array allocation. r=evilpie
2018-01-18 04:20:55 -08:00
André Bargull
ca93312f36
Bug 1423878: Remove check for detached ArrayBuffer before CloneArrayBuffer per ES2018. r=jandem
2017-12-07 05:25:20 -08:00
André Bargull
19ae59f64d
Bug 1422415 - Part 1: Remove HAVE_SETLOCALE because setlocale() is available on all supported platforms. r=glandium
2018-01-19 05:19:40 -08:00
Jeff Walden
92624b2025
Bug 1431957 - Move a bunch of functions in builtin/intl/CommonFunctions.js into more-specific files, where those functions are only used in a single more-specific file. r=anba
...
--HG--
extra : rebase_source : 746b65988b8f58ce920dc93c2eeaddf9ffa7a88c
2018-01-20 12:41:06 -08:00
Jeff Walden
0e500470a0
Bug 1431957 - js/src/builtin/Intl* doesn't exist any more, so don't tag it as BUG_COMPONENT = component_intl. r=anba
...
--HG--
extra : rebase_source : a99a83338b5f3a8f34e0d4b4b7ca7f9af280ad3b
2018-01-22 12:53:23 -08:00
Jeff Walden
ad521c076e
Bug 1431957 - Move builtin/Intl.js (which now contains only shared functionality) to builtin/intl/CommonFunctions.js. r=anba
...
--HG--
rename : js/src/builtin/Intl.js => js/src/builtin/intl/CommonFunctions.js
extra : rebase_source : 7dc206fe31a7aa9ee82529365937fe1b90531d70
2018-01-20 12:41:06 -08:00
Jeff Walden
e35f51daf6
Bug 1431957 - Move Intl.Collator self-hosted code to a new builtin/intl/Collator.js file. r=anba
...
--HG--
rename : js/src/builtin/Intl.js => js/src/builtin/intl/Collator.js
extra : rebase_source : 18f48d145d9eef44c491253356b4450811a1d7c4
2018-01-20 12:41:06 -08:00
Jeff Walden
57c5806aa2
Bug 1431957 - Move Intl.NumberFormat self-hosted code to a new builtin/intl/NumberFormat.js file. r=anba
...
--HG--
rename : js/src/builtin/Intl.js => js/src/builtin/intl/NumberFormat.js
extra : rebase_source : acedba27911988258318f5ea1a67f1f392a9cb74
2018-01-20 12:41:05 -08:00
Jeff Walden
d7d15bd1b3
Bug 1431957 - Move Intl.DateTimeFormat self-hosted code to a new builtin/intl/DateTimeFormat.js file. r=anba
...
--HG--
rename : js/src/builtin/Intl.js => js/src/builtin/intl/DateTimeFormat.js
extra : rebase_source : f4f9cb0099705c99df1a5d93906d5d646e467a4c
2018-01-20 12:41:05 -08:00
Jeff Walden
72523a946b
Bug 1431957 - Move Intl.PluralRules self-hosted code to a new builtin/intl/PluralRules.js file. r=anba
...
--HG--
rename : js/src/builtin/Intl.js => js/src/builtin/intl/PluralRules.js
extra : rebase_source : f9bbb991221743fade628cb39787cc05799b1bcc
2018-01-20 12:41:05 -08:00
Jeff Walden
b5944774dd
Bug 1431957 - Move Intl.RelativeTimeFormat self-hosted code to a new builtin/intl/RelativeTimeFormat.js file. r=anba
...
--HG--
rename : js/src/builtin/Intl.js => js/src/builtin/intl/RelativeTimeFormat.js
extra : rebase_source : 49de40d029f399e35300a677b2e5fa4b25b2a3f3
2018-01-20 12:41:05 -08:00
Jeff Walden
e67efd42cd
Bug 1431957 - Move the self-hosting of non-constructor properties of Intl to a new builtin/intl/IntlObject.js file. r=anba
...
--HG--
rename : js/src/builtin/Intl.js => js/src/builtin/intl/IntlObject.js
extra : rebase_source : b66bdb3b6c776f05c2906217ac2aed7878039b62
2018-01-20 12:41:05 -08:00
Jeff Walden
4aa0290a3a
Bug 1431957 - Rerun |python ./make_intl_data.py langtags| generating langtag mapping data into the new location, demonstrating that the only changes that happen are timestamp changes). r=anba
...
--HG--
extra : rebase_source : ab60bfd8b62aa6e9de9a1fc5ee02749d6302715b
2018-01-20 01:15:27 -08:00
Jeff Walden
3454b689e2
Bug 1431957 - Rerun |python ./make_intl_data.py currency| generating currency data into the new location, demonstrating that the only changes that happen are because upstream data changed (in insignificant ways). r=anba
...
--HG--
extra : rebase_source : adc3444894bfba21d38e7f64376687736a45b3a5
2018-01-20 01:13:18 -08:00
Jeff Walden
0a795699ac
Bug 1431957 - Move various generated files from builtin/Intl* to builtin/intl/*, and add "Generated" to their names for clarity. r=anba
...
--HG--
rename : js/src/builtin/IntlCurrency.js => js/src/builtin/intl/CurrencyDataGenerated.js
rename : js/src/builtin/IntlData.js => js/src/builtin/intl/LangTagMappingsGenerated.js
rename : js/src/builtin/IntlTimeZoneData.h => js/src/builtin/intl/TimeZoneDataGenerated.h
rename : js/src/builtin/make_intl_data.py => js/src/builtin/intl/make_intl_data.py
extra : rebase_source : e88230d13853aec0c82accae02abcd41ed00821e
2018-01-20 01:07:54 -08:00
Jeff Walden
3c228dad29
Bug 1431957 - Move builtin/Intl.* to builtin/intl/IntlObject.* and trim the contents of them a little further. r=anba
...
--HG--
rename : js/src/builtin/Intl.cpp => js/src/builtin/intl/IntlObject.cpp
rename : js/src/builtin/Intl.h => js/src/builtin/intl/IntlObject.h
extra : rebase_source : 3f6f2a93676dbceace0d05181d88c9a4cfee725b
2018-01-19 22:29:47 -08:00
Jeff Walden
7caff7027f
Bug 1431957 - Trim builtin/Intl.cpp's #include set down to size, now that it contains *only* stuff related to Intl, its non-constructor properties, and initialization of Intl. r=anba
...
--HG--
extra : rebase_source : c571efb616b8741e093cb91b326cc371a1a354ef
2018-01-19 21:49:05 -08:00
Jeff Walden
9999e83d84
Bug 1431957 - Move String-based Intl-dependent functionality out of Intl.cpp, into jsstr.cpp. It may *depend* on Intl, but it *lives* on String, so it should be defined in String code for easiest searching. And with newly-slimmed builtin/intl/*.h headers, it's no real compile overhead to define this outside of Intl code. r=anba
...
--HG--
extra : rebase_source : 6471c2d3028dba1f6ac9348d8b40c20f07e50cbd
2018-01-19 21:02:38 -08:00
Jeff Walden
d0f152b2e0
Bug 1431957 - Move Intl.RelativeTimeFormat functionality into builtin/intl/RelativeTimeFormat.*. r=anba
...
--HG--
rename : js/src/builtin/Intl.cpp => js/src/builtin/intl/RelativeTimeFormat.cpp
extra : rebase_source : 36750b0baaf6b5cf1b85dbe5e7f3f1ca27ba7320
2018-01-19 20:26:54 -08:00
Jeff Walden
9438e5adad
Bug 1431957 - Move Intl.PluralRules functionality into builtin/intl/PluralRules.*. r=anba
...
--HG--
rename : js/src/builtin/Intl.cpp => js/src/builtin/intl/PluralRules.cpp
extra : rebase_source : 4610f0ff617a1964ae0f1a42cfe0ae3a4cf36303
2018-01-19 19:03:21 -08:00
Jeff Walden
04ae6bd928
Bug 1431957 - Move Intl.DateTimeFormat functionality into builtin/intl/DateTimeFormat.*. r=anba
...
--HG--
rename : js/src/builtin/Intl.cpp => js/src/builtin/intl/DateTimeFormat.cpp
rename : js/src/builtin/Intl.h => js/src/builtin/intl/DateTimeFormat.h
extra : rebase_source : fb54f801b971845ecc6342efac1e30af217a8a7f
2018-01-19 18:37:09 -08:00
Jeff Walden
77349d1f5b
Bug 1431957 - Move SharedIntlData into its own builtin/intl/SharedIntlData.* files so the world doesn't have to import all shared Intl functionality. r=anba
...
--HG--
extra : rebase_source : 61e7615c8bb172aa8fe4fe8a4d3e62458410b0c8
2018-01-19 17:27:14 -08:00
Jeff Walden
b73e7420db
Bug 1431957 - Move Intl.Collator functionality into builtin/intl/Collator.*. r=anba
...
--HG--
rename : js/src/builtin/Intl.cpp => js/src/builtin/intl/Collator.cpp
extra : rebase_source : 2eb6a4c9577ea8bfd82d495e65c01b94e9639647
2018-01-19 16:28:11 -08:00
Jeff Walden
a71542f55c
Bug 1431957 - Move NewUNumberFormatForPluralRules next to its only use. r=anba
...
--HG--
extra : rebase_source : 65bc342a0c78e92d632f5ffd98551ad7a0565b5a
2018-01-19 16:20:55 -08:00
Jeff Walden
7919f20f84
Bug 1431957 - Move Intl.NumberFormat functionality into builtin/intl/NumberFormat.*. r=anba
...
--HG--
rename : js/src/builtin/Intl.cpp => js/src/builtin/intl/NumberFormat.cpp
rename : js/src/builtin/Intl.h => js/src/builtin/intl/NumberFormat.h
extra : rebase_source : f8c30c3fa2bd7f2bb7e27ebe111ea5141952d24b
2018-01-19 16:20:44 -08:00
Jeff Walden
28710eaade
Bug 1431957 - Move functionality used in the implementation of multiple Intl.* constructors into builtin/intl/CommonFunctions.*. r=anba
...
--HG--
extra : rebase_source : 9e65fc7957ee93b6b58e38329741de5079b4be62
2018-01-19 16:14:03 -08:00
Jeff Walden
8d38b42160
Bug 1431957 - Move ICU stub functions into builtin/intl/ICUStubs.h. r=anba
...
--HG--
extra : rebase_source : 8112cb169f912b6157541fb1eec9d899ba95c2fe
2018-01-19 13:34:13 -08:00
Jeff Walden
f77f5aa89c
Bug 1431957 - Move ScopedICUObject to its own header. r=anba
...
--HG--
extra : rebase_source : 530554014ee18693a5426993386e2720ac6c993f
2018-01-19 13:32:05 -08:00
Jeff Walden
8314131139
Bug 1432646 - Implement mozilla::WrapToSigned. r=froydnj
...
--HG--
extra : rebase_source : 2c1a216830767da789eea59d00b55a45845f4d60
2018-01-25 14:48:01 -08:00
Jeff Walden
1cf916f6d8
Bug 1432646 - Don't overflow performing signed integer arithmetic when performing |JS::ToInt32(0xFFFFFFFF)|. r=froydnj
...
--HG--
extra : rebase_source : bf64d6eceb631fbd4fe018a34530defd59e20d71
2018-01-25 14:47:55 -08:00
Tooru Fujisawa
1729fa2851
Bug 1425691 - Do not update type information of iter result object template if the object group has unknown properties. r=jandem
2018-01-26 09:23:47 +09:00
Jon Coppeard
1b60b9f184
Bug 1433014 - Fix test bustage r=me
2018-01-25 17:43:51 +00:00
Jon Coppeard
3463b30dca
Bug 1433014 - Cancel off thread job if we fail to append it to job list r=luke
2018-01-25 17:12:47 +00:00
Jon Coppeard
d72b56bf6b
Bug 1433013 - Only cancel off-thread jobs for the current context when a worker thread exits r=luke
2018-01-25 17:12:47 +00:00
Gurzau Raul
ea1ff80377
Merge mozilla-central to inbound. a=merge CLOSED TREE
2018-01-25 19:08:48 +02:00
Gurzau Raul
062e1cf551
Merge inbound to mozilla-central. a=merge
2018-01-25 19:02:48 +02:00
Luke Wagner
68d1372735
Bug 1432956 - Baldr: remove GlobalSegment (r=bbouvier)
2018-01-25 09:17:20 -06:00
Gurzau Raul
49c692983a
Merge mozilla-central to inbound. a=merge CLOSED TREE
2018-01-25 13:02:27 +02:00
Yury Delendik
0cc3f8ba82
Bug 1431864 - Use Response.url as WebAssembly module URL. r=bkelly,luke
...
MozReview-Commit-ID: 2xAasdmpIKX
--HG--
extra : rebase_source : a4664e04930eda6dc1a4429be5b9a3c3467cd71b
2018-01-22 14:55:30 -06:00
Jan de Mooij
d2cba68ca9
Bug 1431173 - Use Spectre index masking for more bounds checked loads. r=nbp
2018-01-25 16:51:44 +01:00
Jan de Mooij
41241750c1
Bug 1431096 - Use Spectre index masking when loading int/unit strings. r=nbp
2018-01-25 16:51:05 +01:00
Andrea Marchesini
c6da271117
Bug 1425458 - Resource timing entries Workers - part 0 - NS_NewChannel, r=smaug
...
* * *
Bug 1425458 - Resource timing entries Workers - part 10 - Correct parameters in NS_NewChannel in nsDataObj.cpp, r=me
2018-01-24 17:17:31 +01:00
Lars T Hansen
1ccda3f5bc
Bug 1427130 - Add guard to SAB structured clone. r=jorendorff
...
This demotes a MOZ_RELEASE_ASSERT in the SAB case for SC write to a
run-time check. The reason is that the clone policy must conform to
the clone scope, specifically, if the scope is DifferentProcess then
the policy must deny SAB.
The check was an assert previously because we mistakenly thought that
we controlled all the callers, but we do not - the TestingFunction
serialize() has a permissive API and instead of adding a lot of
complexity there we should change the assert to a run-time check. The
code is more resilient as a result anyway.
Also document this quirk in the SC header file.
--HG--
extra : rebase_source : 4b632fe57bc9ebf3f38210b1ffad11fde57befa6
2018-01-15 11:31:35 +01:00
Lars T Hansen
2375c682a8
Bug 1431402 - Add 64bit-int-to-floating-point conversion to MacroAssembler.h. r=nbp
...
Including ARM64 implementations here because they are easy, and will be
needed by the Wasm baseline compiler anyway.
--HG--
extra : rebase_source : 5baab6faed8fcd4c5b661e40ac011da051573a0a
extra : intermediate-source : 6d7fa52e38fbd7f9d106b8bbacca51d3907bd4f7
extra : source : 724822b1b806b8f7ce6af0d3891be1e4a450ffe9
2018-01-16 14:16:52 +01:00
Lars T Hansen
ef546b990b
Bug 1431402 - Add floating-point-to-64bit-int conversion to MacroAssembler.h. r=nbp
...
Including ARM64 stubs here because it simplifies code in the Wasm
baseline compiler, and doesn't hurt.
--HG--
extra : rebase_source : 58933b501248f2f53cb88117f93662f1ae3f9bfe
extra : source : f217aeea295bac03a323917292560ba1f491b0fb
2018-01-18 15:00:45 +01:00
Lars T Hansen
3dacab010f
Bug 1430161 - Factor ARM disassembler, implement for ARM64. r=nbp
...
We extract the ARM disassembler bits and place them in
jit/shared/Disassembler-shared.{cpp,h}, and then clean them up and
generalize them. The ARM assembler is slightly modified to deal with
this but the changes are local.
We then add code to the ARM64 assembler to drive the disassembler.
The structure is as for the ARM disassembler.
--HG--
extra : rebase_source : 7197ec8b3b8985005efb7522b6719140b2eac5e4
extra : source : aa8517d9efb1aa89f4661bdb095d5a0f526cb652
2017-12-15 13:10:23 -06:00
Lars T Hansen
3d9e46b95b
Bug 1412238 - Implement WebAssembly.Global for immutables. r=luke
...
--HG--
extra : rebase_source : 95f927424504041f5e08cce8f233f2cbbc1a641f
2018-01-10 14:44:35 +01:00
Lars T Hansen
6b0c25d28f
Bug 1432808 - Root a string in a test case. r=jonco
...
--HG--
extra : rebase_source : 56497b5581d188c41ee83660bcf1edd9ca7f57fc
2018-01-24 16:42:42 +01:00
Kris Maglione
aec63e140c
Backed out 3 changesets (bug 1431533
) for Android mochitest bustage. CLOSED TREE
...
MozReview-Commit-ID: 5ubE9EMQpZ9
--HG--
extra : histedit_source : df68d7595925c07d9d6e8bacc2c46e69556f479a%2C72b768b9825e20ede6603ead75f871c50dc041f7
2018-01-24 22:04:59 -08:00