Commit Graph

54760 Commits

Author SHA1 Message Date
Tooru Fujisawa
679d9d48db Bug 1268034 - Part 4: Delay modifying global constructor/prototype slots for classes other than Function and Object. r=jorendorff 2016-05-19 20:47:07 +09:00
Tooru Fujisawa
f10d8bab39 Bug 1268034 - Part 3: Create CreateArrayFromBuffer function on demand. r=jorendorff 2016-05-19 20:47:07 +09:00
Tooru Fujisawa
f999881884 Backed out changeset d31171af48e4 (bug 1268034) 2016-05-19 20:47:07 +09:00
Eddy Bruel
b79cb97a05 Bug 1271653 - Refactor isExtensible/isSealed/isFrozen;r=jimb 2016-05-19 13:26:27 +02:00
Jon Coppeard
401746f8e8 Bug 1273432 - Fix off-by-one string length assertion r=jandem 2016-05-18 19:03:39 +01:00
Jon Coppeard
3d8e7a7e44 Bug 1273908 - Refactor GC to make it easier to add new kinds of GC thing r=terrence 2016-05-19 10:12:54 +01:00
Lars T Hansen
f63085b198 Bug 1227207 - throw correct error type. r=jorendorff
--HG--
extra : rebase_source : 1df2065fc504e57f67585e42a6e8925fbcdbeb25
2016-05-18 11:51:33 +02:00
Jan de Mooij
dacd6df3ac Bug 1273828 - Optimize JS::GetScriptedCallerGlobal. r=luke 2016-05-19 09:15:49 +02:00
Phil Ringnalda
0abb0a4c79 Back out 66aec66b11b4 (bug 1246743) for frequent e10s 10.10 mochitest-media crashes
CLOSED TREE
2016-05-18 21:31:38 -07:00
Wes Kocher
d94c21f829 Backed out changeset e113053408b6 (bug 1273432) for winxp jit test failures CLOSED TREE 2016-05-18 15:25:21 -07:00
Steve Fink
6938e74e76 Bug 1273639 - Add a nonunified spidermonkey build, r=terrence
MozReview-Commit-ID: 5FaxNw9SraO

--HG--
rename : testing/taskcluster/tasks/builds/sm_plaindebug.yml => testing/taskcluster/tasks/builds/sm_nonunified.yml
extra : rebase_source : ea5d409525a91aff34974c7d70a157b226d104ab
extra : amend_source : 2d882b03e737a2b635428fc43a84a124e74d494f
2016-05-17 08:20:52 -07:00
Ralph Giles
0946db2658 Bug 1271794 - Use SSE2 instructions on win32. r=glandium
We've decided supporting the small number of x86 machines
without SSE2 instructions is no longer worth the cost in
developer time nor the performance impact for other users.

https://groups.google.com/d/msg/mozilla.dev.platform/dZC39mj5V-s/Xt_UqZXkAAAJ

Set -arch:SSE2 by default on x86 if an arch hasn't already
been supplied. This ensures we'll continue to build with
the right instruction set if the compiler changes its default
in the future, while still allowing custom builds to set
a lower minimum.

Also updates the filter to strip all arch switches on win64
when building the sandbox. The 64-bit compiler doesn't
support -arch:SSE2 either.

MozReview-Commit-ID: JzTRGPn9vzI
2016-05-18 11:06:30 -07:00
Jon Coppeard
46d20ea557 Bug 1273432 - Fix off-by-one string length assertion r=jandem 2016-05-18 19:03:39 +01:00
Nathan Froyd
fc77185702 Bug 1246743 - use libc++ on OS X builds; r=glandium 2016-05-18 22:01:53 -04:00
Terrence Cole
4bf8df3a44 Bug 1266887 - Store Rooted heads on the Zone; r=sfink
--HG--
extra : rebase_source : 30686e746021d123947ade0ad51b10f1b3d32ee9
2016-04-25 12:32:36 -07:00
Dan Gohman
2376586469 Bug 1273748 - BaldryMonkey: Miscellaneous fixes. r=luke 2016-05-18 09:23:09 -07:00
Jonathan Watt
1f58b22c60 Bug 177957, part 3 - Make the WebIDL code generator support the [SecureContext] extended attribute. r=bz
MozReview-Commit-ID: 3O3V4MTgLuR
2016-05-16 10:04:38 +01:00
Lars T Hansen
fa138fd440 Bug 1271736 - remove SharedArrayBuffer.isView. r=jorendorff
--HG--
extra : rebase_source : a505f5fe8d8476fea6da58646c2ab734ef9329a4
2016-05-12 17:01:55 +02:00
Heiher
ea72401321 Bug 1273722 - IonMonkey: MIPS: Use andi AMAP in branchTestPtr. r=arai
---
 js/src/jit/mips-shared/MacroAssembler-mips-shared-inl.h | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
2016-05-18 16:42:34 +08:00
Heiher
b7d73d3cdc Bug 1273722 - IonMonkey: MIPS: Use andi AMAP in branchTest32. r=arai
---
 js/src/jit/mips-shared/MacroAssembler-mips-shared-inl.h | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
2016-05-18 16:42:32 +08:00
Heiher
8099f4579c Bug 1273722 - IonMonkey: MIPS: Fix scratch register overwrite in branchTest32. r=arai
---
 js/src/jit/mips-shared/MacroAssembler-mips-shared-inl.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2016-05-18 16:42:31 +08:00
Phil Ringnalda
2657cac015 Backed out 3 changesets (bug 1271794, bug 1271829) on suspicion of making Windows builds less likely to... build
CLOSED TREE

Backed out changeset d0ab0d508a24 (bug 1271829)
Backed out changeset 9f4983dfd881 (bug 1271829)
Backed out changeset 28b45df659b7 (bug 1271794)
2016-05-18 00:04:29 -04:00
Steve Singer
ff3b7278ef Bug 1272938 - Add js namespace prefix. r=terrence 2016-05-16 21:44:38 -04:00
Jakob Stoklund Olesen
94c59e4554 Bug 1136226 - Asm.js: Add small integer SIMD types. r=bbouvier
Almost entirely boilerplate.

Note that IsSimdValidOperationType() does not yet accept 8x16 and 16x8 SIMD
operations which means that none of the new code is reachable yet. We'll turn
this on once IonMonkey has full support for the new SIMD types.
2016-05-17 14:53:56 -07:00
Jakob Stoklund Olesen
c63f69db4d Bug 1136226 - Wasm: Codegen for small integer SIMD constants. r=sunfish 2016-05-17 14:53:56 -07:00
Jakob Stoklund Olesen
cd0d32a097 Bug 1136226 - Wasm: Generate code for small int SIMD constructors. r=sunfish
SIMD constructors with dynamic arguments are translated to a sequence of
MSimdInsertElement instructions, LLVM style. This may change if we need the
optimization.
2016-05-17 14:53:56 -07:00
Jakob Stoklund Olesen
d12579deb1 Bug 1136226 - Wasm: Add opcodes for small integer SIMD types. r=sunfish 2016-05-17 14:53:56 -07:00
Jakob Stoklund Olesen
d512bedc76 Bug 1136226 - Wasm: Encode/decode small integer SIMD constants. r=sunfish 2016-05-17 14:53:55 -07:00
Jakob Stoklund Olesen
d019dc8621 Bug 1136226 - Wasm: Add small integer SIMD types to WasmTypes.h. r=sunfish 2016-05-17 14:53:55 -07:00
Jakob Olesen
298319dfc5 Bug 1136226 - Add FORALL enumerations for small integer SIMD types. r=sunfish
These are used in the asm.js / wasm code generator.

Also include addSaturate and subSaturate in the SimdOperation enum. They had
been left out by accident.
2016-05-17 14:53:55 -07:00
Chris Manchester
0676d58107 Bug 1272535 - Move MOZ_UPDATE_CHANNEL to Python configure. r=glandium
MozReview-Commit-ID: 2NuZZX1hoEP
2016-05-17 14:40:03 -07:00
Wes Kocher
3ac80a6ae8 Merge m-c to inbound, a=merge
--HG--
rename : testing/eslint-plugin-mozilla/lib/rules/.eslintrc => testing/eslint/eslint-plugin-mozilla/lib/rules/.eslintrc
2016-05-17 14:17:19 -07:00
Wes Kocher
3e7b9d23cc Merge inbound to central, a=merge 2016-05-17 13:52:35 -07:00
Jon Coppeard
d52f95abce Bug 1273494 - Guard call to JSTracer::setCheckEdges that is only present in DEBUG builds r=jandem a=build_error 2016-05-17 14:49:58 +01:00
Tooru Fujisawa
642f05ea77 Bug 1263340 - Part 4: Followup for @@split - Apply optimized path for empty string too. r=till 2016-05-18 04:26:41 +09:00
Nick Fitzgerald
518bb9b3a0 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-17 12:51:08 -07:00
Jon Coppeard
0dc2cc6613 Bug 1272604 - Fix hazard analysis failure r=me 2016-05-16 15:16:30 +01:00
Jon Coppeard
b308c4d6a9 Bug 1272604 - Fix bad implicit conversion constructor build error r=me 2016-05-16 14:38:29 +01:00
Jon Coppeard
35a9e3a430 Bug 1272604 - Add a zeal mode to check the heap after a moving GC r=terrence 2016-05-16 14:23:09 +01:00
Ralph Giles
90a00904df Bug 1271794 - Use SSE2 instructions on win32. r=glandium
We've decided supporting the small number of x86 machines
without SSE2 instructions is no longer worth the cost in
developer time nor the performance impact for other users.

https://groups.google.com/d/msg/mozilla.dev.platform/dZC39mj5V-s/Xt_UqZXkAAAJ

Set -arch:SSE2 by default on x86 if an arch hasn't already
been supplied. This ensures we'll continue to build with
the right instruction set if the compiler changes its default
in the future, while still allowing custom builds to set
a lower minimum.

Also updates the filter to strip all arch switches on win64
when building the sandbox. The 64-bit compiler doesn't
support -arch:SSE2 either.

MozReview-Commit-ID: JzTRGPn9vzI
2016-05-17 11:35:51 -07:00
Nicolas B. Pierron
3dad56dd53 Bug 1261826 part 10 - Only increment code coverage counters on jump targets. r=bhackett 2016-05-17 17:15:53 +00:00
Nicolas B. Pierron
a5b3aecc2a Bug 1261826 part 9 - initScriptCounts relies on jump targets for allocating PCCounts. r=bhackett 2016-05-17 17:15:53 +00:00
Nicolas B. Pierron
1772621136 Bug 1261826 part 8.1 - Make Debugger.Script.getOffsetLocation only consider entry point locations. r=shu 2016-05-17 17:15:52 +00:00
Nicolas B. Pierron
e037534d4b Bug 1261826 part 8 - Add JSOP_JUMPTARGET opcode. r=jandem,jorendorff,shu 2016-05-17 17:15:52 +00:00
Nicolas B. Pierron
d02bd6369a Bug 1261826 part 7 - Add a no-op bytecode to filter out branches results from the decompiler. r=jorendorff 2016-05-17 17:15:52 +00:00
Nicolas B. Pierron
17eede2c99 Bug 1261826 part 6 - Factor code which record new Bytecode offset stack. r=shu 2016-05-17 17:15:52 +00:00
Nicolas B. Pierron
4e13ad2cdd Bug 1261826 part 4 - BytecodeEmitter: Distinguish offsets based on their purposes. r=jorendorff,shu 2016-05-17 17:15:52 +00:00
Nicolas B. Pierron
0ea2111a78 Bug 1261826 part 3 - Remove outdated comment about XDR_BYTECODE_VERSION. r=arai 2016-05-17 17:15:52 +00:00
Nicolas B. Pierron
a68b7da633 Bug 1261826 part 2 - Add JSScript::assertValidJumpTargets. r=jorendorff
This code is inspired from JSScript::initScriptCounts except that append
operations are replaced by MOZ_ASSERT.
2016-05-17 17:15:52 +00:00
Nicolas B. Pierron
de1aed0527 Bug 1261826 part 1.5 - Extract assertions from JSScript::fullyInitFromEmitter. r=jorendorff 2016-05-17 17:15:52 +00:00