Commit Graph

48240 Commits

Author SHA1 Message Date
Benjamin Bouvier
47bf0598f9 Bug 1140317: include more UniquePtr and more using mozilla::UniquePtr in a CLOSED TREE; r=bustage
--HG--
extra : rebase_source : f8a64e3c5cdaa9abd47e2071d1a6331622e00e98
2015-03-11 17:32:02 +01:00
Jason Orendorff
0ab8467895 Bug 1137616 - Restore ReferenceError when a proxy is on the global object's prototype chain, regressed by rev 615f118f2787. r=jandem.
--HG--
extra : rebase_source : b6e51ec6061c99a0d796b85f87d25e436d3e472e
2015-03-03 18:13:03 -06:00
Jason Orendorff
cd9a74e351 Bug 828137, part 1 - Make Object.defineProperty fail on window elements. r=bz.
--HG--
extra : rebase_source : 8bfc7e8ebd9219511a6119bcefd2c784dc9a1682
2015-02-11 11:38:36 -06:00
Jason Orendorff
0c60195cd7 Bug 1132522, part 2 - Treat false return from proxyHandler.set() as strict mode failure. r=efaust.
This changeset includes a change in addon-sdk/source that is logically of a piece with the rest, but was reviewed separately; see <https://github.com/mozilla/addon-sdk/pull/1888>. r=Mossop.

--HG--
extra : rebase_source : 2cc5537258811d6c9d369062bd127947eed450c1
2015-02-13 09:49:31 -06:00
Jason Orendorff
ee6d024995 Bug 1132522, part 1 - Treat false return from proxyHandler.defineProperty() as strict mode failure. r=efaust.
--HG--
extra : rebase_source : 2fb0022f52553fe3bedf38e46ae50d465b7ae402
2015-02-12 11:29:32 -06:00
Benjamin Bouvier
4c5b145bae Bug 1135039: Apply swizzle type policy changes in Ion too; r=sunfish
--HG--
extra : rebase_source : ea6a775b4a32aa83745ae8950867f92dd1ff2e0b
2015-03-02 19:40:06 +01:00
Benjamin Bouvier
fca5b420d0 Bug 1135039: Throw on non-int32 or out-of-bounds lanes arguments to swizzle/shuffle; r=sunfish
--HG--
extra : rebase_source : 569ad212b4cd75089ba449ae86922d641810ae33
2015-03-05 11:55:10 +01:00
Jason Orendorff
8da1228198 Bug 1141329 - Fix crash [@ JSObject::getGroup] or [@ js::jit::SetPropertyIC::update]. r=efaust.
--HG--
extra : rebase_source : f34ba2ec39a84663892db9e08405e0efb3f5cd46
2015-03-10 13:14:36 -05:00
Jason Orendorff
eedeed1e47 Bug 1141329, prelude - Make ObjectOpResult pointer-sized to fix amazingly bogus code and assertions in IonCaches, introduced by rev 0712a3d4b79c. r=efaust.
--HG--
extra : rebase_source : 1d82219b61105088cf27154c6200e647091a36e0
2015-03-10 12:22:30 -05:00
Jason Orendorff
a9a1c904c3 Bug 1141154 - Fix crashes with Ion and proxy set failure cases, caused by rev 0712a3d4b79c. r=efaust.
--HG--
extra : rebase_source : d56b6bfda21f3e3797aae487efb344aae782c277
2015-03-09 19:07:56 -05:00
Benjamin Bouvier
98c2be829a Bug 1140317: Make sure chars created by DecompileValueGenerator won't ever leak; r=Waldo
--HG--
extra : rebase_source : 826d3b85b3b0b094f9d4d570a13915a99e985598
2015-03-10 19:34:00 +01:00
Lars T Hansen
5c82f1e14b Bug 1141067 - byte operations on x86/x64. r=sunfish 2015-03-11 15:45:57 +01:00
Lars T Hansen
6a807eabb7 Bug 1138348 - byte array test cases. r=h4writer 2015-03-11 15:45:57 +01:00
Lars T Hansen
0bb0797a10 Bug 1138348 - byte ops on x86_64. r=h4writer 2015-03-11 15:45:57 +01:00
Jan de Mooij
1f3dbeca3b Bug 1090583 part 2 - Fix the property count check in MonitorAssign to check the actual count instead of the capacity. r=bhackett 2015-03-11 11:58:25 +01:00
Benjamin Bouvier
52df648372 Bug 1140709: Add a second bounds check for checking that the index is actually positive; r=bhackett
--HG--
extra : rebase_source : b00b985e47d4814e1b7a8b8afd347b4f908d5303
extra : amend_source : 3bf3226a3a7b46ed083f0565c66dc48f8d270adc
2015-03-10 19:24:25 +01:00
ziyunfei
1158db1ff7 Bug 1108949 - RegExp(RegExp object, flags) no longer throws. r=till
--HG--
extra : rebase_source : 08109d67f72abee35d9928c6645e43cdffd6e85c
2015-03-10 21:36:00 +01:00
Eric Faust
3cf7f008c4 Bug 1066233 - Followup: Address a forgotten review comment. (r=jorendorff) 2015-03-11 00:49:38 -07:00
Eric Faust
ad9c2fb296 Bug 1066233 - Tests. (r=jorendorff) 2015-03-11 00:44:41 -07:00
Eric Faust
3ba28c5305 Bug 1066233 - Part 3: Reflect.parse support for ES6 ClassExpressions. (r=jorendorff) 2015-03-11 00:44:41 -07:00
Eric Faust
9a04835fc4 Bug 1066233 - Part 2: Emitter support for ES6 ClassExpressions. (r=jorendorff) 2015-03-11 00:44:41 -07:00
Eric Faust
4c1796a8f6 Bug 1066233 - Part 1: Parser suppoert for ES6 ClassExpressions. (r=jorendorff) 2015-03-11 00:44:41 -07:00
Eric Faust
362ec8b4d4 Bug 1066234 - Tests. (r=jorendorff) 2015-03-10 20:27:35 -07:00
Eric Faust
fa7237865e Bug 1066234 - Part 6: Emitter support for 'extends' in ES6 Classes. (r=jorendorff) 2015-03-10 20:27:34 -07:00
Eric Faust
bde88f8031 Bug 1066234 - Part 5: Implement JSOP_OBJWITHPROTO. (r=jorendorff) 2015-03-10 20:27:34 -07:00
Eric Faust
e61516dc68 Bug 1066234 - Part 4: Implement JSOP_FUNWITHPROTO. (r=jorendorff) 2015-03-10 20:27:34 -07:00
Eric Faust
ba03dfe707 Bug 1066234 - Part 3: Refactor js::CloneFunctionObject to take a proto argument. (r=jorendorff) 2015-03-10 20:27:34 -07:00
Eric Faust
2d0c5144f4 Bug 1066234 - Part 2: Implement JSOP_CLASSHERITAGE. (r=jorendorff) 2015-03-10 20:27:34 -07:00
Eric Faust
0255a0299e Bug 1066234 - Part 1: Parser support for 'extends' in ES6 Classes. (r=jorendorff) 2015-03-10 20:27:34 -07:00
Phil Ringnalda
c9d7caebde Backed out 7 changesets (bug 1066234) for bustage
CLOSED TREE

Backed out changeset ce28663e61d4 (bug 1066234)
Backed out changeset e06ad6b69b25 (bug 1066234)
Backed out changeset 99933582c7d8 (bug 1066234)
Backed out changeset a40045b47bba (bug 1066234)
Backed out changeset f6b44a3c3c6f (bug 1066234)
Backed out changeset 478d797266b1 (bug 1066234)
Backed out changeset 73f4dd8f8d97 (bug 1066234)
2015-03-10 20:44:12 -07:00
Eric Faust
060d7c0a57 Bug 1066234 - Tests. (r=jorendorff) 2015-03-10 20:27:35 -07:00
Eric Faust
c00fc2c512 Bug 1066234 - Part 6: Emitter support for 'extends' in ES6 Classes. (r=jorendorff) 2015-03-10 20:27:34 -07:00
Eric Faust
bc022f421f Bug 1066234 - Part 5: Implement JSOP_OBJWITHPROTO. (r=jorendorff) 2015-03-10 20:27:34 -07:00
Eric Faust
499ec1d19f Bug 1066234 - Part 4: Implement JSOP_FUNWITHPROTO. (r=jorendorff) 2015-03-10 20:27:34 -07:00
Eric Faust
f6ede58ce7 Bug 1066234 - Part 3: Refactor js::CloneFunctionObject to take a proto argument. (r=jorendorff) 2015-03-10 20:27:34 -07:00
Eric Faust
f716749e26 Bug 1066234 - Part 2: Implement JSOP_CLASSHERITAGE. (r=jorendorff) 2015-03-10 20:27:34 -07:00
Eric Faust
1fe797e160 Bug 1066234 - Part 1: Parser support for 'extends' in ES6 Classes. (r=jorendorff) 2015-03-10 20:27:34 -07:00
Shu-yu Guo
bd45de1bac Bug 1140643 - JitcodeGlobalMap marking must participate in iterative weak reference marking. (r=terrence) 2015-03-10 20:12:32 -07:00
Wes Kocher
02e6dbd486 Backed out changeset 449fc5e20299 (bug 1141067) for making windows ggc permafail CLOSED TREE 2015-03-10 19:50:23 -07:00
Wes Kocher
68ce293eb5 Backed out 2 changesets (bug 1138348)
Backed out changeset 9c405f41e3e7 (bug 1138348)
Backed out changeset 5777a98e824f (bug 1138348)
2015-03-10 19:49:58 -07:00
Blake Kaplan
3ae54c5cdb Bug 1134006 - Avoid IPC for domElement.QueryInterface(nsISupports) and nsIClassInfo. r=billm
--HG--
extra : rebase_source : cd3ce71089e89c512c0cc04fb49c666e5fab5117
2015-03-10 14:36:01 -07:00
Wes Kocher
014849cca6 Merge m-c to inbound a=merge CLOSED TREE 2015-03-10 16:11:23 -07:00
Wes Kocher
d8ac0068e5 Merge b2g-inbound to m-c a=merge CLOSED TREE 2015-03-10 15:44:53 -07:00
Carsten "Tomcat" Book
cc4d1b9af9 Merge mozilla-central to b2g-inbound 2015-03-10 14:07:36 +01:00
Lars T Hansen
5dd9fabd2f Bug 1138348 - byte array test cases. r=h4writer 2015-03-10 08:29:03 +01:00
Lars T Hansen
e21d01ae4e Bug 1138348 - byte ops on x86_64. r=h4writer 2015-03-10 08:29:01 +01:00
Lars T Hansen
10a38119d5 Bug 1141067 - clean up x86 and x64 byte operations. r=sunfish 2015-03-10 08:28:24 +01:00
Sean Stangl
ebf143adc2 Bug 1141268 - Install js-config.h for standalone builds. r=glandium 2015-03-09 13:42:31 -07:00
Chris Peterson
f52bd1d07c Bug 1140806 - Initialize JS random seed using arc4random on Android and BSDs. r=fitzgen 2015-03-08 17:49:04 -07:00
Shu-yu Guo
9906429672 Bug 1140741 - Teach JitProfilingFrameIterator to read DebugModeOSRInfo. (r=djvj) 2015-03-09 18:55:26 -07:00
Lars T Hansen
5406e27070 Bug 1141516 - call reportCompare even on early exit. r=luke 2015-03-10 16:35:20 +01:00
Brian Hackett
39171f8939 Bug 1138073 - Improve checking when folding and/or blocks in Ion, r=sunfish. 2015-03-10 08:56:57 -06:00
Tom Schuster
dadd824d2c Bug 1139696 - Test for cross-compartment Set/Map clone (r=billm) 2015-03-09 17:55:19 -07:00
Bill McCloskey
d3467852f4 Bug 1139696 - Fix cross-compartment Map/Set structured cloning (r=evilpie) 2015-03-09 17:43:54 -07:00
Jeff Walden
4877857e68 Bump the XDR version two more to account for yet more branch-versioning oddities. No bug, r=me as trivial, DONTBUILD because really building bytecode-bumping patchwork twice is just too much for an opaque identifier that we already built once, pushing in a CLOSED TREE because version bumps are risk-free and these versions are needed for a branch backport and otherwise I'm spinning wheels waiting on the tree to reopen right now 2015-03-09 10:57:47 -07:00
Jeff Walden
e9437e2662 Bump XDR bytecode version up several to reserve those skipped version numbers for use in branch patches. No bug, r=me as trivial 2015-03-09 10:37:00 -07:00
Nicolas B. Pierron
0fa9a5e3bf Bug 1138141 - x64: Add some padding after pushing an odd number of float32 registers. r=bbouvier 2015-03-09 18:21:42 +01:00
Boris Zbarsky
5801b265ee Bug 1140670 part 3. Add an assertParentIs() for asserting the parent is something specific and use it in various places to eliminate getParent() calls. r=waldo 2015-03-09 12:52:15 -04:00
Boris Zbarsky
fc853faf5b Bug 1140670 part 2. Just use the global as the parent in js::CreateThis and js::CreateThisForFunctionWithProto. r=waldo 2015-03-09 12:50:56 -04:00
Boris Zbarsky
e6f23c7edb Bug 1140670 part 1. Just use the global, not the proto's parent, as the default parent in NewObjectWithGivenTaggedProto. r=waldo 2015-03-09 12:50:55 -04:00
Boris Zbarsky
5d2ae0a555 Bug 1140573 part 4. Drop the parent argument from js::NewFunctionByIdWithReserved. r=waldo 2015-03-09 12:50:08 -04:00
Boris Zbarsky
cc3b42e52a Bug 1140573 part 3. Drop the parent argument from js::NewFunctionWithReserved. r=waldo 2015-03-09 12:50:07 -04:00
Boris Zbarsky
8a4d4838fb Bug 1140573 part 2. Drop the parent argument from JS_NewFunctionById. r=waldo 2015-03-09 12:50:05 -04:00
Boris Zbarsky
dcb007a0d8 Bug 1140573 part 1. Drop the parent argument from JS_NewFunction. r=waldo 2015-03-09 12:50:03 -04:00
Boris Zbarsky
5d69db0b28 Bug 1140582. Remove the parent argument from JS_NewObjectWithUniqueType. r=waldo 2015-03-09 12:49:50 -04:00
Carsten "Tomcat" Book
54a4c96d39 Backed out changeset 95fa879e6855 (bug 1132522) for JP test failures on a CLOSED TREE 2015-03-09 16:50:02 +01:00
Carsten "Tomcat" Book
caa09aaec2 Backed out changeset 0f393119201c (bug 1132522) 2015-03-09 16:49:36 +01:00
Carsten "Tomcat" Book
bca0a2c02e Backed out changeset df26246112ad (bug 828137) 2015-03-09 16:49:34 +01:00
Brian Hackett
fca1be3e56 Bug 1138984 - Allow 'new' template objects to have dynamic slots, r=jandem. 2015-03-09 09:25:23 -06:00
Brian Hackett
69e6b9f055 Bug 1140888 - Make sure Ion code depending on unboxed layouts is invalidated when unboxed objects are converted to natives, r=jandem. 2015-03-09 09:17:27 -06:00
Hannes Verschore
1a22e29af0 Bug 1139834 - TraceLogger: refactor to add fail function, r=bbouvier 2015-03-09 15:25:55 +01:00
Heiher
1df9e925e2 Bug 1140821 - IonMonkey: MIPS: Fix profiler enter frame calculating. r=nbp 2015-03-08 00:40:00 -05:00
Heiher
1a310f1824 Bug 1139299 - Fix align stack in Simulator-mips::call. r=rankov, r=nbp 2015-03-04 01:01:00 -05:00
Jan de Mooij
d97c9509d9 Bug 1090583 - Fix a pre-existing issue with MLoadElementHole and negative index checks. r=bhackett 2015-03-10 13:14:42 +01:00
Jan de Mooij
472d2ebba1 Bug 1139368 - Set FilterTypeSet dependency in improveThisTypesForCall. r=h4writer 2015-03-10 13:14:38 +01:00
Carsten "Tomcat" Book
bd447688dc Backed out changeset 6c7ebb2f5a92 (bug 1134006) for bustage 2015-03-10 12:37:24 +01:00
Blake Kaplan
318dc8ec77 Bug 1134006 - Avoid IPC for domElement.QueryInterface(nsISupports) and nsIClassInfo. r=billm 2015-03-09 15:01:00 +01:00
Steve Singer
7936390cff Bug 1140801 - Don't invoke functions on non-ion platforms. r=nbp 2015-03-07 21:13:00 +01:00
Sean Stangl
2a1c08cab7 Bug 1139181 - Add missing MIRTypes to StringFromMIRType(). r=efaust 2015-03-03 14:39:00 +01:00
Jason Orendorff
659c8de550 Bug 828137, part 1 - Make Object.defineProperty fail on window elements. r=bz.
--HG--
extra : rebase_source : ececca61c52296fb41e26e277a6bfa0d5eca63bb
extra : amend_source : 4229cb2652c2eb5b4347ebe043eccf1c0515e62a
2015-02-11 11:38:36 -06:00
Jason Orendorff
a735d8f183 Bug 1132522, part 2 - Treat false return from proxyHandler.set() as strict mode failure. r=efaust.
--HG--
extra : rebase_source : 438b6070a1770bc17cc455a457df2b033bbc972d
2015-02-13 09:49:31 -06:00
Jason Orendorff
555004b2bf Bug 1132522, part 1 - Treat false return from proxyHandler.defineProperty() as strict mode failure. r=efaust.
--HG--
extra : rebase_source : f2b3e7e643158fd46508856b27869722aa178d1a
2015-02-12 11:29:32 -06:00
Benjamin Bouvier
a942b867cf Bug 1141032: Fix a string comparison when checking for env overriding JIT defaults; r=h4writer
--HG--
extra : rebase_source : dccdbd6b8e4511ec21fde84f7adddc12dc3e404c
2015-03-06 19:35:46 +01:00
Benjamin Bouvier
c1545d8d9e Bug 1141032: fix = instead of == in an assert in NativeRegexpMacroAssembler.cpp; r=h4writer
--HG--
extra : rebase_source : 4c0063522a1175f96cfd0d229e97342522830511
2015-03-06 14:17:58 +01:00
Yoshi Huang
38c3210ae5 Bug 1138886 - Structured Clone for MozNDEFRecord. r=smaug
From 9b1bdef0b25b41d0448662ec689a961ae4e8fcd2 Mon Sep 17 00:00:00 2001
---
 dom/base/StructuredCloneTags.h     |   2 +
 dom/base/nsJSEnvironment.cpp       |  29 +++++++++
 dom/nfc/MozNDEFRecord.cpp          | 122 ++++++++++++++++++++++++++++++++++---
 dom/nfc/MozNDEFRecord.h            |  20 ++++--
 js/xpconnect/src/ExportHelpers.cpp |  36 ++++++++++-
 5 files changed, 193 insertions(+), 16 deletions(-)
2015-01-30 15:36:42 +08:00
Brian Hackett
828690c286 Bug 1138199. r=billm 2015-03-08 22:10:01 -04:00
Phil Ringnalda
8f5c1764fb Merge m-c to m-i 2015-03-07 19:39:49 -08:00
Phil Ringnalda
d5d934be28 Merge f-t to m-c, a=merge 2015-03-07 19:38:53 -08:00
Paolo Amadini
f638425f9d Bug 1140435 - Part 2 - Allow JS code to provide an async stack when calling a function. r=bz 2015-03-07 13:30:34 +00:00
Brian Hackett
fd4b480871 Bug 1138912 - Watch for MNewObject instructions without a template object when recovering, r=jandem. 2015-03-07 17:11:02 -06:00
Brian Hackett
ed7eebd0f5 Bug 1139474 - Watch for unboxed object properties when attaching Ion SETPROP ICs, r=jandem. 2015-03-07 17:05:21 -06:00
Ryan VanderMeulen
8aaa845a81 Merge inbound to m-c. a=merge
CLOSED TREE
2015-03-06 16:18:04 -05:00
Paolo Amadini
54445b17d2 Bug 1083359 - Part 2 - Allow C++ code to provide an async stack when calling a JS function. r=jimb 2015-03-06 15:50:28 +00:00
Jason Orendorff
e2f96cba3f Fix JSErr_Limit, broken by rev 41df9affe00f. No bug, r=red.
--HG--
extra : rebase_source : 5e52c66efe5475479f10f8aded036de6850eb365
2015-03-06 20:24:39 -06:00
Boris Zbarsky
27d9cf2be6 Bug 1131805 part 2. Remove remaining js::GetObjectParent and JS_GetParent uses in SpiderMonkey. r=waldo 2015-03-06 16:33:31 -05:00
Boris Zbarsky
f0ef2a86aa Bug 1131802 part 2. Allocate functions with reserved slots for DOM Xrays so we can store the Xray wrapper reference in those slots instead of as the function parent. r=peterv 2015-03-06 16:33:31 -05:00
Boris Zbarsky
a14a442f94 Bug 1131802 part 1. Add JS friend API to test whether a given function object has extended slots. r=terrence 2015-03-06 16:33:30 -05:00
Benjamin Bouvier
d61b6923ca Bug 1140336: Remove init() method in VMFunction (and dubious assert); r=h4writer
--HG--
extra : rebase_source : 34b09439f2229d01bd9dba1220d10b3a0da9b17f
extra : amend_source : e8aaa92d04f6579b006d11e53d3ebdfb54bf4253
2015-03-06 11:19:45 +01:00
Jon Coppeard
5b60f0ea54 Bug 1139832 - Restrict compacting GC zealousness to zeal collections r=terrence 2015-03-06 10:19:07 +00:00
Jon Coppeard
186408ba66 Bug 1138874 - Generalise assertion that source object has a preserved wrapper r=bholley 2015-03-06 10:19:07 +00:00
Boris Zbarsky
19d83a360f Bug 1139964 part 1. Factor out the guts of BackstagePass::Resolve and BackstagePass::Enumerate to allow reuse for other globals that want to opt in to Exposed=System WebIDL annotations. r=smaug 2015-03-06 01:08:06 -05:00
Paolo Amadini
14addff448 Bug 1083359 - Part 1 - Add the asyncCause and asyncParent properties to the native SavedFrame object. r=jimb 2015-02-21 11:56:00 +00:00
Brian Hackett
6181573297 Bug 1138740 - Notify Ion when changing a typed array's data pointer due to making a lazy buffer for it, r=sfink. 2015-03-07 09:46:27 -06:00
Jason Orendorff
f9c659ca6c Bug 1113369, part 7 - [[SetPrototypeOf]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect.
--HG--
extra : rebase_source : e712f5faf1463a447e52153c556605bb9552e990
2015-02-05 16:36:50 -06:00
Jason Orendorff
29bfe274bb Bug 1113369, part 6 - [[PreventExtensions]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect.
--HG--
extra : rebase_source : 08631a46c776f6d9e60794ad61308240dde3d94d
2015-02-04 12:01:01 -06:00
Jason Orendorff
cc85989b86 Bug 1113369, part 5 - [[Delete]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect.
--HG--
extra : rebase_source : 64b0e44bbb7673d139fab920243566db4844b517
2015-02-04 10:20:04 -06:00
Jason Orendorff
9a17368e8e Bug 1113369, part 4 - [[Set]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect.
--HG--
extra : rebase_source : ee44b9a7c933addd7f26643443900843b984587b
2015-02-03 19:51:40 -06:00
Jason Orendorff
de9e3b99dc Bug 1113369, part 3 - [[DefineOwnProperty]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect.
Add an ObjectOpResult out-param for DefineProperty functions everywhere. We leave a few js::DefineProperty() convenience functions with no *result out-param. These have strict behavior: that is, they automatically check the result and throw if it is false. In bug 1125624 these strict signatures may end up being called DefinePropertyOrThrow, as that is what the spec calls it.

--HG--
extra : rebase_source : 36439a8fa433c453f63b02c93fceaf0d8b9e9626
2015-01-30 11:37:07 -06:00
Jason Orendorff
ce09b0bfc5 Bug 1113369, part 2 - js::SetArrayLength ObjectOpResult support. r=Waldo.
--HG--
extra : rebase_source : fa947b315a7ede20a16893e3e44dd4118665c777
2015-01-29 23:02:26 -06:00
Jason Orendorff
844535d277 Bug 1113369, part 1½ - Avoid regressing error messages by adding obj to the ObjectOpResult methods that could throw a TypeError. r=Waldo.
--HG--
extra : rebase_source : 5494b04d773badadc2c33fd90ae67cad90aa88d3
2015-02-18 18:49:17 -06:00
Jason Orendorff
63891dbbf5 Bug 1113369, part 1 - Introduce JS::ObjectOpResult and use it in js::StandardDefineProperty. r=Waldo.
In general, jsobj.h will offer, for each standard internal method that returns a boolean value indicating success/failure, signatures with a JS::ObjectOpResult& out-parameter and signatures without it. The ones without will throw a TypeError on failure (that is, the behavior will be "strict").

--HG--
extra : rebase_source : fbf30988ed48412a10168e359848940123035e0f
2015-02-02 17:06:47 -06:00
Jason Orendorff
18470d8d6a Bug 1138059 - Tweak XPCOMUtils.defineLazyGetter behavior to avoid weird behavior in weird cases. r=mak.
--HG--
extra : rebase_source : 40887fe2375350b3b183aff2a24e17053b02d349
2015-02-28 09:17:43 -06:00
Jason Orendorff
85abad51f2 Bug 1130576 - Rename JSPropertyOp -> JSGetterOp and JSStrictPropertyOp -> JSSetterOp. r=efaust.
--HG--
extra : rebase_source : 44edb174028da6dbd637975e6358112060de535b
extra : amend_source : dd79490550af1370dac037057bdc2c06cb4c71f5
2015-01-30 13:56:15 -06:00
Shu-yu Guo
1c4fd5e1a7 Bug 1140180 - Stop leaking TypeLists when tracking optimizations. (r=djvj) 2015-03-06 17:58:26 -08:00
Jeff Walden
be22d693ec Bug 1140196. r=jorendorff 2015-03-05 18:03:56 -08:00
L. David Baron
8de963d8ad Back out bug 1131802 (changesets 80e90f586329 and 35c268f162db) and patch 2 from bug 1131805 (changeset 4139522bf814) on a CLOSED TREE for assertion failures.
Assertion failure: (ptrBits & 1) == 0, at ../../dist/include/js/Value.h
:871
called from XrayCreateFunction
2015-03-06 15:14:52 -08:00
Jim Blandy
18e3ff59b1 Bug 1140182: JS GDB pretty-printers: Implement pretty-printer for js::AbstractFramePtr. r=sfink
--HG--
extra : rebase_source : a039fe37a7379dd738c8ddfc1bf15ecea3235edf
2015-03-04 17:34:49 -08:00
Boris Zbarsky
3cc15e64a8 Bug 1131805 part 2. Remove remaining js::GetObjectParent and JS_GetParent uses in SpiderMonkey. r=waldo 2015-03-06 16:33:31 -05:00
Boris Zbarsky
05aaddd360 Bug 1131805 part 1. Remove remaining JS_GetParent and js::GetObjectParent uses in Gecko. r=bholley 2015-03-06 16:33:31 -05:00
Boris Zbarsky
6523d4990f Bug 1131802 part 2. Allocate functions with reserved slots for DOM Xrays so we can store the Xray wrapper reference in those slots instead of as the function parent. r=peterv 2015-03-06 16:33:31 -05:00
Boris Zbarsky
7fbe78ed00 Bug 1131802 part 1. Add JS friend API to test whether a given function object has extended slots. r=terrence 2015-03-06 16:33:30 -05:00
Boris Zbarsky
8911f2e109 Bug 1140399. Add friend API to check whether a given function object has a JSNative and to get that JSNative as needed. r=jandem 2015-03-06 16:33:30 -05:00
Jeff Walden
7048331318 Bug 1139769 - Self-host %TypedArray%.prototype.subarray. r=till
--HG--
extra : rebase_source : 183d35ba530088a578d8afc1a482fd0dba1c0e3d
2015-03-03 11:29:49 -08:00
Jeff Walden
b6c434b930 Bug 1139769 - Add TypedArrayBuffer, TypedArrayByteOffset, and TypedArrayElementShift intrinsics to safely get the relevant information for a typed array. r=till
--HG--
extra : rebase_source : 29f7aa4ce10c1f3752db797080eb41e7919f6e92
2015-03-03 11:29:45 -08:00
Jeff Walden
1f072a19fd Bug 1139759 - Self-host %TypedArray%.prototype.copyWithin. r=till
--HG--
extra : rebase_source : da5b73835180f7a5b743cfe26889b23ebd9471d2
2015-03-03 11:29:02 -08:00
Jeff Walden
01267dea87 Bug 1127012. r=jorendorff
--HG--
extra : rebase_source : e956c7cc017d453b003c26fc2c85595133f90c26
2015-03-02 17:06:46 -08:00
Jim Blandy
c36a83e07f Bug 1139570: JS GDB pretty-printer: Add a pretty-printer for js::InterpreterRegs. DONTBUILD r=ttromey
--HG--
extra : rebase_source : 3d367952ed039cb2d1af6c062a628002f6aaff47
2015-03-04 11:40:47 -08:00
Jim Blandy
3358ad3f7d Bug 1140179: Adapt to new JSObject structure, which indirects through the ObjectGroup. DONTBUILD r=sfink
--HG--
extra : rebase_source : 816b330641a1346413d46c5d136556289b85e27f
2015-03-05 15:00:13 -08:00
Jim Blandy
b336a5c71b Bug 1139535: In js/src/gdb: Remove workaround for 2012 GDB bug. DONTBUILD r=sfink
--HG--
extra : rebase_source : b250e79ff42b144041422e6e8d9fcb7b59dc27c6
2015-03-04 10:33:44 -08:00
Steve Fink
01a264a7a9 Bug 1136309 - Rename the spidermonkey build variants, r=terrence
--HG--
rename : js/src/devtools/automation/arm-sim => js/src/devtools/automation/variants/arm-sim
rename : js/src/devtools/automation/dtrace => js/src/devtools/automation/variants/dtrace
rename : js/src/devtools/automation/exactrooting => js/src/devtools/automation/variants/exactrooting
rename : js/src/devtools/automation/generational => js/src/devtools/automation/variants/generational
rename : js/src/devtools/automation/nomethodjit => js/src/devtools/automation/variants/nomethodjit
rename : js/src/devtools/automation/rootanalysis => js/src/devtools/automation/variants/rootanalysis
rename : js/src/devtools/automation/warnaserr => js/src/devtools/automation/variants/warnaserr
rename : js/src/devtools/automation/warnaserrdebug => js/src/devtools/automation/variants/warnaserrdebug
extra : rebase_source : 63e8abb59681e0ca0144cd582178fae67c695e4e
2015-02-24 11:27:45 -08:00
Guillaume Maudoux
b5c8e06412 Bug 1136189 - SIMD: inline SIMD constructors with missing arguments. r=bbouvier 2015-03-05 16:38:40 -08:00
Shu-yu Guo
c9764f7296 Bug 1140077 - Don't invoke read barriers inside IsTypeMarkedFromAnyThread. (r=terrence) 2015-03-05 16:23:17 -08:00
Terrence Cole
eb79dbced5 Backout a0844d972d08 (Bug 1133140) for OOM bustage on TBPL test machines on a CLOSED TREE.
--HG--
extra : rebase_source : d28d5b25d9100889a7e909d292b00740f2e30b0c
2015-03-05 11:31:57 -08:00
Terrence Cole
e692ef66b3 Bug 1139983 - Fail the alloc if the nursery is full in NoGC; r=bhackett
--HG--
extra : rebase_source : 7629e6bc37f6e95a4cfd26350283de6a698a2973
2015-03-05 08:57:34 -08:00
Terrence Cole
a3f749e381 Bug 1133140 - Move runtime heap size limit checks up to GCIfNeeded; r=sfink
--HG--
extra : rebase_source : 5ddbf4859bce2c2dcbd547d046f420d0ab2537de
2015-03-05 08:57:32 -08:00
Terrence Cole
c11c675dc7 Bug 1134425 - Part 2: templatize the GC's allocation routines; r=jonco
--HG--
extra : rebase_source : 2b57ac72b48a44199375471b0047e4c40d7fb46d
2015-03-04 11:30:24 -08:00
Jan de Mooij
6a87cf6fe0 Bug 1059364 - Don't emit ObjectGroupDispatch fallback path if we know it's never used. r=bhackett 2015-03-05 15:47:13 +01:00
Jan de Mooij
fc6c5d2e40 Bug 1129977 - Fix bogus MarkOffThreadNurseryObjects assert when post-barrier verifier is used. r=terrence 2015-03-05 15:47:11 +01:00
Jon Coppeard
0edff16cda Bug 1138874 - Change ReparentWrapper() to avoid multiple JS objects pointing to the same native r=bholley 2015-03-05 13:39:53 +00:00
Hannes Verschore
01775237e6 Bug 1138265: update testcase to be more correct, r=bbouvier ON CLOSED TREE 2015-03-05 13:30:07 +01:00
Nick Fitzgerald
57951abfec Bug 1139217 - Make js::HashSet<T> work with move-only T types; r=luke 2015-03-03 17:54:00 +01:00
Hannes Verschore
3311e1f58d Bug 1138265 - TraceLogger: Throw more errors, r=bbouvier ON CLOSED TREE 2015-03-05 11:53:10 +01:00
Hannes Verschore
fb5c0f5ed9 Bug 994016 - IonMonkey: Improve type information at branches with TypeOf (boolean, you are worthy too), r=jandem 2015-03-05 11:03:51 +01:00
Hannes Verschore
87f28bcfcf Bug 1138265 - TraceLogger: Throw error when trying to enable in AsmJS, r=bbouvier 2015-03-05 10:46:13 +01:00
Shu-yu Guo
7c2196a471 Bug 1137780 - Fix marking JitcodeGlobalTable. (r=terrence) 2015-03-04 23:17:23 -08:00
Shu-yu Guo
a0b7c7e821 Bug 1137780 - Add a skiplist enumerator for JitcodeGlobalTable for removing while traversing. (r=djvj) 2015-03-04 23:17:23 -08:00
Wes Kocher
9da01a4e7f Backed out changeset f88b64c38d3d (bug 1120655) for adding hazards to a CLOSED TREE 2015-03-04 17:01:09 -08:00
Kannan Vijayan
23ba095c80 Bug 1139506 - Check for null JSRuntime in tableticker stack trace merge. r=shu 2015-03-04 18:18:08 -05:00
Steve Fink
7a5694c553 Bug 1120655 - Label various compartment iters as GCPointers, r=terrence
--HG--
extra : rebase_source : 33addf15ffb10c652245caac4dbbd6d4979dcaef
2015-01-12 14:09:21 -08:00
Terrence Cole
bb7d88df07 Bug 1134425 - Part 1: move the allocator interface code out of line; r=jonco
--HG--
extra : rebase_source : cbeb8097a3c55397cc0c0f476deb0011ad496f62
2015-03-04 09:32:02 -08:00
Andrew McCreight
e54e14a49d Bug 1139216 - Add BUG_COMPONENT information for js/xpconnect/. r=bholley 2015-03-04 14:07:59 -08:00
Ryan VanderMeulen
2a3ee8f105 Backed out changeset a190978e94f1 (bug 1136806) for WinXP debug jittest timeouts.
CLOSED TREE
2015-03-04 14:02:01 -05:00
Hannes Verschore
3c45032e65 Bug 1139152: IonMonkey: Don't improve types at MTypeOf for unknown types, r=jandem 2015-03-04 16:17:27 +01:00
Jon Coppeard
5a06a69d6c Bug 1136597 - Mark all relevant cross compartment debugger edges when sweeping r=terrence 2015-03-04 14:45:19 +00:00
Nick Fitzgerald
1c02f24994 Bug 1136806 - Fix assertion failure with Debugger and oomAfterAllocations. r=shu
--HG--
extra : rebase_source : cb9a21db0e4fdb2024840dbe15958eb7632db488
2015-03-03 08:36:00 -05:00
Brian Hackett
ace85caac2 Bug 1137497 - Remove shape from unboxed objects, r=jandem. 2015-03-04 08:32:45 -06:00
Benjamin Bouvier
3ee2444840 Bug 1132920: Use movddup for SIMD swizzle pattern (0, 1, 0, 1) on SSE3 enabled machines; r=sunfish
--HG--
extra : rebase_source : ac9196feec31d129c91525eaac2908d7567d3f4b
2015-03-04 12:01:31 +01:00
Benjamin Bouvier
5fd025c925 Bug 1135042: Share more code between StoreTypedArray* classes; r=bhackett
--HG--
extra : rebase_source : de1f4b7b0cdb4132b6cb562f581a7a48f189f74d
2015-03-03 13:56:49 +01:00
Benjamin Bouvier
01c9ad0916 Bug 1135042: Inline SIMD stores in Ion; r=bhackett
--HG--
extra : rebase_source : a4cbb3b6e8dc91f3a7753d77b0851a969353a447
2015-02-27 18:30:22 +01:00
Benjamin Bouvier
21710977d3 Bug 1135042: Inline SIMD loads in Ion; r=bhackett
--HG--
extra : rebase_source : 4fff961d06ad855708c00069cf9e83774424ae25
2015-03-02 12:11:19 +01:00
Jon Coppeard
979e646fd3 Bug 1137478 - Add a read barrier for Debugger::debuggees r=terrence 2015-03-04 10:25:07 +00:00
Jon Coppeard
63c7f31b12 Bug 1122640 - Free nursery huge slots off main thread r=terrence 2015-02-04 16:12:06 +00:00
Jon Coppeard
4a71549f56 Bug 1137341 - Don't allow GC to observe cross compartment prototype pointers for object groups r=terrence a=abillings 2015-03-04 10:25:07 +00:00
Ehsan Akhgari
c5cbd265c3 Bug 1050456 - Part 2: Add a nsGlobalWindow::GetIsPrerendered helper 2015-03-04 01:31:08 -05:00
Ehsan Akhgari
0857b0109c Bug 1050456 - Part 1: Prevent prerendered pages from showing the slow script dialog; r=bzbarsky 2015-03-04 01:30:47 -05:00
Boris Zbarsky
b3a7aa44f6 Bug 1137591 part 2. Throw if someone does Cu.importGlobalProperties in a Window scope. r=bholley 2015-03-03 21:01:58 -05:00
Boris Zbarsky
84cb117bc7 Bug 1137591 part 1. Get rid of SandboxCreateXMLHttpRequest and just use the normal XHR constructor in sandboxes if someone asks for XHR there. r=bholley 2015-03-03 21:01:58 -05:00
Terrence Cole
3b9728eea7 Bug 1131715 - Fix an innocuous data race in the HeapSlot pre barrier; r=jonco
--HG--
extra : rebase_source : 1f73da6dadd8540747c32f1609434c657b94147d
2015-02-25 09:22:18 -08:00
Nicolas B. Pierron
afec71338e Bug 1137688 - Add eager simd unboxing phase. r=sunfish,bbouvier 2015-03-03 14:25:22 +01:00
Brian Hackett
0c2781431e Bug 1135816 - Handle unboxed object receivers when compiling getter/setter calls in baseline/Ion, r=jandem. 2015-03-03 06:32:27 -06:00
Brian Hackett
e673083ef6 Bug 1137978 - Access an object's compartment and zone via its group, remove ObjectGroup::singleton_, r=jandem,terrence. 2015-03-03 06:23:47 -06:00
Brian Hackett
9db4d94c30 Bug 1138676 - Watch for groups with lazy protos in PropertyReadNeedsTypeBarrier, r=jandem. 2015-03-03 06:19:37 -06:00
Boris Zbarsky
eb1fcd69ef Bug 1137910 part 2. Give chrome callers that are indirectly (e.g. via nsIStackFrame) poking at content-captured stacks the content view of the stack. r=fitzgen 2015-03-03 07:12:01 -05:00
Boris Zbarsky
1e9cb8803b Bug 1137910 part 1. Don't lose track of the original 'this' object in THIS_SAVEDFRAME, so we can actually do things based on the principal of the object we're working with. r=fitzgen 2015-03-03 07:12:01 -05:00
Boris Zbarsky
a5316a236e Bug 1137578. Remove JS_GetParent usage from mozJSSubscriptLoader. r=bholley 2015-03-03 07:12:01 -05:00
Boris Zbarsky
d9cb8e8309 Bug 1131797 part 3. Store the object we originally come from in a reserved slot on XPConnect functions instead of using the parent pointer. r=bholley 2015-03-03 07:12:01 -05:00
Boris Zbarsky
b90fad0b12 Bug 1131797 part 2. Stop storing the XPCNativeInterface* in XPConnect function objects and just get it from the XPCNativeMember* we're still storing. r=bholley 2015-03-03 07:12:01 -05:00
Boris Zbarsky
ff2c755d8f Bug 1131797 part 1. Store an index into its XPCNativeInterface mMembers array in each XPCNativeMember. r=bholley 2015-03-03 07:12:00 -05:00
Carsten "Tomcat" Book
cd9248b860 Backed out changeset 756a0e4a9f48 (bug 1135042) for static analysis build bustage
--HG--
extra : rebase_source : 10504dd1afbadd2b49052ce848c6f7b660df2390
2015-03-03 12:09:50 +01:00
Carsten "Tomcat" Book
d83891aa9a Backed out changeset d69585ea6ca9 (bug 1135042)
--HG--
extra : rebase_source : 4130fcdb7b36fa95c84fd50c1e8dd9a18ca4a5e1
2015-03-03 12:08:24 +01:00
Carsten "Tomcat" Book
55aab8def8 Backed out changeset b7b0305f5747 (bug 1135042)
--HG--
extra : rebase_source : fc1d424886af8ba808e88698c1b2017c2b366f23
2015-03-03 12:08:17 +01:00
Tom Schuster
2fa05ed61a Bug 1138180 - Make --disable-ion compilable again. r=nbp 2015-03-03 11:49:31 +01:00
Landry Breuil
fe82b0fcd6 Bug 1138205 - use a reinterpret_cast instead of a static_cast after bug 986981, fixes build on OpenBSD/amd64. r=sunfish
--HG--
extra : rebase_source : 2345a706ddd5a5169a870ec45505329daa561f5a
2015-03-01 23:58:00 +01:00
Jon Coppeard
a1179d85f5 Bug 1138538 - Display GC zeal help text in shell help message r=terrence 2015-03-03 10:28:27 +00:00
Jon Coppeard
2931e312c6 Bug 1138390 - Wait for GC to finish if necessary in runOffThreadScript() r=terrence 2015-03-03 10:28:06 +00:00
Benjamin Bouvier
82ef64ea82 Bug 1135042: Share more code between StoreTypedArray* classes; r=bhackett
--HG--
extra : rebase_source : f29cc4ca0f22e4f3ad57823bd3d165d6d5436a55
2015-03-03 11:07:49 +01:00
Benjamin Bouvier
48b1718799 Bug 1135042: Inline SIMD stores in Ion; r=bhackett
--HG--
extra : rebase_source : 7d1207d8ac5c6f5ade2424560866225ad75c6c3b
2015-02-27 18:30:22 +01:00
Benjamin Bouvier
b8de7831f3 Bug 1135042: Inline SIMD loads in Ion; r=bhackett
--HG--
extra : rebase_source : 9a41cda1780b07ba5ed4cb68010da30c8c91c6c8
2015-03-02 12:11:19 +01:00
Benjamin Bouvier
c1a4bb0b11 Bug 1135039: Implement general SIMD swizzle and use it; r=sunfish
--HG--
extra : rebase_source : 03ee012c8e149c80857c454416a8cc9700fcde90
2015-02-27 09:35:03 +01:00
Lars T Hansen
5ef7f7af49 Bug 1137291 - avoid clobbering an input register. r=h4writer 2015-03-03 10:47:00 +01:00
Carsten "Tomcat" Book
3247f3916d Backed out changeset 074919869975 (bug 1136806) for spidermonkey_info-warnaserr build test failures
--HG--
extra : rebase_source : 20b69f349805a40930b25e360591faa00f60a44f
2015-03-03 10:13:43 +01:00
Jan de Mooij
557a87c9f1 Bug 1136837 part 2 - Improve |this| types when inlining after a CALLPROP/CALLELEM. r=h4writer 2015-03-03 09:37:46 +01:00
Jan de Mooij
61b1b5c6bb Bug 1137523 part 2 - Unprefix a few js_* functions I forgot in part 1. r=bhackett 2015-03-03 09:33:22 +01:00
Nick Fitzgerald
a235485fdb Bug 1136806 - Fix assertion failure with Debugger and oomAfterAllocations. r=shu 2015-02-27 14:34:00 +01:00
ProgramFOX
e8cec7ff2d Bug 1136221 - SIMD (interpreter): relax type requirement for Int32x4Bool. r=bbouvier 2015-02-27 17:31:05 +01:00
Steve Fink
ae44364491 Bug 1137336 - Explicitly disallow WeakMapTracer.callback from GCing, r=terrence
--HG--
extra : rebase_source : 49c1862cdb21a3089f91a3234276ae394e3928e1
2015-03-02 10:25:16 -08:00
Steve Fink
fe060f5fe7 Bug 1137326 - Fix out of bounds error in JS_iterateCompartments, r=terrence
--HG--
extra : rebase_source : 3fbf82054fbe72d15ee1300810820ac5f3bee8b1
2015-01-12 14:19:27 -08:00
Kannan Vijayan
834ee9ffd2 Bug 1130367 - Ensure profiler stack sampling is disabled when spsProfiler is disabled. r=shu 2015-03-02 17:46:13 -05:00
Terrence Cole
9ab946434d Bug 1135985 - Use typed members to implement pushMarkStack; r=sfink 2015-02-25 13:09:05 -08:00
Nicolas B. Pierron
605350eb82 Bug 1010556 - Bump ASAN kTrustedScriptBuffer constant, to account for the new frame size. r=bholley
--HG--
extra : amend_source : 5f927a03e42f4739dc17b19d6c39020c5331a5f9
2015-03-02 14:33:14 -08:00
Tooru Fujisawa
6d4278e0f8 Bug 1136490 - Fix unreliable test code to not fail with OOM r=terrence 2015-03-02 13:32:08 +00:00
Jon Coppeard
a451fdfd83 Bug 963921 - Clients of the JS API should use JS_DefineElement where appropriate r=smaug 2015-03-02 13:31:15 +00:00
Jon Coppeard
8c8822c93b Bug 899979 - Remove unneeded test code r=waldo 2015-03-02 13:30:34 +00:00
Jon Coppeard
bbd57fc536 Bug 1133377 - Make DataView constructor correctly handle undefined byteLength argument r=sfink 2015-03-02 13:30:34 +00:00
Jon Coppeard
ed4ebb4b4d Bug 1128670 - Ignore intermittent timeout in compacting GC tests r=terrence 2015-03-02 13:30:34 +00:00
Benjamin Bouvier
a3007359df Bug 1135038: Inline SIMD.check as guard unbox; r=nbp
--HG--
extra : rebase_source : 166e5df79a0bba98d1f928da1ebd82f6b1e751e1
2015-02-27 09:33:34 +01:00
Benjamin Bouvier
d4fd88d65b Bug 1134638: 16. Use more macros; r=nbp
--HG--
extra : rebase_source : da4f2ea01a5a3cec8d22f82b4a6c905ba09ff0f8
2015-02-26 16:47:04 +01:00
Benjamin Bouvier
1b04f3a08d Bug 1134638: 15. Inline select/bitselect in Ion; r=nbp
--HG--
extra : rebase_source : 678b97a3a417cbfcb24c04f6284c4cbd044fcf9e
2015-02-24 18:50:01 +01:00
Benjamin Bouvier
1c09b86cc2 Bug 1134638: 14. Inline SIMD getters (signMask, .x, .y, .z, .w) in Ion; r=nbp
--HG--
extra : rebase_source : ef4b04965069c83dc0c129cc86013fb484e7a1bd
2015-02-26 12:08:16 +01:00
Benjamin Bouvier
d9f3eae184 Bug 1134638: 13. Inline splat in Ion; r=nbp
--HG--
extra : rebase_source : 0cbcde4f2438b3247db3ff192b734ceccf18f437
2015-02-26 12:34:34 +01:00
Benjamin Bouvier
77fe120513 Bug 1134638: 12. Inline with{X,Y,Z,W} in Ion; r=nbp
--HG--
extra : rebase_source : a263bbb64d4ba84079ff648a1c0d8bd63c96d62d
2015-02-25 14:44:37 +01:00
Benjamin Bouvier
3e2e07d1f5 Bug 1134638: 11. Add type checks in move emitter and LIR generation; r=nbp
--HG--
extra : rebase_source : 15d503589491815fcebe99efc912ba3dafc8fddc
2015-02-23 16:31:26 +01:00
Benjamin Bouvier
2469cafc12 Bug 1134638: 10. Inline SIMD comparisons in Ion; r=nbp
--HG--
extra : rebase_source : a3aca1b36c2991969236ea9cede151a1f159fc2d
2015-02-23 16:31:39 +01:00
Benjamin Bouvier
740fff1c0f Bug 1134638: 9. Drive-by cleanup: FloatingTypePolicy can just have SPECIALIZATION_DATA; r=nbp
--HG--
extra : rebase_source : 9d181f69a8bc8a1122232b57a2292053a6b1bb30
2015-02-20 18:42:11 +01:00
Benjamin Bouvier
53caeb1a31 Bug 1134638: 8. Inline SIMD conversions in Ion; r=nbp
--HG--
extra : rebase_source : 097ab6487f403260ad689ff6dda72635f9f842c3
2015-02-23 19:10:07 +01:00
Benjamin Bouvier
e18bfb3bda Bug 1134638: 7. Add spew for MSimd{Binary{Bitwise,Arith},Unary}; r=sunfish
--HG--
extra : rebase_source : dd1f455db8261fd50548eb4a97c913d7aa2c2689
2015-02-20 16:34:53 +01:00
Benjamin Bouvier
129a1167f4 Bug 1134638: 6. Inline SIMD unary arithmetic operations; r=nbp
--HG--
extra : rebase_source : c948e16a2b6ada9d0e487ef3a6b251d4f54ab37c
2015-02-20 18:28:31 +01:00
Benjamin Bouvier
626215450b Bug 1134638: 5. Add OperationName to MSimdUnaryArith; r=sunfish
--HG--
extra : rebase_source : 0cad2c541e6e4a7401ccd24df3c8da1ffffc3453
2015-02-20 16:16:16 +01:00
Julian Seward
6e37e4a390 Bug 1132953 - Zero AsmJSModule::CodeRange and AsmJSModule::ExportedFunction::pod on construction, to avoid Valgrind warnings. r=luke.
--HG--
extra : rebase_source : 5dc08d0bd705aca6fbdae6a0a3d208321dcadb9f
2015-02-27 10:24:07 +01:00
Brian Hackett
11d50f2069 Bug 1135423 - Use unboxed objects for object literals where possible, clean up object literal creation and property initialization code, r=jandem. 2015-03-01 16:31:41 -06:00
Tooru Fujisawa
e921b985a7 Bug 1108382 - Part 9: Do not use non-standard flag argument of String.prototype.replace in js/src/. r=jandem 2015-03-01 09:51:33 +09:00
Dan Gohman
39ad64aa23 Bug 867001 - IonMonkey: Infrastructure for aligning JIT'd loops. r=bbouvier 2015-02-27 17:16:12 -08:00
Hannes Verschore
7cc3a872d8 Bug 1135047 - IonMonkey: Use output range when taking range from operands, r=nbp,sunfish 2015-02-28 02:03:48 +01:00
Hannes Verschore
f142d033c0 Bug 1135047 - IonMonkey: Fix range before bailouts of MToInt32, r=nbp,sunfish 2015-02-28 02:03:47 +01:00
Hannes Verschore
a9ee2722a6 Bug 1130679: IonMonkey: Make it possible to guard on type changes/bailouts, r=nbp 2015-02-28 01:51:00 +01:00
Hannes Verschore
52434906a9 Bug 994016: IonMonkey: More agressively improve types at branches, r=jandem 2015-02-28 01:30:47 +01:00
Hannes Verschore
baf85eccf7 Bug 994016: IonMonkey: Improve types at compares with MTypeOf, r=jandem 2015-02-28 01:30:44 +01:00
Hannes Verschore
f5e28900f7 Bug 994016: IonMonkey: Use high level TI API for improving types at branches, r=bhackett 2015-02-28 01:30:42 +01:00
Hannes Verschore
cfd8c3feb7 Bug 994016: TI: add removeSet, r=bhackett 2015-02-28 01:30:40 +01:00
Hannes Verschore
4909efe6ab Bug 994016: IonMonkey: Add MTypeOf folding to MCompare, r=jandem 2015-02-28 01:30:38 +01:00
ProgramFOX
c124dca9db Bug 1136799 - SIMD (interpreter): Fix order of operations of ReciprocalSqrt. r=bbouvier, a=me 2015-02-26 17:22:56 +01:00
Tom Tromey
93d9e60a0d Bug 1130166 - Use SizePrintfMacros.h when printing line numbers. r=Waldo 2015-02-27 08:19:00 -05:00
David Major
67c2070e73 Bug 1137050 - Don't SetThreadContext if the context didn't change. r=luke, a=me 2015-02-26 20:37:00 -05:00
Dan Gohman
cff66f0778 Bug 1137573 - OdinMonkey: Generalize alignment analysis to handle adds with multiple uses r=luke a=ryanvm 2015-02-27 11:02:59 -08:00
Dan Gohman
2d904d061d Bug 1137573 - OdinMonkey: Alignment Mask Analysis r=luke
--HG--
rename : js/src/jit/EffectiveAddressAnalysis.cpp => js/src/jit/AlignmentMaskAnalysis.cpp
rename : js/src/jit/EffectiveAddressAnalysis.h => js/src/jit/AlignmentMaskAnalysis.h
2015-02-26 22:17:51 -08:00
Boris Zbarsky
93d45c4f60 Bug 1136980 part 2. Remove JS_SetParent, even though we have a CLOSED TREE. r=waldo 2015-02-27 11:46:58 -05:00
Boris Zbarsky
b4fd367105 Bug 1136980 part 1. Get rid of JS_SetParent uses in DOM/XPConnect. r=bholley 2015-02-27 11:46:58 -05:00
Boris Zbarsky
99220f0b5e Bug 1137325. Remove the parent() function from xpcshell. r=mrbkap 2015-02-27 11:46:58 -05:00
Jan de Mooij
db18ff3df9 Bug 1137523 - Unprefix most js_* functions. r=bhackett CLOSED TREE 2015-02-27 16:08:15 +01:00
Boris Zbarsky
9a9a31209e Bug 1131803 - Comment fix followup. 2015-02-26 16:33:02 -05:00
Boris Zbarsky
db8c6eb30d Bug 1137334. Remove nsIDOMWindowUtils.getParent. r=bholley. We still have a CLOSED TREE, sadly. 2015-02-26 15:58:59 -05:00
Boris Zbarsky
111d75dbac Bug 1136925 part 4. Stop passing parents to ProxyObject::New. r=waldo 2015-02-26 15:58:59 -05:00
Boris Zbarsky
f027a773ea Bug 1136925 part 3. Stop passing parents to js::NewProxyObject. r=waldo 2015-02-26 15:58:59 -05:00
Boris Zbarsky
0981ef8007 Bug 1136925 part 2. Stop passing a parent to Wrapper::New. r=waldo,bholley 2015-02-26 15:58:59 -05:00
Boris Zbarsky
407a8559b0 Bug 1136925 part 1. Stop passing a parent to JS_CloneObject. r=waldo 2015-02-26 15:58:59 -05:00
Boris Zbarsky
84b402dc8a Bug 1131803. Remove the use of parents from SandboxCallableProxyHandler and SandboxProxyHandler. r=bholley 2015-02-26 15:58:59 -05:00
Wes Kocher
4917048615 Backed out changeset 4ef990c3d69d (bug 1131803) for potentially busting mochitest-e10s-dt on a CLOSED TREE 2015-02-26 23:20:33 -08:00
Wes Kocher
83a7bcab58 Backed out changeset b590778549ab (bug 1131803) 2015-02-26 23:19:57 -08:00
Wes Kocher
f657cd0135 Backed out 4 changesets (bug 1136925) for potentially busting m-e10s-dt on a CLOSED TREE
Backed out changeset 331761aaae22 (bug 1136925)
Backed out changeset 2faa0e91fe23 (bug 1136925)
Backed out changeset a00f2530c911 (bug 1136925)
Backed out changeset d5e658bc0792 (bug 1136925)
2015-02-26 23:17:34 -08:00
Wes Kocher
b6d7cdb29f Backed out changeset 01abd154ac05 (bug 1137334) for potentially busting m-e10s-dt on a CLOSED TREE 2015-02-26 23:17:00 -08:00
Wes Kocher
390b01dc2e Backed out changeset d7d9bbfa72c5 (bug 674779) for m-bc orange on a CLOSED TREE 2015-02-26 17:55:37 -08:00
Eric Faust
1f9ed77bc9 Bug 1066238 - Tests. (r=jorendorff) 2015-02-26 15:05:26 -08:00
Eric Faust
880e2eb983 Bug 1066238 - Part 2: Emitter support for static class methods. (r=jorendorff) 2015-02-26 15:05:24 -08:00
Eric Faust
e79580725f Bug 1066238 - Part 1: Parser support for static class methods. (r=jorendorff) 2015-02-26 15:05:23 -08:00
Shu-yu Guo
6fd7570cc7 Bug 1133196 - Ensure script observability when setting Debugger.Frame.onStep. (r=jandem) 2015-02-26 13:50:18 -08:00
Terrence Cole
b0a16305a8 Bug 1135141 - Do not do background sweeping for zealous GCs to avoid fragmentation; r=jonco
--HG--
extra : rebase_source : 4bdc6c9af1b6a34fb7394e2f8d0c884b114b3fee
2015-02-23 14:25:37 -08:00
Boris Zbarsky
d19843290b Bug 1131803 comment fix followup. DONTBUILD 2015-02-26 16:33:02 -05:00
David Rajchenbach-Teller
8d0fc0855c Bug 674779 - Add per-compartment CPU accounting. r=jandem, r=blassey, r=bz 2015-02-26 11:53:41 +01:00
Brian Hackett
71b7d6b4a5 Bug 1135547 - Fix checks for cases where type sets might be incomplete, r=jandem. 2015-02-26 15:14:59 -06:00
Boris Zbarsky
04443966d0 Bug 1137334. Remove nsIDOMWindowUtils.getParent. r=bholley 2015-02-26 15:58:59 -05:00
Boris Zbarsky
2e0aa3bc72 Bug 1136925 part 4. Stop passing parents to ProxyObject::New. r=waldo 2015-02-26 15:58:59 -05:00
Boris Zbarsky
8552abcc45 Bug 1136925 part 3. Stop passing parents to js::NewProxyObject. r=waldo 2015-02-26 15:58:59 -05:00
Boris Zbarsky
14d7853fb4 Bug 1136925 part 2. Stop passing a parent to Wrapper::New. r=waldo,bholley 2015-02-26 15:58:59 -05:00
Boris Zbarsky
78b6722596 Bug 1136925 part 1. Stop passing a parent to JS_CloneObject. r=waldo 2015-02-26 15:58:59 -05:00
Boris Zbarsky
e84e448ba9 Bug 1131803. Remove the use of parents from SandboxCallableProxyHandler and SandboxProxyHandler. r=bholley 2015-02-26 15:58:59 -05:00
Joel Maher
fa8aaf19d8 Bug 1131110 - Intermittent OSX 10.6 run-by-dir test_bug484459.xul. r=bholley 2015-02-26 15:32:21 -05:00
Ryan VanderMeulen
ee37885f70 Backed out changesets 4eab437d2b51 and f7104b435b47 (bug 1125101) for suspicion of being the cause of a spike in Linux debug mochitest-bc timeouts. 2015-02-26 14:32:46 -05:00
Boris Zbarsky
2fe370bd0d Bug 1133746. Allow DOMProxyShadows to communicate to the JIT whether the shadowing is done by the expando object or not. r=efaust,peterv 2015-02-26 12:30:02 -05:00
Nicolas B. Pierron
92a1e41149 Bug 1112165 - Rename RValueAllocation::Float32 to RValueAllocation::AnyFloat. r=bbouvier 2015-02-26 17:37:38 +01:00
Nicolas B. Pierron
d412a275e2 Bug 1112165 - Recover SimdBox. r=bbouvier 2015-02-26 17:37:36 +01:00
Nicolas B. Pierron
af9750271d Bug 1129313 - Scalar Replacement: Remove PostWriteBarrier at the same time as the stores. r=h4writer 2015-02-26 16:18:41 +01:00
Nicolas B. Pierron
00a22d943d Bug 1112158 - Optimize MSimdUnbox with GVN. r=bbouvier 2015-02-26 16:18:40 +01:00
Brian Hackett
c128e661de Bug 1131285 - Propagate checkTypeSet flag correctly, r=jandem. 2015-02-26 08:54:44 -06:00
Boris Zbarsky
1c91cd544f Bug 1136906 part 3. Remove the parent arg from JS_NewObject. r=waldo 2015-02-26 09:40:08 -05:00
Boris Zbarsky
3ebec14f2b Bug 1136906 part 2. Stop passing a parent to JS_NewObject in xpconnect code. r=bholley 2015-02-26 09:40:08 -05:00
Boris Zbarsky
0cd789c1cc Bug 1136906 part 1. Stop passing parents to JS_NewObject in ctypes code. r=waldo 2015-02-26 09:40:08 -05:00
Boris Zbarsky
c28f0bb5a5 Bug 1136523. Stop doing weird things with parents in ctypes code and remove the JS_DeprecatedNewObjectWithGivenProtoAndParent API. r=waldo 2015-02-26 09:40:08 -05:00
Boris Zbarsky
c727708c03 Bug 1136520. Stop parenting Xray expando objects to a non-global. r=bholley 2015-02-26 09:40:08 -05:00
Boris Zbarsky
24d253d2c0 Bug 1136516. Stop using JS_DeprecatedNewObjectWithGivenProtoAndParent in XPCWrappedNative. r=bholley 2015-02-26 09:40:08 -05:00
Boris Zbarsky
41ea9c03fa Bug 1136345. Drop the parent arg from JS_NewObjectWithGivenProto and introduce a JS_DeprecatedNewObjectWithGivenProtoAndParent for the few cases that still pass in a custom parent. r=waldo 2015-02-26 09:40:08 -05:00
Boris Zbarsky
b405c53159 Bug 1136292 part 5. Stop passing a global as the parent arg to JS_NewObjectWithGivenProto in XPConnect. r=peterv 2015-02-26 09:40:07 -05:00
Jan de Mooij
140634b455 Bug 1136837 part 1 - Don't inline calls with incomplete type information for this or arguments. r=h4writer 2015-02-26 15:33:45 +01:00
Nicolas B. Pierron
43e1b6f12a Bug 1119303 - Use an oolCallVM to allocate SIMD objects when the nursery is full. r=bbouvier 2015-02-26 14:42:25 +01:00
Jon Coppeard
1a4e35f3aa Bug 1125101 - Check budget in incremental compaction r=terrence 2015-02-26 12:35:59 +00:00
Jon Coppeard
9a34f01eb6 Bug 1125101 - Incrementalise compacting GC by zones r=terrence 2015-02-26 12:35:59 +00:00
Jon Coppeard
2b3e9874b8 Bug 1130439 - Trigger compacting GCs after the user becomes inactive r=smaug r=terrence 2015-02-24 09:40:02 +00:00
Brian Hackett
2c936db8ea Bug 1136267 - Handle inlining when folding &&/||/?: operations in Ion, r=sunfish. 2015-02-26 06:34:04 -06:00
Nicolas B. Pierron
72668db2d6 Bug 1112164 part 19 - LSRA should spill aliased registers around call-sites. r=bhackett 2015-02-26 12:18:31 +01:00
Nicolas B. Pierron
240e89e884 Bug 1112164 part 18 - PushRegsInMask: Do not spill SIMD register if there is no support. r=bbouvier 2015-02-26 12:18:30 +01:00
Nicolas B. Pierron
12c6101ee2 Bug 1112164 part 17 - StupidAllocator: Fix issues with SIMD spill and aliased registers. r=mjrosenb 2015-02-26 12:18:30 +01:00
Nicolas B. Pierron
b8f74c4cd2 Bug 1112164 part 16 - Clean-up: Remove FloatRegister::GetSizeInBytes. r=bbouvier 2015-02-26 12:18:29 +01:00
Nicolas B. Pierron
e047218221 Bug 1112164 part 15 - x86/x64: Add register type in the register allocator spew. r=bbouvier 2015-02-26 12:18:28 +01:00
Nicolas B. Pierron
af6d20964f Bug 1112164 part 14 - Add types to x86/x64 float registers. r=bbouvier,jandem 2015-02-26 12:18:28 +01:00
Nicolas B. Pierron
20f025ca75 Bug 1112164 part 13 - HandleRegisterDump operations should support all register type. r=jandem 2015-02-26 12:18:27 +01:00
Nicolas B. Pierron
d2ff3047b1 Bug 1112164 part 12 - Use RegisterDump size for bailout spills. r=jandem 2015-02-26 12:18:27 +01:00
Nicolas B. Pierron
55539e1f86 Bug 1112164 part 11 - Add an union to declare how data can overlap in one register. r=mjrosenb 2015-02-26 12:18:26 +01:00
Nicolas B. Pierron
4be8ea003d Bug 1112164 part 10 - Clean-up: Use SetType for register mask declarations. r=bbouvier 2015-02-26 12:18:25 +01:00
Nicolas B. Pierron
fe5896764c Bug 1112164 part 9 - PushRegsInMask no longer assumes that any FloatRegister is 8 bytes. r=bbouvier 2015-02-26 12:18:25 +01:00
Nicolas B. Pierron
f1d5c27b09 Bug 1112164 part 8 - Use architecture specific SetSize. r=bbouvier 2015-02-26 12:18:24 +01:00
Nicolas B. Pierron
a0664f2653 Bug 1112164 part 7 - Add common architecture functions to query/convert a register type. r=mjrosenb 2015-02-26 12:18:23 +01:00