Commit Graph

53508 Commits

Author SHA1 Message Date
Tooru Fujisawa
0ec9e41aa6 Bug 1254174 - Convert uncaught symbol to a descriptive string. r=jorendorff 2016-03-09 01:32:06 +09:00
Nicolas B. Pierron
bd4c88439b Bug 1240521 - Fix the test case to ensure that oomAfterAllocation is defined. r=red 2016-03-08 14:22:47 +00:00
Nicolas B. Pierron
a7ff33a68b Bug 1240521 - IonBuilder processSwitchEnd returns ControlStatus_Error on allocation errors. r=h4writer 2016-03-08 13:19:34 +00:00
Lars T Hansen
1996b83ba5 Bug 1248153 - Do not convert fp to int by cast. r=waldo
--HG--
extra : amend_source : 6eea6a7a9bf113efe43822423ad7d0ab542d94c7
extra : histedit_source : 63cd6daa497e79a01b7011bb5fb56e098104d00d
2016-03-04 14:18:06 +01:00
Lars T Hansen
e4518bf50d Bug 1253216 - clean up the atomic ops ifdef nest. r=jorendorff
--HG--
extra : rebase_source : d3cb45edc0b495c3a8b779dc165f8a599835aa0f
extra : histedit_source : 005a644c952690935bbd4c65c81c374d00edbce9
2016-03-04 12:42:15 +01:00
Nicolas B. Pierron
26a262542c Bug 1247880 - Only remove MUrsh operands when the input of MUrsh is guaranteed to be unsigned. r=sunfish 2016-03-08 12:54:19 +00:00
Tom Schuster
c944bcd13b Bug 1254349 - Remove unused error messages. r=mrrrgn 2016-03-08 13:49:47 +01:00
Benjamin Bouvier
ed958075b5 Bug 1250195: In TypedObject.from, decide that the input is typed only if it's an array type; r=pnkfelix
MozReview-Commit-ID: K4Nsm37effY

--HG--
extra : rebase_source : c2d218155dd6c95501b746ce1ea686aaa4ffb35b
2016-03-07 13:51:31 +01:00
Jon Coppeard
00c6bf3687 Bug 1252329 - Fix test bustage on opt builds r=me 2016-03-08 11:26:15 +00:00
Jon Coppeard
cc52e6234b Bug 1252329 - Fix interaction between AutoClearTypeInferenceStateOnOOM and compacting GC r=terrence 2016-03-08 10:15:09 +00:00
Jon Coppeard
5aca0e19f8 Bug 1253124 - Check return values in and around js::ValueToSourceForError r=jandem 2016-03-08 10:15:09 +00:00
Jan de Mooij
7c0005c288 Bug 1239813 - Add some asserts to IterateScripts to help us track down bug 1240231. r=sfink
--HG--
extra : rebase_source : fda66896860258cef25a2cba643c8a586d2a0a0e
2016-03-08 10:48:30 +01:00
Christoph Kerschbaumer
205c4c430e Bug 1254303 - Remove SEC_NORMAL from js/. r=sicking
MozReview-Commit-ID: JhPDn2yZE2g
2016-03-07 14:19:50 -08:00
Jim Blandy
228eb7525f Bug 1252453: make Debugger::slowPathOnLogAllocationSite apply a read barrier to Debugger objects. r=terrence
--HG--
extra : rebase_source : f2a64416c31366999f8d17e0795007380dbf742f
extra : amend_source : a2fbc17e6c80b675ec727e6f456327842016761a
2016-03-07 17:21:29 -08:00
Heiher
511c3a74c2 Bug 1250370 - IonMonkey: MIPS: Fix stack alignment checking in EmitBaselineEnterStubFrame. r=nbp
---
 js/src/jit/mips-shared/SharedICHelpers-mips-shared.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2016-03-08 14:45:19 +08:00
Mike Hommey
849ac02d19 Bug 1253553 - Move --enable-artifact-builds, --disable-compile-environment and --enable-build-backend to moz.configure. r=nalexander,r=chmanchester
Note I'm using raw primitives until patterns emerge and we decide on
some helpers.
2016-03-08 15:41:32 +09:00
Mike Hommey
9ac013d5cf Bug 1253502 - Move python virtualenv initialization to moz.configure. r=gps 2016-03-08 15:41:32 +09:00
Mike Hommey
74b4506047 Bug 1253203 - Move parts of configure.py into sandboxed moz.configure. r=nalexander,r=chmanchester
This moves all the reading mozconfig, finding autoconf, refreshing the
old configure, and running the old configure into sandboxed
moz.configure. This effectively bootstraps the sandboxed python configure.
2016-03-08 15:41:32 +09:00
Mike Hommey
5f47dbfbbd Bug 1253464 - Remove --enable-wrap-malloc/--with-wrap-malloc from js/src/old-configure.in. r=mshal
for the same reason as they were removed in bug 1080341 for the
top-level, and the additional reason that configure.py doesn't support
--enable and --with options with the same name.
2016-03-08 15:41:32 +09:00
Mike Hommey
29758f5f42 Bug 1250297 - Make python configure output config.status instead of old-configure doing it. r=gps
The nice side effect is that now we can have actual dicts for defines
and substs from the start, which simplifies so things, although it
requires adjustments to some unit tests.
2016-03-08 15:41:32 +09:00
Shu-yu Guo
d617ebbc91 Bug 1250520 - Handle reporting DebuggeeWouldRun when the script has no filename. (r=fitzgen) 2016-03-07 17:50:43 -08:00
Wes Kocher
431033356f Backed out changeset 7f7f0a43f051 (bug 956899) for testThreadingExclusiveData failures CLOSED TREE
MozReview-Commit-ID: BHrjbFNJxfW

--HG--
rename : js/src/jsapi-tests/testThreadingExclusiveData.cpp => js/src/jsapi-tests/testMutex.cpp
rename : js/src/threading/ExclusiveData.cpp => js/src/vm/Mutex.cpp
rename : js/src/threading/ExclusiveData.h => js/src/vm/Mutex.h
2016-03-07 14:31:24 -08:00
Jakob Olesen
7d10d8fcb4 Bug 1252927 - SIMD: Truncate before range check. r=sunfish
Fix this both in the VM and the x86 JIT.

MozReview-Commit-ID: IsKyDJUN6tk
2016-03-07 14:26:40 -08:00
Terrence Cole
2816df42d5 Bug 956899 - Move and rename rust-alike Mutex to ExclusiveData; r=fitzgen
--HG--
rename : js/src/jsapi-tests/testMutex.cpp => js/src/jsapi-tests/testThreadingExclusiveData.cpp
rename : js/src/vm/Mutex.cpp => js/src/threading/ExclusiveData.cpp
rename : js/src/vm/Mutex.h => js/src/threading/ExclusiveData.h
2016-03-03 11:15:53 -08:00
Jonathan Watt
fea223341b Bug 1253094, part 4 - Stop using DebugOnly for class/struct members in js/. r=billm
MozReview-Commit-ID: mBuo3b34dR
2016-02-26 15:52:07 +00:00
Tooru Fujisawa
418a892902 Bug 1253847 - Do not count the skipped EOL inside template literal. r=jorendorff 2016-03-08 01:27:26 +09:00
Luke Wagner
56cf5fe802 Bug 1253877 - Baldr: cast -1 to uint8 to avoid 'shifting negative' error on CLOSED TREE (r=bustage)
MozReview-Commit-ID: 8CYGVBxTpsg
2016-03-07 09:56:34 -06:00
Luke Wagner
4b64ae2ba8 Bug 1253137 - Baldr: switch {i32, i64}.const to SLEB128 (r=sunfish)
MozReview-Commit-ID: uTHr1bhusl

--HG--
extra : rebase_source : 3c91120073a25136065572e5757f160eb0e64fe8
2016-03-07 09:07:39 -06:00
Luke Wagner
71d60b9098 Bug 1253877 - Baldr: print missing text labels in resolving phase (r=mbx)
MozReview-Commit-ID: EWXT88havql

--HG--
extra : rebase_source : 558fdcc5a33998035c8b9e61faf92bf64d45203e
2016-03-07 09:07:39 -06:00
Jason Orendorff
d21cf14964 Bug 991016 - Check return value of a setDelegate call. r=efaust.
--HG--
extra : rebase_source : 052f55b4d10dc2a266b8cff6f94740e92b431624
2016-03-04 12:27:17 -06:00
Jason Orendorff
ed98c1bc4b Quick follow-up to bug 1251225 to fix a possibly overflowing left shift (found by Coverity, rs=h4writer on irc)
--HG--
extra : rebase_source : 59744e277f46584716e50379a637b97dccb90a75
2016-03-04 11:26:36 -06:00
Benjamin Bouvier
837be7217a Bug 1254131: Fix non-unified wasm build. r=luke
MozReview-Commit-ID: 3TO17DGdk1K

--HG--
extra : amend_source : 83074b90afdc4f4647850ffc45c44de6ab981822
2016-03-07 16:06:26 +01:00
Luke Wagner
6e1a0154ca Bug 1253137 - Baldr: use length+bytes instead of c-strings (r=sunfish)
MozReview-Commit-ID: 1GYHSyxx6n1
2016-03-06 17:46:23 -06:00
Luke Wagner
c4ff9aece7 Bug 1253137 - Baldr: pass around Bytes instead of Bytecode/UniqueBytecode (r=sunfish)
MozReview-Commit-ID: 5RzN8IwDc7C
2016-03-06 17:46:23 -06:00
Luke Wagner
a1da5ec894 Bug 1253137 - Baldr: switch local array to local entry array (r=sunfish)
MozReview-Commit-ID: HUdKHzTuLqo
2016-03-06 17:46:22 -06:00
Luke Wagner
03b7302b4c Bug 1253884 - Baldr: fix parsing of (f32.const -0) (r=sunfish)
MozReview-Commit-ID: DEDehyShLqw
2016-03-06 17:46:22 -06:00
Luke Wagner
22efc12d22 Bug 1253115 - Ion: include asm.js load/store offset in GVN (r=sunfish)
MozReview-Commit-ID: K9WS44YIBi
2016-03-06 17:46:22 -06:00
Luke Wagner
742454baa7 Bug 1246116 - Baldr: make the wasm br_table limit match asm.js (r=bbouvier)
MozReview-Commit-ID: Ap31iL2aLRG
2016-03-06 17:46:22 -06:00
Till Schneidereit
ea83fe5829 Bug 1246929 - Skip installing functions and properties on builtins for the self-hosting global. r=Waldo
Also remove the JSPROP_DEFINE_LATE hack that's now redundant
2016-02-10 23:09:13 +01:00
Till Schneidereit
00c5770f4e Bug 911216 - Part 2: Add self-hosting intrinsic for calling wrapped functions without wrapper security checks. r=efaust,bholley 2016-02-10 23:09:12 +01:00
Till Schneidereit
4904f5e8c3 Bug 1232639 - Implement Object.{values,entries} in C++ to avoid native call overhead in tight loop. r=jorendorff 2016-03-06 21:12:39 +01:00
Ryan VanderMeulen
599f2304e0 Merge m-c to inbound. a=merge 2016-03-05 19:30:51 -05:00
Ryan VanderMeulen
4a074fc4a6 No bug - Add guards to tests that use TypedObject. r=me, a=bustage 2016-03-05 19:19:25 -05:00
Luke Wagner
dee8f1789c Bug 1253137 - Baldr: switch from expression-count to function body byte size (r=sunfish)
MozReview-Commit-ID: KcbWjViZAM6
2016-03-04 18:43:00 -06:00
Luke Wagner
08ad2796af Bug 1253137 - Baldr: switch to bottom-up validation in Wasm.cpp (r=sunfish)
MozReview-Commit-ID: 8Ml0V6RcoSR
2016-03-04 18:42:57 -06:00
Luke Wagner
fd73ec9670 Bug 1253137 - Baldr: remove expected type from WasmIonCompile.cpp (r=sunfish)
MozReview-Commit-ID: 7WM8Age7IP4
2016-03-04 18:42:54 -06:00
Luke Wagner
a6c7340e06 Bug 1246116 - Baldr: remove two timeout tests until there is a good way to make them not fail on platforms without wasm (arm64) (r=red)
MozReview-Commit-ID: JM9Iav7kMpE
2016-03-04 22:31:28 -06:00
Benjamin Bouvier
577d0af387 Bug 1246116: Wire BrTable in wasm and add a bunch of tests; r=sunfish
MozReview-Commit-ID: 7sw9zUD44OW
2016-03-04 12:35:34 +01:00
Morgan Phillips
d95ecfa483 Bug 1245877 - Expose error message names via the debugger object; r=jorendorff
--HG--
extra : rebase_source : 87a2c2f682285048be1c57c280f4e3af48b9d524
2016-03-04 12:21:57 -08:00
Dan Gohman
5cd7a418c8 Bug 1253681 - BaldrMonkey: Update to the current official opcode encodings. r=luke 2016-03-04 11:55:59 -08:00