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
Jakob Olesen
c3eceb7b7c
Bug 1136226 - Rename MSimdSplatX4 to MSimdSplat. r=bbouvier
...
This MIR instruction will be used for splatting all vector shapes.
2016-05-09 16:48:31 -07:00
Jakob Stoklund Olesen
5824c75e03
Bug 1136226 - Make MSimdSwizzle and MSimdShuffle length-agnostic. r=bbouvier
...
Constructors and factories take lane lists as arrays instead of four separate
lane arguments.
2016-05-09 16:48:31 -07:00
Jakob Olesen
3da4ad1117
Bug 1136226 - Add masm.simd128Constant(). r=sunfish
...
Replace the existing int32x4Constant and float32x4Constant masm methods with a
generic simd128Constant.
2016-05-09 16:48:30 -07:00
Jakob Olesen
d7cd49040e
Bug 1136226 - Rename 32x4 SIMD masm methods to "Simd128". r=sunfish
...
Load, store, and move methods are generic for all 128-bit SIMD types. Keep the
difference between float and int vectors since x86 sometimes cares.
2016-05-09 16:48:30 -07:00
Jakob Olesen
6c7421a1ee
Bug 1136226 - Update LDefinition and MoveOp for 8x16 and 16x8. r=sunfish
...
In both classes, rename enums:
INT32X4 -> SIMD128INT
FLOAT32X4 -> SIMD128FLOAT
Catch the new MIRTypes to produce SIMD128INT.
2016-05-09 16:48:30 -07:00
Jakob Olesen
6bae150dea
Bug 1136226 - Materialize 8x16 and 16x8 SIMD constants. r=sunfish
...
Rename LIR instructions:
LInt32x4 -> LSimd128Int
LFloat32x4 -> LSimd128Float.
These two LIR instructions can be used to materialize 128-bit SIMD vectors of
other geometries too. Also rename the masm.loadConstant{Int,Float}32x4()
functions to indicate that they can be used for other geometries.
2016-05-09 16:48:30 -07:00
Jakob Olesen
b6fedab1e8
Bug 1136226 - Add 16x8 and 8x16 MIRTypes. r=sunfish
...
This adds 8x16 and 16x8 types to MIRType, but it does not enable inlining of
the corresponding SIMD operations yet.
Explicitly disable the inlining of non-4-lane constructor calls until we have
support for them.
2016-05-09 16:48:30 -07:00
Jakob Olesen
14fa218985
Bug 1136226 - Support 8x16 and 16x8 types in SimdConstant. r=sunfish
...
Extend the SimdConstant class to handle other 128-bit SIMD vector types.
Remove some unused methods.
2016-05-09 16:48:30 -07:00
Jakob Stoklund Olesen
186e2e7b81
Bug 1136226 - Remove SimdLane enumeration. r=sunfish
...
We're about to add 16-lane and 8-lane SIMD types to IonMonkey, so we don't want
an enum to identify lanes. Just use an unsigned instead.
Also note that SIMD.js no longer has the .x .y .z .w properties.
Change a few lane < 4 checks to use the number of lanes in the Simd type.
2016-05-09 16:48:30 -07:00
Morgan Phillips
906761cdb9
Bug 1266255
- Implement ES6 function "name" property semantics for simple assignments and methods; r=jorendorff
...
--HG--
extra : rebase_source : 5d13fe2ceaba39e5c4730f9639dd4cc7da1a5bec
2016-05-09 13:08:10 -07:00
Steve Fink
b0e8bc56fc
Bug 1267876 - Make usable on developer desktops, r=jorendorff
...
MozReview-Commit-ID: K6kMX8WD15g
--HG--
rename : js/src/devtools/rootAnalysis/README.txt => js/src/devtools/rootAnalysis/README.md
rename : testing/taskcluster/scripts/builder/build-browser-haz-linux.sh => testing/taskcluster/scripts/builder/build-haz-linux.sh
extra : rebase_source : dd87796d10456d83f3b2faa4d67cdf5feceb03be
extra : source : 69b3bf72b9d1a2dadb5a25cd43e82e92a37b29c6
2016-05-05 16:47:08 -07:00
Mike Shal
a4e821b1c2
Bug 1270621 - Remove remnants of MOZ_ETW; r=chmanchester
...
MozReview-Commit-ID: 5OJPOGT0sWe
--HG--
extra : rebase_source : 30fe1a18b6a2bd4a5143498ada18547efd98c5f7
2016-05-04 22:22:34 -04:00
Morgan Phillips
1c9cdac1ee
Back out changeset f03cd0ff53df (bug 1266255
) for android build bustage. r=backout
2016-05-09 09:59:08 -07:00
Morgan Phillips
d1dc2cf178
Bug 1266255
- Implement ES6 function "name" property semantics for simple assignments and methods; r=jorendorff
...
--HG--
extra : rebase_source : b7912a34631abc436d6b17128f36bc2827417abf
2016-05-09 00:42:45 -07:00
Luke Wagner
54c2332e47
Bug 1271022 - use Vector::podResizeToFit in wasm::Module (r=bbouvier)
...
MozReview-Commit-ID: Booqdgl1QFT
--HG--
extra : rebase_source : 444f3453ce6cecacac47e6b67621fa74bf90e313
2016-05-09 09:00:47 -05:00
Jan de Mooij
0b9f36c5e4
Bug 1197769 followup - Add test to cgc-jittest-timeouts.txt. r=orange
...
--HG--
rename : js/src/jit-test/tests/bug1197769.js => js/src/jit-test/tests/ion/bug1197769.js
2016-05-09 17:01:38 +02:00
Jacek Caban
04a08d891c
Bug 956899 - GCC cross compilation fixup.
2016-05-09 16:31:26 +02:00
Luke Wagner
877a914df8
Bug 1270965 - Baldr: set min-heap-length (r=bbouvier)
...
MozReview-Commit-ID: JwIuHQeHUic
--HG--
extra : rebase_source : d5acf7be678ec86bedb89ff916274760edce435c
2016-05-06 21:02:38 -05:00
Jan de Mooij
ed832db571
Bug 1197769 - Add iterators to outermost IonBuilder. r=h4writer
...
--HG--
extra : rebase_source : 14c91e2c7ac9be1a7ed3b852bfa5985d6e270090
2016-05-09 14:50:42 +02:00
Tooru Fujisawa
b5fe01d3ac
Bug 1271147 - Merge RegExpCreate and regexp_construct self-hosting builtins. r=till
2016-05-09 20:48:40 +09:00
Tooru Fujisawa
6eada43d60
Bug 1108382 - Remove non-standard flag argument from String.prototype.{search,match,replace}. r=till
2016-05-09 20:48:26 +09:00
Carsten "Tomcat" Book
98f0a3271a
Backed out changeset d385df62c0e7 (bug 1267186) for hazard failures
2016-05-09 13:40:01 +02:00
Martin Husemann
9a18802e82
Bug 1232150 - "Atomic operations for PPC/PPC64". r=lhansen
2016-01-22 00:09:00 +01:00
Heiher
6e9a4a664b
Bug 1269775 - OdinMonkey: MIPS: Implement int32 rotations. r=bbouvier
...
---
js/src/jit/mips-shared/MacroAssembler-mips-shared-inl.h | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
2016-05-09 17:12:26 +08:00