Граф коммитов

56721 Коммитов

Автор SHA1 Сообщение Дата
Wes Kocher 741d9cb870 Backed out changeset 5a71ed072a2b (bug 1300546) for android failures in test_bug772796.html a=backout CLOSED TREE 2016-09-21 16:37:32 -07:00
Wes Kocher ef05c52b63 Backed out changeset c414e9547045 (bug 1302417) for android failures in test_bug772796.html a=backout CLOSED TREE 2016-09-21 16:37:28 -07:00
Wes Kocher 598c29ffbe Backed out changeset a03e56efce4c (bug 1281156) for android failures in test_bug772796.html a=backout CLOSED TREE 2016-09-21 16:37:23 -07:00
Tom Schuster 2f144c36e0 Bug 1299593 - Disable Array.prototype.values outside Nightly. r=jorendorff, r=smaug
--HG--
extra : rebase_source : 976a15181c0d263b62094a1524b8a27cf7c1fc4d
2016-09-21 11:53:00 -04:00
Vinayak Agarwal dc74845a1d Bug 1304167 - Remove unnecessary "else" after return in JS_GetArrayBufferViewType. r=arai
--HG--
extra : rebase_source : b0e36554cdb3f733810f4cfd8479343968faae1a
2016-09-21 10:58:46 +05:30
arn197 82f42fed53 Bug 1304310 - Remove else after return statement in ConvertScalar. r=arai
--HG--
extra : rebase_source : 0d00b356dd2a57b45a8c94ed618127dd02df768e
2016-09-21 02:48:00 -04:00
Chris Manchester aa2131cd40 Bug 1302909 - Set STDC_HEADERS everywhere instead of relying on AC_HEADER_STDC. r=glandium
MozReview-Commit-ID: DXvcX1i9vuo
2016-09-15 12:11:11 -07:00
Chris Manchester 6736329d5e Bug 1262155 - Use moz.build instead of libffi's build system. r=ted,glandium
MozReview-Commit-ID: 3wobNk0HDU5
2016-08-08 16:58:54 -07:00
Hannes Verschore e5f367169f Bug 1281156: TraceLogger: Enable caching of EventPayload for mainthread again, r=bbouvier,jonco 2016-09-21 19:26:05 +02:00
h4writer 9b0e31e532 Bug 1302417: TraceLogging - Don't run the debug check when the item is an error, r=bbouvier 2016-09-20 14:48:50 +02:00
Hannes Verschore e9fb49f8f5 Bug 1300546: IonMonkey: Make sure the registers of lhs and rhs don't overlap during ALU, r=bbouvier 2016-09-20 14:48:52 +02:00
Terrence Cole e03f58644e Bug 1227750 - Expose black to gray cross compartment edges instead of resetting the GC; r=jonco
--HG--
extra : rebase_source : 27ebe7f618787488c3a7f68b52e955c23d761f04
2016-09-21 09:33:07 -07:00
Terrence Cole 33e0dd3abc Bug 813683 - No need for Rekeyable Hashtable for C++ VMFunction* pointers; r=nbp
--HG--
extra : rebase_source : 5c6ce02ad98aaeccbd8bdda37b0c86916bfb6b7a
2016-09-21 09:32:51 -07:00
Jon Coppeard 80a9ca513a Bug 1304081 - Add more use of shouldCancel() to avoid pauses when cancelling off thread Ion compilation r=nbp 2016-09-21 15:27:45 +01:00
Jon Coppeard d6b364b06a Bug 1294767 - Add assertions that type sets do not contain cross compartment pointers r=jandem 2016-09-21 15:27:44 +01:00
Carsten "Tomcat" Book 23879d2b18 Merge mozilla-central to mozilla-inbound 2016-09-21 12:07:46 +02:00
Carsten "Tomcat" Book 4f900773f5 merge mozilla-inbound to mozilla-central a=merge 2016-09-21 12:03:31 +02:00
Carsten "Tomcat" Book 4fd246e6b8 merge fx-team to mozilla-central a=merge 2016-09-21 12:02:19 +02:00
Nick Fitzgerald 4cccd11998 Bug 1304209 - Remove Debugger.Script.prototype.canonicalId. r=shu
The `canonicalId` getter is never actually used, and isn't implemented in the
most principled way. Therefore, let's get rid of it, before it turns into
technical debt.
2016-09-20 15:11:00 -04:00
Carsten "Tomcat" Book 8910ca900f merge mozilla-inbound to mozilla-central a=merge 2016-09-20 12:01:29 +02:00
Jan de Mooij c67efa31d7 Bug 1293311 - Handle OOM in ArgumentsObject::finishForIon properly. r=nbp 2016-09-19 21:04:06 +02:00
Benjamin Bouvier b56f71f878 Bug 1303122: Don't re-add an already seen bounds check if it's not redundant; r=luke
MozReview-Commit-ID: 4pthpbRTmpD

--HG--
extra : rebase_source : 97aba7dd3331da2b61524cf118c5e1933230e098
2016-09-15 21:35:13 +02:00
Benjamin Bouvier 8bcffcf0f7 Bug 1303122: Handle stack in codegen of LCompareAndBranchI on x64; r=luke
MozReview-Commit-ID: EV5JUmcNYeh

--HG--
extra : rebase_source : 85b3d15920ad2dc85bff70d4f94b9569c393ef47
2016-09-15 21:34:36 +02:00
Bill McCloskey 50c44c717c Bug 1279086 - Allow painting for tab switch when JS is running (r=dvander,mconley,mrbkap) 2016-09-16 20:35:11 -07:00
Bill McCloskey a51047b439 Bug 1279086 - Allow multiple interrupt callbacks (r=dvander) 2016-09-16 20:33:49 -07:00
Andrew McCreight 51db16e7f5 Bug 1288909, part 4 - Use a strong reference to the set in ClassInfo2NativeSetMap. r=billm
Entries should end up getting cleared out from this table before the
value dies, so let's just make the reference strong so that any
mistakes will result in leaks and not use-after-frees.

Using smart pointer classes with PLDHashtable is a little
questionable, and I don't want to convert this one hash table to
nsTHashtable, so I use manual addref and release.

MozReview-Commit-ID: Kfg9veS6r11

--HG--
extra : rebase_source : 865ab48c2cf67546dd705cf79f8873efe695ac5c
2016-09-06 12:58:27 -07:00
Andi-Bogdan Postelnicu c574b38335 Bug 1301333 - mark XPCJSContext::Initialize as initialisation function for XPCJSContext. r=bobbyholley
MozReview-Commit-ID: HYj244xg1VD
2016-09-16 15:00:52 +03:00
Makoto Kato bea30b374e Bug 1303982 - Define CarrySet and CarryClear for non-JIT platform. r=bbouvier
MozReview-Commit-ID: 7VarACNjdIx
2016-09-21 10:58:19 +09:00
Heiher 5425c1d66f Bug 1303688 - Baldr: MIPS: Move memory barrier to WasmLoad/Store. r=luke
---
 js/src/jit/mips-shared/CodeGenerator-mips-shared.cpp | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
2016-09-21 09:56:02 +08:00
Phil Ringnalda 86d3aebd18 Backed out changeset c9f2cb674778 (bug 1303118) for failures in browser_dbg_watch-expressions-02.js 2016-09-20 18:20:25 -07:00
Heiher 9f272ce341 Bug 1303689 - IonMonkey: MIPS: Implement popcnt32. r=arai
---
 js/src/jit/MacroAssembler.h                        |  3 ++-
 .../jit/mips-shared/CodeGenerator-mips-shared.cpp  | 19 +------------------
 .../mips-shared/MacroAssembler-mips-shared-inl.h   | 22 ++++++++++++++++++++++
 3 files changed, 25 insertions(+), 19 deletions(-)
2016-09-21 08:58:10 +08:00
Heiher fb9d0996d9 Bug 1303688 - Baldr: MIPS: Take advantage of guard page to simplify asm.js/wasm memory access. r=luke
---
 js/src/jit/mips-shared/Assembler-mips-shared.h     |  2 +
 .../jit/mips-shared/CodeGenerator-mips-shared.cpp  | 66 +++++-----------------
 js/src/jit/mips-shared/CodeGenerator-mips-shared.h |  1 +
 .../mips-shared/MacroAssembler-mips-shared-inl.h   |  3 +
 .../jit/mips-shared/MacroAssembler-mips-shared.cpp | 31 ++++++++++
 .../jit/mips-shared/MacroAssembler-mips-shared.h   |  4 ++
 js/src/jit/mips32/MacroAssembler-mips32-inl.h      |  5 +-
 js/src/jit/mips32/MacroAssembler-mips32.cpp        | 20 ++++++-
 js/src/jit/mips32/MacroAssembler-mips32.h          |  6 +-
 js/src/jit/mips64/MacroAssembler-mips64-inl.h      |  5 +-
 js/src/jit/mips64/MacroAssembler-mips64.cpp        | 20 ++++++-
 js/src/jit/mips64/MacroAssembler-mips64.h          |  6 +-
 12 files changed, 106 insertions(+), 63 deletions(-)
2016-09-21 08:58:05 +08:00
Shu-yu Guo 12e768fe6d Bug 1303118 - Fix 'this' computation for Debugger.Frame.evalWithBindings. (r=efaust) 2016-09-20 16:03:19 -07:00
Terrence Cole f782b9ec74 Bug 1291776 - Assert that we don't create gray arguments; r=sfink
--HG--
extra : rebase_source : 6d27a748f0eafe6e1995a54c2820dd0519ca5850
2016-09-15 13:50:03 -07:00
Nicolas B. Pierron 7bf949b840 Bug 1301690 - IonMonkey: Prevent using getPropTryDefiniteSlot when primitives can be used as object. r=jandem 2016-09-20 15:28:41 +00:00
Henri Sivonen eea6b5c9c8 Bug 1288084 - Expose a line number for each attribute, v2; r=wchen 2016-09-20 16:31:57 +02:00
Benjamin Bouvier 38920d4ca6 Bug 1303085: Add nearbyint/nearbyintf to fdlibm; r=arai
MozReview-Commit-ID: GahbeGVPKs

--HG--
extra : rebase_source : 521205f9c6fe5d559efa2d0c854f906857c10f36
extra : histedit_source : bd0bf1fb258fc6aac8a33b18f529a43f0130ff68
2016-09-15 20:57:47 +02:00
Sebastian Hengst 63beebe912 Backed out changeset 5caa69daaa2a (bug 1302417) for asserting at TraceLogging.cpp line 548 in many spidermonkey tests. r=backout 2016-09-20 15:44:57 +02:00
Sebastian Hengst 57176d6ee5 Backed out changeset 73ac0ad42d63 (bug 1300546) for failing own test on arm64. r=backout 2016-09-20 15:43:40 +02:00
Hannes Verschore [:h4writer] 3dce725f3d Bug 1303809 - Fix ion/bug1293542.js to not fail when merging to aurora. r=bbouvier 2016-09-20 02:08:00 +02:00
Hannes Verschore 75ca14183b Bug 1300546: IonMonkey: Make sure the registers of lhs and rhs don't overlap during ALU, r=bbouvier 2016-09-20 14:48:52 +02:00
h4writer c31b9c2d2e Bug 1302417: TraceLogging - Don't run the debug check when the item is an error, r=bbouvier 2016-09-20 14:48:50 +02:00
Carsten "Tomcat" Book 17d545681a Merge mozilla-central to mozilla-inbound 2016-09-20 12:02:20 +02:00
Andrew McCreight 946ffa2384 Bug 1288909, part 3 - XPCWrappedNative:: and XPCWrappedNativeProto::Mark() don't do anything any more. r=billm
Also clean up some random comments for code that was deleted earlier.

MozReview-Commit-ID: 8JQx0FAH8wA

--HG--
extra : rebase_source : 614bda8caf0647ff0220986904ac6fb5fd4573a8
2016-08-05 13:56:14 -07:00
Andrew McCreight 58a9259670 Bug 1292694 - Don't skip marking at Shutdown due to fear of "bad locking problems". r=mrbkap
MozReview-Commit-ID: HetNpQR2s8Y

--HG--
extra : rebase_source : 727a86bcacf35c6f0ab68ba69d1860839cb27730
2016-08-05 15:19:41 -07:00
Yen Chi Hsuan 80b867a458 Bug 1143421 - install file copies instead of symlinks for Spidermonkey. r=glandium 2016-08-25 15:51:55 +08:00
Andrew McCreight 93c15e825f Bug 1288909, part 2 - Remove a bunch of now-useless XPCNativeSet marking-related things. r=billm
MozReview-Commit-ID: 4YRn9Wx64a4

--HG--
extra : rebase_source : 7298dfd78142a1d544922fb5f78f7ca4a5562a6c
2016-07-27 16:38:42 -07:00
Andrew McCreight bbaa5c3f54 Bug 1288909, part 1 - Implement refcounting of XPCNativeSet. r=billm
This patch is similar to bug 1288870.

Strong references:

- XPCCallContext::mSet: Like XPCNativeInterface, this only roots it
when |mState >= HAVE_NAME|, and again this only requires changing
SystemIsBeingShutDown().

- XPCWrappedNativeProto::mSet and XPCWrappedNative::mSet. These become
RefPtrs.

- stack: AutoMarkingNativeSetPtr become RefPtr<XPCNativeSet>. This
lets me eliminate some uses of AutoJSContext. This is the bulk of the
patch.

Weak references:

- mNativeSetMap. This reference gets cleared in the dtor. This
requires bug 1290239 to actually find the entry for removal.

- mClassInfo2NativeSetMap. The reference is in the value for this hash
table, and we don't have the key in the set dtor. Fortunately, the
only code that adds to this table is
XPCNativeSet::GetNewOrUsed(nsIClassInfo* classInfo), which in turn is
only called by GetNewOrUsed(nsIClassInfo* classInfo). This code
creates a new XPCWrappedNativeProto, which (with my patch) holds a
strong reference to the set that has been added to the table. This set
is never changed or released until the dtor for the proto, which calls
ClearCacheEntryForClassInfo(), removing the entry from the
hashtable. Thus, the lifetime of the set is always going to be longer
than the lifetime of the entry.

Other notes:

- Like XPCNativeInterface, this class uses placement |new| that
requires a special destruction function, which with my patch is hidden
away in the refcounting code.

- This patch delete a bunch of marking/sweeping code from
XPCJSRuntime::FinalizeCallback(), because the lifetimes are managed by
the refcounting now. Some of the marking code is left behind to be
cleaned up in a later patch.

- I didn't see any methods that had XPCNativeSet** outparams.

- MOZ_COUNT_{CTOR,DTOR}(XPCNativeSet) is not needed because it is now
refcounted.

MozReview-Commit-ID: 7oTorCwda1n

--HG--
extra : rebase_source : 0c477e18c405e4ea88393279cf8bea62c5b0f4c7
2016-07-27 16:38:30 -07:00
Wes Kocher 611fb66887 Backed out changeset 39da44265946 (bug 1263595) for build bustage a=backout CLOSED TREE 2016-09-16 14:19:22 -07:00
Eric Faust db0cfdc6bc Bug 1263595 - Avoid deadlock between the JIT and the gecko profiler on win64. (r=froydnj) 2016-09-15 21:35:14 -07:00