Commit Graph

35683 Commits

Author SHA1 Message Date
Ryan VanderMeulen
9ff8b15061 Merge m-c to inbound. a=merge 2014-09-22 15:50:08 -04:00
Till Schneidereit
59c05a0eb2 Bug 1069063 - Part 2: follow-up to include changes in v2 of the patch. r=me
--HG--
extra : rebase_source : 6d79233c7dab7af574c6f86c4bcae4770baac745
2014-09-22 11:14:44 -04:00
Terrence Cole
e1752155cd Bug 1068123 - Make the MOZ_GCTIMER logs more verbose and readable; r=jonco 2014-09-19 08:39:54 -07:00
Terrence Cole
f623e8e73d Backout 3f395d9d894a (Bug 1057563) for not handling the background allocation case. 2014-09-22 09:40:54 -07:00
Vlatko Markovic
2e30280054 Bug 1059216 - Verification of Trusted Hosted Apps manifest signature, part 1. r=dkeeler,rlb 2014-09-22 07:58:59 -07:00
Michael Shuen
749886c2ed Bug 1061652 - Inline setCrossCompartmentSlot on windows. r=luke 2014-09-19 18:35:00 +02:00
Christoph Kerschbaumer
ef6536b244 Bug 1038756: Callsites creating a channel in /js/ (r=mrbkap) 2014-09-21 09:45:16 -07:00
Jon Coppeard
b6e664d94f Bug 1069655 - Fix build errors in non-unified builds r=me 2014-09-22 11:09:53 +01:00
Jon Coppeard
6bca1337a4 Bug 1069655 - Unify the forwarding mechanisms used by generational and compacting GC r=terrence 2014-09-22 09:36:22 +01:00
Jon Coppeard
6c104c7a53 Bug 1068697 - Add a compartment option to preserve JIT code in non-shrinking GCs r=terrence 2014-09-22 08:43:36 +01:00
Till Schneidereit
c4d3b0059d changeset: 229387:7f06ae718751
user:        ziyunfei <446240525@qq.com>
files:       js/src/builtin/Object.cpp js/src/tests/ecma_6/Object/isSealed.js
description:
Bug 1062860 - Object.isSealed() should return true when given primitive values as input. r=till
2014-09-04 21:08:33 +08:00
Till Schneidereit
ce2a28c7f3 changeset: 229386:2c92e43e29d8
user:        ziyunfei <446240525@qq.com>
files:       js/src/builtin/Array.js js/src/builtin/Utilities.js js/src/jsarray.cpp js/src/tests/ecma_7/Array/browser.js js/src/tests/ecma_7/Array/contains.js js/src/tests/ecma_7/Array/shell.js js/src/tests/ecma_7/browser.js js/src/tests/ecma_7/shell.js
description:
Bug 1069063 - Implement Array.prototype.contains. r=till,securityAudit=bholley

--HG--
rename : js/src/tests/ecma_6/Array/browser.js => js/src/tests/ecma_7/Array/browser.js
rename : js/src/tests/ecma_6/Array/browser.js => js/src/tests/ecma_7/Array/shell.js
rename : js/src/tests/ecma_6/browser.js => js/src/tests/ecma_7/browser.js
rename : js/src/tests/ecma_6/shell.js => js/src/tests/ecma_7/shell.js
2014-09-18 17:22:05 +08:00
Bobby Holley
f7c451febf Bug 1070696 - Implement a JSObject* override to AutoJSAPI::Init(). r=smaug 2014-09-21 21:31:53 +02:00
Bobby Holley
8dae0fc8ce Bug 1070696 - Rename xpc::GetNativeForGlobal to xpc::NativeGlobal and make it accept non-global JSObjects. r=smaug
The method is infallible, and making the callers invoke
js::GetGlobalForObjectCrossCompartment manually is dumb.
2014-09-21 21:31:53 +02:00
Phil Ringnalda
aa7b4b140a Backed out 2 changesets (bug 1069063, bug 1062860) for mochitest-chrome and jsreftest bustage
CLOSED TREE

Backed out changeset 7f06ae718751 (bug 1062860)
Backed out changeset 2c92e43e29d8 (bug 1069063)
2014-09-20 20:53:35 -07:00
ziyunfei
04c32f0997 Bug 1062860 - Object.isSealed() should return true when given primitive values as input. r=till 2014-09-04 21:08:33 +08:00
ziyunfei
1654110cbe Bug 1069063 - Implement Array.prototype.contains. r=till
--HG--
rename : js/src/tests/ecma_6/Array/browser.js => js/src/tests/ecma_7/Array/browser.js
rename : js/src/tests/ecma_6/Array/browser.js => js/src/tests/ecma_7/Array/shell.js
rename : js/src/tests/ecma_6/browser.js => js/src/tests/ecma_7/browser.js
rename : js/src/tests/ecma_6/shell.js => js/src/tests/ecma_7/shell.js
2014-09-18 17:22:05 +08:00
Lars T Hansen
70d8330f73 Bug 1068451 - test case. r=waldo 2014-09-20 12:26:20 +02:00
Lars T Hansen
db55b6585f Bug 1068458 - Limit SharedArrayBuffer and SharedTypedArray to INT32_MAX bytes. r=waldo 2014-09-20 12:12:06 +02:00
Terrence Cole
049d73bdd4 Back out changeset b7f417116d90 (Bug 1029549) for making the tree a beautiful orange color on a CLOSED TREE 2014-09-19 16:53:17 -07:00
Terrence Cole
3ac0124533 Bug 1029549 - Sanity-check TenuredHeap pointers when accessing them; r=jonco
--HG--
extra : rebase_source : 3aeb0679d121e301b1b6c5aea2511dbc1a419e55
2014-09-19 15:51:57 -07:00
Jim Blandy
c2120e3335 Bug 1063247: Let embeddings tell Debugger how to find the size of a malloc'd block of memory. r=terrence 2014-09-19 15:10:01 -07:00
Jim Blandy
dda83ff66a Bug 1063247: Amend JS::ubi::Node::size and its implementations to expect a mozilla::MallocSizeOf function. r=terrence
Note that JS::ubi::Node::size has no callers at present, so we can change its
type without changing any callers.
2014-09-19 15:10:01 -07:00
Jim Blandy
d31bf30d11 Bug 1063247: Allow implicit construction of JS::ubi::Node from JS::HandleValue. r=terrence
This seems reasonable, since a ubi::Node is really just a pointer with some
introspection support, so the value and the Node are pretty similar. And I don't
see cases where you'd want an error.
2014-09-19 15:10:00 -07:00
Terrence Cole
3b4d747338 Bug 1057563 - There is no need to sync with the GC helper thread between slices; r=jonco
--HG--
extra : rebase_source : b4cfe084e1b8fabcc95aa78b560ad2e1eaa3e5d4
2014-08-22 14:28:56 -07:00
Terrence Cole
dd4dc6edcf Backed out changeset a53aa43ab5f4 for Windows build bustage on a CLOSED TREE
--HG--
extra : rebase_source : d3a1aecd8882bc591898684c0a97f8929b7809a9
2014-09-19 09:40:53 -07:00
Terrence Cole
ba9f4da7e2 Bug 1068123 - Make the MOZ_GCTIMER logs more verbose and readable; r=jonco
--HG--
extra : rebase_source : 010b83f2302c2b10e7ef3d3bb347a9b7b57a51b4
2014-09-19 08:39:54 -07:00
Benjamin Bouvier
81a6b3e05d Bug 1025100: SIMD: add support for with{X,Y,Z,W} in Odin; r=luke 2014-09-19 14:56:10 +02:00
Benjamin Bouvier
396b1f2c54 Bug 1025100: Use INSERTPS for inserting float elements when SSE4.1 is available; r=sunfish 2014-09-19 14:56:05 +02:00
Benjamin Bouvier
ef4ef46517 Bug 1025100: Implement MSimdInsertElement; r=sunfish 2014-09-19 14:53:25 +02:00
Benjamin Bouvier
27edf73375 Bug 1025100: Factor out redundant LExtractElement classes; r=sunfish 2014-09-19 14:53:19 +02:00
Benjamin Bouvier
c164308c86 Bug 1053788: Add Float32 min max in asm.js; r=luke 2014-09-19 14:39:59 +02:00
Benjamin Bouvier
87b499ce26 Bug 1053788: Activate float32 specialization of min/max; r=nbp 2014-09-19 14:39:53 +02:00
Benjamin Bouvier
8660364b84 Bug 1053788: Add float32 tests for RMinMax; r=nbp 2014-09-19 14:39:32 +02:00
Benjamin Bouvier
ad46b80dcb Bug 1053788: Implement backends for generating min/max for float32; r=sunfish 2014-09-19 14:39:27 +02:00
Benjamin Bouvier
895933993b Bug 1053788: Factor out LMinMax from LMinMax{I,F}; r=sunfish 2014-09-19 14:39:05 +02:00
Marty Rosenberg
e81b6bc6a7 bug 1068857: Fix includes to appeas the style checker on a CLOSED TREE (r=red) 2014-09-19 08:22:53 -04:00
Marty Rosenberg
d613feb867 bug 1068857: Allow overriding almost any of the jit options via the UNIX environment. (r=nbp) 2014-09-19 07:41:08 -04:00
Jon Coppeard
b8d328f708 Bug 650161 - Update the gc() shell builtin to allow triggering of shrinking GC r=terrence 2014-09-17 15:35:12 +01:00
Jon Coppeard
7900f04b5c Bug 650161 - Fix shell test failures caused by compacting GC r=terrence 2014-09-17 15:35:11 +01:00
Jon Coppeard
c8cbf89441 Bug 650161 - Use the object moved hook to update the wrapper cache r=terrence r=bz r=bholley
* * *
Add exception for objectMoved hook as we do for finalize hook
2014-09-17 15:35:11 +01:00
Jon Coppeard
0a650f2717 Bug 650161 - Add an assertion that something is only ever called from a GC callback r=terrence 2014-09-19 09:57:11 +01:00
Johannes Schulte
c87ac214cd Bug 994018 - Remove Memcpy-optimization for Typed Objects. r=nmatsakis 2014-09-17 22:57:33 +02:00
Jim Blandy
e14e9e7412 Bug 1063233: Work around bug 1066193 (compiler bug) by providing an explicit 'this->'. r=Waldo 2014-09-18 12:56:54 -07:00
Jim Blandy
ef14470f6c Bug 1063233: Move JS::ubi::Node specializations for SpiderMonkey types closer to those types' definitions. r=terrence 2014-09-18 12:56:54 -07:00
Jim Blandy
b93d09903a Bug 1063233: Provide default definitions for optional JS::ubi::Node methods in Base. r=terrence 2014-09-18 12:56:53 -07:00
Ryan VanderMeulen
7b175eff40 Backed out 7 changesets (bug 1062869) for ASAN UAF and Hazard Analysis failures.
Backed out changeset f62b115f169f (bug 1062869)
Backed out changeset 48943bce060d (bug 1062869)
Backed out changeset 846d57ff7684 (bug 1062869)
Backed out changeset 85b9beefb942 (bug 1062869)
Backed out changeset a98f73f954ee (bug 1062869)
Backed out changeset b111868be30f (bug 1062869)
Backed out changeset f3397cf24e64 (bug 1062869)

CLOSED TREE
2014-09-18 14:03:31 -04:00
Nicolas B. Pierron
70400ce6d9 Bug 1069260 - Add MFunctionEnvironment::foldsTo. r=sunfish 2014-09-18 19:05:47 +02:00
Nicolas B. Pierron
69ad0ca3a2 Bug 1062869 part 6 - Handle early execution of recover instructions. r=h4writer 2014-09-18 18:28:56 +02:00
Nicolas B. Pierron
153eeae0e1 Bug 1062869 part 5 - Add MaybeReadFallback class to record the fallback method. r=shu 2014-09-18 18:28:55 +02:00