Commit Graph

54655 Commits

Author SHA1 Message Date
Jakob Stoklund Olesen
75dc89e58f Bug 1271959 - Don't specify a size for enum class SimdType. r=bbouvier
There is a bug in GCC 4.8 that miscompiles some uses of an enum with uint8_t
size. Work around this compiler bug by not specifying a size for SimdType.

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64037
2016-05-12 06:11:19 -07:00
Jim Mathies
c6cf890ec2 Bug 1271978 - Record js slow script notification delay for content in telemetry. r=billm
MozReview-Commit-ID: 9RUrqfwn7Wh
2016-05-12 07:28:48 -05:00
Lars T Hansen
c586404ece Bug 1272252 - Register64 equality operators. r=bbouvier
--HG--
extra : rebase_source : 83f57737493ef742bbd8c359e1129933a1316401
2016-05-12 11:15:09 +02:00
Lars T Hansen
43a3540b4d Bug 1272014 - make a correction that disappeared in a merge. r=bbouvier
--HG--
extra : rebase_source : a6d84fde433f3b9495c3c82a1763d9591bc81500
2016-05-12 11:05:16 +02:00
Jon Coppeard
2b8b720874 Bug 1271110 - Evict the nursery when discarding JIT code outside of a GC r=sfink a=abillings 2016-05-12 10:00:43 +01:00
Lars T Hansen
cb72513c65 Bug 1272014 - Masm code for 64-bit bit counting. r=bbouvier
--HG--
extra : rebase_source : 37d8142f0b3bf2c418b15ebf60b1d15dc34c1511
2016-05-11 17:01:08 +02:00
Lars T Hansen
2f12a83ecd Bug 1271985 - Correct heap size in bullet.js test casei. r=luke
--HG--
extra : rebase_source : 21127b6383c388c2a4e6466c84aea2dbf078deb1
2016-04-26 09:42:43 +02:00
Carsten "Tomcat" Book
04dcac6287 Backed out changeset 233a3b2d3b36 (bug 1271987) for landings with wrong bug numbers
--HG--
extra : rebase_source : 30a9533d2ed6cb2e44acd9755bd4e0ddfb5a3283
2016-05-12 10:28:27 +02:00
Carsten "Tomcat" Book
ef8bc0f084 Backed out changeset 5190ada5abfe (bug 1272015)
--HG--
extra : rebase_source : c7c951a7cb72dc312d66e3cc4b931417d0d7f1a7
2016-05-12 10:28:12 +02:00
Lars T Hansen
0b6164df6b Bug 1272015 - Masm code for 64-bit bit counting. r=bbouvier
--HG--
extra : rebase_source : 4f4a08d192932a2ff9fad35f21c6b02894448867
2016-05-11 17:01:08 +02:00
Lars T Hansen
c58c3804fd Bug 1271987 - Correct heap size in bullet.js test case. r=luke
--HG--
extra : rebase_source : 9f3f20ef9208a2e0aa881c18da4dae6117b8f62b
2016-04-26 09:42:43 +02:00
Nicholas Nethercote
c639a0340a Bug 1271865 - Add a comment to JitFrameIterator::verifyReturnAddressUsingNativeToBytecodeMap. r=djvj.
DONTBUILD because this is a comment-only change.

--HG--
extra : rebase_source : eaed669fe31012fe381a0eb67f808be95c3133eb
2016-05-12 15:43:12 +10:00
Nicholas Nethercote
d30f02eaad Bug 1267551 (part 9) - Use MOZ_MUST_USE more in js/src/jit/. r=h4writer.
This catches a few missing failure checks.

The patch also changes the return type of IonBuilder::pushConstant() to void,
because it never fails.
2016-05-11 09:23:05 +10:00
Nick Fitzgerald
10fa163e08 Bug 1271507 - Don't insert nullptr into the cache; r=jimb 2016-05-11 14:40:42 -07:00
Myk Melez
143bb1fdde Bug 1271078 - add start param and char* specialization to CopyStringChars/CopyLinearStringChars; r=evilpies 2016-05-11 08:33:16 -07:00
Lars T Hansen
ed574eb32c Bug 1271977 - bit shifting, bit counting. r=bbouvier
--HG--
extra : rebase_source : 57efc633ef27541ad30f4b16e72cbd470fa8691f
2016-05-11 15:39:08 +02:00
Lars T Hansen
75323e448c Bug 1270051 - x64 assembler support for 64-bit bit counting. r=bbouvier 2016-05-11 13:45:11 +02:00
Tooru Fujisawa
881002d2ea Bug 1271857 - Move the assertion for text length from GetFirstDollarIndexRawFlat to GetFirstDollarIndex. r=h4writer 2016-05-11 18:50:57 +09:00
Jon Coppeard
a740b186b0 Bug 1264575 - Add missing pre-barrier in Ion r=jandem a=abillings 2016-05-11 10:14:45 +01:00
Eddy Bruel
40570b7c1e Bug 1271653 - Implement a C++ interface for isExtensible/Sealed/Frozen;r=jimb 2016-05-11 11:07:34 +02:00
Ryan VanderMeulen
c3a556622b Backed out changeset e4590851081d (bug 1269451) for slowing down debug mochitests and causing frequent oranges as a result.
CLOSED TREE
2016-05-10 22:35:57 -04:00
Ryan VanderMeulen
9978fb20b2 Backed out changeset ab611defdc9b (bug 1271407) for slowing down debug mochitests and causing frequent oranges as a result. 2016-05-10 22:35:29 -04:00
Boris Zbarsky
20a2c90769 Bug 1268845. Make sure to set up an XPCWrappedNativeScope for SimpleGlobalObject globals on the main thread. r=bholley,ttaubert,ejpbruel 2016-05-10 20:57:29 -04:00
Tooru Fujisawa
ea623b4b41 Bug 1271037 - Part 2: Statically check that numOperands of the recover instruction and the MIR are consistent. r=h4writer, a=abillings 2016-05-11 09:54:42 +09:00
Tooru Fujisawa
6d65ee672e Bug 1271037 - Part 1: Fix numOperands of RRegExpMatcher, RRegExpSearcher, and RRegExpTester. r=h4writer, a=abillings 2016-05-11 09:54:41 +09:00
Jakob Olesen
3e84a978e6 Bug 1136226 - Unify Bailout_NonSimd*Input. r=nbp
We have a lot of SIMD types in Ion now, and there is little benefit in
maintaining a separate bailout kind for each type. Instead, use a single
Bailout_NonSimd bailout kind to indicate that SimdUnbox didn't get the SIMD
type it was expecting.
2016-05-10 15:53:38 -07:00
Nick Fitzgerald
8031f0ba5c Bug 1271407 - Remove unnecessary methods from js::ScriptSource; r=luke
This commit removes the following methods from `js::ScriptSource`:

* `compressedChars`
* `compressedBytes`
* `uncompressedChars`

They are throwbacks from when `ScriptSource` had this big, hand-rolled tagged
union, and these methods were getters that did all sanity asserts on the tag
state. That union has since been replaced with a `mozilla::Variant`, so we
should just use `mozilla::Variant`'s type-safe accessors instead.
2016-05-10 15:45:01 -07:00
Nick Fitzgerald
7b5fd55b61 Bug 1269451 - Make the UncompressedSourceCache use the shared, immutable strings infrastructure; r=jimb 2016-05-10 15:45:01 -07:00
Thomas Klausner
39e17aa33c Bug 1271590 - Rename timespecadd to moz_timespecadd. r=jandem
NetBSD provides a timespecadd macro in sys/time.h, which conflicts with this one.
2016-05-10 05:27:00 -04:00
Peter Van der Beken
5c9bb43e9d Bug 1267186 - Split lookup of WebIDL DOM class names from lookup of DOMCI DOM class names. r=bz.
--HG--
extra : rebase_source : 073ec0857b63df3e2ecef43ef3b982f2e1be2d24
2016-05-09 17:08:31 +02:00
Pip
4e12ba331b Bug 1264613 - Allow object-to-nonobject serialization. r=baku
Fix the Structured Clone API to avoid assigning a numeric back-reference
id to objects that are serialized as non-objects; in particular, this
fixes incorrect serialization and crashes upon deserialization when a
DedicatedWorkerGlobalScope is serialized twice in the same serialization
packet.
2016-04-19 10:26:00 +02:00
Benjamin Bouvier
735aa6820c Bug 1268955: Include test; r=Waldo 2016-05-10 12:07:07 +02:00
Benjamin Bouvier
e9d584a553 Bug 1268910: Fix unused variable "output" in CodeGeneratorX64.cpp to unbreak build; r=me
MozReview-Commit-ID: L460DqlwPz2

--HG--
extra : rebase_source : 8d80f027155cb9781f3d6142fb1cce4679bf68f3
2016-05-10 11:52:50 +02:00
Benjamin Bouvier
6a92214bef Bug 1268910: Get rid of the BadIndirectCall stub and replace it by a trap; r=luke
MozReview-Commit-ID: 3ndMUmwOGq3

--HG--
extra : rebase_source : 247e3cb4f120fa9baa6aa267f4dfa13d7a90cb91
extra : histedit_source : 43f1131cf4a20305497a524691bc14e598fb274f
2016-05-10 11:02:44 +02:00
Benjamin Bouvier
75682e6880 Bug 1268910: Get rid of GenerateErrorStub and replace it by a trap; r=luke
MozReview-Commit-ID: 2yhbvn3j2uP

--HG--
extra : rebase_source : 264b8357d2ba379baac1f0166998539713ed9f64
extra : histedit_source : 66cdf4796a78ad8ef77d7fcd06404e7787a23fe5
2016-05-04 11:36:38 +02:00
Benjamin Bouvier
cf0f6e7dd6 Bug 1268910: Trap on edge cases for integer div/mod; r=sunfish
MozReview-Commit-ID: DIGgIGbeQGG

--HG--
extra : rebase_source : de214d4d1669aaf77684467cecfb90f19c49791e
extra : histedit_source : 11f3f07ea5f9d9f038e43f9f0609defdbb0c5285
2016-05-02 18:15:13 +02:00
Benjamin Bouvier
dbc6dd425e Bug 1268910: Refactor WebAssembly trap handling; r=luke
MozReview-Commit-ID: 72PFgaGUBBC

--HG--
extra : rebase_source : 3cac1acb2c3f669f9d6e4fa0e11947f26267d33c
extra : histedit_source : 2c0e66eb7cfa366e785452a118163d49066ed1a1
2016-05-03 16:29:49 +02:00
Benjamin Bouvier
4385ba4cf1 Bug 1269847: Don't pop values that could get reused later in ensurePushInvariants; r=luke
MozReview-Commit-ID: FXjfqOzw4Yy

--HG--
extra : rebase_source : 0fdfb4c5273d7f02e3b28b6405659c5b7b3af255
2016-05-04 19:30:24 +02:00
Benjamin Bouvier
d82d18c789 Bug 1268955: Implement strict semantics check for asm.js modules and functions; r=Waldo
MozReview-Commit-ID: HyaA3qk5jbu

--HG--
extra : rebase_source : 5d01b9b8caa0fec23820bb792869739ab352f393
2016-05-02 13:05:08 +02:00
Andi-Bogdan Postelnicu
a0d82b351a Bug 1270814 - initialize pointers from LoopUnroller. r=jandem
MozReview-Commit-ID: H7u0inBzxmF

--HG--
extra : rebase_source : 0befa16b3701b8f52026a49f39f9aa7c69861482
2016-05-10 10:27:59 +03:00
Andi-Bogdan Postelnicu
d41a025aab Bug 1270805 - add default constructor for TypeAndValue<Nothing>. r=jandem
MozReview-Commit-ID: HqSkqzYGIGc

--HG--
extra : rebase_source : a3f210cf6d07e7930ce5ea4d1f9d2262c733d282
2016-05-06 14:36:47 +03:00
Andi-Bogdan Postelnicu
f6aaad68dc Bug 1270811 - initialize |current_| in GraphStoreInfo. r=h4writer
MozReview-Commit-ID: JWFHDDr6xWT

--HG--
extra : rebase_source : 3c839f581ecca0f2d675818e79d0841072131d45
2016-05-06 15:00:31 +03:00
Nicholas Nethercote
13f7325153 Bug 1267551 (part 7) - Use MOZ_MUST_USE more in js/src/frontend/. r=jorendorff.
This found two missing checks for PackedScopedCoordinate::setSlot(). Fixing one
of them required making ParseContext::updateDecl() fallible.

The patch also changes the return type of addToCallSiteObject() to void.

--HG--
extra : rebase_source : aaec219a13ff6895d919fcf8fedfd168e0ad64a8
2016-05-05 15:14:24 +10:00
Nicholas Nethercote
8305a7dfb9 Bug 1267551 (part 6) - Remove dead GenerateBlockId declaration. r=jorendorff.
--HG--
extra : rebase_source : 8dcfdfd3cdf9ef3e26e7f12761603741dc9cbcf6
2016-05-05 14:13:40 +10:00
Nicholas Nethercote
d65ce4b043 Bug 1267551 (part 5) - Use MOZ_MUST_USE more in js/src/ctypes/. r=sfink.
--HG--
extra : rebase_source : 5ff1fa8dff05b2a2442c53a71211d3ba2fb9e27d
2016-05-05 13:53:21 +10:00
Nicholas Nethercote
7f283f3a20 Bug 1267551 (part 4) - Use MOZ_MUST_USE more in js/src/asmjs/. r=bbouvier.
The patch also removes some unnecessary MOZ_MUST_USE annotations on function
definitions (because the function declaration is already annotated).

And it changes the return type of ModuleGenerator::initFuncSig() to void,
because is always returns true.

--HG--
extra : rebase_source : b83c472bcd167dbdf80c4edf4f3b24ddb450ffe6
2016-05-05 13:45:45 +10:00
Nicholas Nethercote
b9d8da95d4 Bug 1267551 (part 3) - Use MOZ_MUST_USE more in js/src/builtin/. r=jonco.
--HG--
extra : rebase_source : 5d6ae9608b9673164c89fa806d6afe8f2f0c6774
2016-05-05 12:01:46 +10:00
Nicholas Nethercote
00310fc661 Bug 1267551 (part 2) - Use MOZ_MUST_USE more in js/src/ds/. r=jonco.
--HG--
extra : rebase_source : 71839543d010e86591903639d00e231707735ffa
2016-05-05 11:31:18 +10:00
Shu-yu Guo
331704e4b1 Bug 1234147 - Fix height computation for JitcodeSkiplistTower. (r=djvj) 2016-05-09 18:05:32 -07:00
Jakob Olesen
8247052f80 Bug 1136226 - Fix jit-test shell for SIMD. r=bbouvier
Support tests using all SIMD types.
2016-05-09 16:48:31 -07:00