Landry Breuil
6c017dca38
Bug 778414: ensure the linker supports @unwind sections in libffi. r=glandium
...
This fixes clang builds on OpenBSD/amd64, since clang itself supports
@unwind sections but OpenBSD's ld 2.15 doesn't. Previously the test
yielded true, thus producing a broken libffi.
2012-08-28 23:00:40 +02:00
David Anderson
d987f9a998
Backed out changeset 0f9b4d3635b6.
2012-08-27 02:24:58 -07:00
David Anderson
3ebc763bdc
Diagnostic patch #2 .
2012-08-26 23:39:43 -07:00
David Anderson
0a75baa137
Backed out changeset a7e6b53bda77.
2012-08-26 23:39:06 -07:00
David Anderson
2168a3c4ba
Temporary debug instrumentation for talos.
2012-08-26 21:55:58 -07:00
Luke Wagner
c692b48100
Bug 786068 - make JS_EnterCrossCompartmentCall infallible (and call it JS_EnterCompartment) (r=sfink)
2012-08-27 13:32:51 -07:00
Ryan VanderMeulen
50112c0069
Merge m-c to inbound.
2012-08-27 19:34:23 -04:00
Alex Keybl
b3319338f9
Merging in version bump NO BUG
2012-08-27 12:21:46 -07:00
Luke Wagner
872a0e6b97
Bug 749371 - Remove now-unnecessary JS_ClearScope defense (r=bhackett)
2012-08-27 09:13:44 -07:00
Gabor Krizsanits
5138045eff
Bug 763897 - Incorrect behaviour of mozMatchesSelector.call through xray; r=bholley
2012-08-27 15:15:20 +02:00
Gabor Krizsanits
9a223560e1
Bug 738244 - Supporting DOM specific collection properties through xray wrappers; r=mrbkap
2012-08-27 15:06:34 +02:00
Benjamin Peterson
d76d19dc3d
Bug 781035 - Use the C++ JS compile API in more places. r=jorendorff sr=jst
2012-08-27 08:04:37 -04:00
Benjamin Peterson
67395d7701
Bug 785781 - Remove artifact of the old re engine. r=njn
2012-08-27 08:03:54 -04:00
Bob Clary
4b000d6aa2
bug 681704 - disable js1_5/extensions/toLocaleFormat-02.js on Windows Debug builds due to CRT Assert, r=dmandelin.
2012-08-26 22:51:14 -07:00
Brian Hackett
c1e99f12ac
Tweak condition for triggering Ion compilation from JM, bug 774253. r=dvander
2012-08-25 06:29:43 -06:00
Sean Stangl
ca7ae11d72
No bug - Don't output LIR ID around instructions in debug builds. r=dvander
2012-08-24 16:03:57 -07:00
Brian Hackett
bed393f35e
Restore old behavior for triggering compilation with parallel compilation off, bug 774253. r=dvander
2012-08-24 14:01:43 -06:00
Nicolas Pierron
dbf07ea1d5
Revert "Bug 781660 part 2 - ReconstructPCStack, Fallback on try notes if we cannot follow a goto. r=luke"
...
This reverts changeset 4c24e4fc3472.
2012-08-24 02:24:49 -07:00
Nicolas B. Pierron
bb5ddcce16
Bug 761473 - Snapshots, use the same upper-bound variables. r=dvander
2012-08-23 23:11:16 -07:00
Nicolas Pierron
f61973fb83
Bug 781660 part 2 - ReconstructPCStack, Fallback on try notes if we cannot follow a goto. r=luke
2012-08-23 22:45:32 -07:00
Alex Crichton
4a783a4dd3
Bug 785268: Clean up the style/design of the instrumentation. r=dvander
2012-08-23 18:31:02 -07:00
Brian Hackett
c272ddf3b5
Use PR_NotifyCondVar when only one worker thread needs to wake up, bug 785206. r=sstangl
2012-08-23 17:47:18 -06:00
Brian Hackett
0a0199d631
Assert successful return of PR_WaitCondVar, bug 785201. r=sstangl
2012-08-23 17:40:38 -06:00
Brian Hackett
3834946ffa
Don't pass reference parameter to constructor in x->new_<LIRGraph>, bug 774253. r=dvander
2012-08-23 16:37:06 -06:00
Brian Hackett
b93db9b7a0
Don't leak malloc'ed contents of vectors in LIRGraph, bug 774253. r=dvander
2012-08-23 16:34:23 -06:00
Alex Crichton
7e5f28dc59
Bug 736299: Prevent the frame pointer from being allocated when profiling is enabled. r=nbp
2012-08-23 12:40:49 -07:00
Alex Crichton
c74e64e4b2
Bug 781979 - Part 2: Track the line number for profiling in IonMonkey. r=nbp,djvj
2012-08-23 12:40:48 -07:00
Alex Crichton
a99ea82b64
Bug 781979 - Part 1: Template SPSInstrumentation and move it to SPSProfiler.h. r=bhackett
2012-08-23 12:40:48 -07:00
Alex Crichton
91bc467d2f
Bug 782659: Fix assertions about empty registers when profiling is enabled on ARM. r=bhackett
2012-08-23 12:40:48 -07:00
Sean Stangl
a40abc456f
No Bug - Fix 40-column emacs/vim tab declarations in certain files. no_r
2012-08-23 12:32:20 -07:00
Luke Wagner
3595a4cdb6
Bug 749371 - Break JS_ClearScope into two not-as-bad functions (r=mrbkap)
2012-08-23 11:23:28 -07:00
Siddharth Agarwal
f976c1f6e5
Bug 740854 - Remove --disable-auto-deps, SYSTEM_MAKEDEPEND, MOZ_NATIVE_MAKEDEPEND and associated crap. r=ted
...
--HG--
extra : rebase_source : 6a3f3017a3674738bb89e7e7f2e55c35a3cbe231
2012-08-28 00:57:16 +05:30
Rafael Ávila de Espíndola
f1d04b676c
Bug 784029 - Revert 783505 when we drop support for gcc 4.2. r=jorendorff.
2012-08-27 15:37:34 -04:00
Ehsan Akhgari
3fe9afbeb3
Bug 786375 - Remove AutoScriptEvaluate::mContextHasThread since it is unused; r=bholley
2012-09-06 21:59:33 -04:00
Jeff Walden
ce3ac17c14
Add #include guards to jsversion.h. No bug, r=howtheheckwerethesenottherebefore
...
--HG--
extra : rebase_source : 89499382057938c51ebdbf1bb70467cba8b5ca5d
2012-09-06 17:51:42 -07:00
Jeff Walden
99993f3180
Fix clang warnings on extraneous semicolons after member function definitions, implicit NULL-to-bool conversions, and the utter deadwood-ness of PCStack::cx. No bug, r=themaid, r=sfink
...
--HG--
extra : rebase_source : ba7420a9d61edfd25ebbea81771b640091d14de2
2012-09-06 16:50:46 -07:00
David Anderson
c87533da67
Add bogus --disable-ion build flag (bug 789319, r=sstangl).
2012-09-06 16:42:54 -07:00
Jan Beich
9f3bf584fa
Bug 787904 - Use 8k pagesize on FreeBSD ia64/sparc64. r=terrence
2012-09-06 21:46:47 +02:00
Jason Orendorff
802bc1481d
Bug 788261 - Split PNK_FUNCTION into multiple parse node kinds. Part 2, split PNK_FUNCTION{DECL,EXPR}. r=Waldo.
...
--HG--
extra : rebase_source : 162c415d5daf356bc89e30ff53358f5eab8e6073
2012-09-06 11:19:56 -05:00
Jason Orendorff
e3636c4c7c
Bug 788261 - Split PNK_FUNCTION into multiple parse node kinds. Part 1, split PNK_FUNCTIONNS from PNK_FUNCTION. r=Waldo.
...
--HG--
extra : rebase_source : c43f674bd7dd6ad86050342d07566407ece5c4aa
2012-09-06 08:19:01 -05:00
Jason Orendorff
cedc7ba841
Minor improvements to js::frontend::ParseNode::dump(). Bug 788227, r=Waldo.
...
--HG--
extra : rebase_source : f671f221a28240fc249653758255c2c679d09c95
2012-09-06 08:13:10 -05:00
Jason Orendorff
e7d9651a87
Rename PNK_RB and friends to more meaningful names. Bug 788222, r=Waldo.
...
--HG--
extra : rebase_source : 756f5b4a3bed9ac4924e9ba0712bfdb62858441c
2012-09-06 08:00:33 -05:00
Jason Orendorff
543e60fb97
Add ParseNode::as<T>(). Bug 788220, r=luke.
...
--HG--
extra : rebase_source : 41510e3bdc3f13f891ab0019c5c467534d0aca50
2012-09-06 07:58:29 -05:00
Brian Hackett
508e5b81ce
Enable worker threads, bug 774253.
2012-08-23 08:17:48 -06:00
Brian Hackett
55b70d66e5
Allow compiling scripts off thread with Ion, bug 774253. r=dvander
2012-08-23 06:56:35 -06:00
Eric Faust
6e3801d3cd
Bug 781855 - Ensure setprop caches allow 'own' property markings on added properties. (r=bhackett)
2012-08-22 23:21:19 -07:00
David Anderson
e7b70b99d1
Backout 4225ee7e35a0.
2012-08-22 22:23:11 -07:00
David Anderson
d8024ac298
Backed out changeset c1b7927df546.
2012-08-22 22:19:06 -07:00
Nicolas B. Pierron
b8396b4791
Bug 783464 - Fix condition for removing the constrained output vector. r=bhackett
2012-08-22 18:27:38 -07:00
Brian Hackett
948e1cf364
Allow compiling scripts off thread with Ion, bug 774253. r=dvander
2012-08-22 19:00:33 -06:00
Sean Stangl
7fc77dfe0b
Bug 784568 - Build on foreign compilers. no_r
2012-08-22 17:54:45 -07:00
Sean Stangl
932821a20f
Bug 784568 - Refactor calls for clarity. r=dvander
2012-08-22 16:57:06 -07:00
David Anderson
fd50a14c90
Merge from mozilla-central.
2012-08-22 16:09:24 -07:00
David Anderson
dfde9f64f7
Fix merge bustage.
2012-08-21 18:58:10 -07:00
David Anderson
f3d3148ca7
Merge from mozilla-central.
2012-08-21 15:59:12 -07:00
Eric Faust
c46ac3f166
Bug 781387 - Codegen infallibility data for Paris bindings methods. (r=peterv)
2012-09-04 14:46:38 -04:00
Brian O'Keefe
4037cc2173
Bug 649567 - Propagate atributes on Arguments object properties. Patch also partially by Tom Schuster <evilpies@gmail.com>. r=jwalden
...
--HG--
extra : rebase_source : 237525c25bb4e3cdc3a2a4ee1553a892b76de3b4
2012-08-31 15:37:28 -07:00
Marty Rosenberg
3bebbbdabc
Try to flush the instruction/data cache less frequently (bug 781510, r=dvander)
2012-08-21 11:12:39 -04:00
Nicolas B. Pierron
c51e209ff8
Bug 781660 part 1 - Follow goto's target if identical to the reconstructed one. r=luke
2012-08-21 00:01:02 -07:00
Shu-yu Guo
524b1a3ebe
Bug 784015 - Fix division by 0 when calling ParallelArray.prototype.partition (r=dmandelin)
2012-08-20 22:02:18 -07:00
Shu-yu Guo
4703573b8b
Bug 784011 - Fix ParallelArray.prototype.get being called with an object with length 0 (r=dmandelin)
2012-08-20 22:02:11 -07:00
Shu-yu Guo
7b5e9a027f
Bug 783923 - Fix calling toString on an empty ParallelArray (r=dmandelin)
2012-08-20 22:02:04 -07:00
Bobby Holley
7e122c271a
Backed out changeset 61e9eaf9aae2
...
--HG--
extra : rebase_source : 30fb2e7a057482412d29a96f8b8e98135beb6a79
2012-08-20 21:07:07 -07:00
Bobby Holley
db7c7123df
Bug 784233 - Relax __exposedProps__ check for sandboxes until we can repack AMO addons. r=gal
2012-08-20 21:03:44 -07:00
Nicolas B. Pierron
befc729831
Revert "Bug 783464 - Fix condition for removing the constrained output vector. r=bhackett"
...
This reverts changeset 8b2c0239f5bc.
2012-08-20 16:55:38 -07:00
Bobby Holley
5d53d2e91b
Bug 783989 - Return false after reporting error. r=ejpbruel
2012-08-20 14:04:26 -07:00
Gina Yeh
2326b507ac
Bug 783454 - v1: Create devicefound event with event generator, r=qdot
2012-08-21 10:54:28 +08:00
Kannan Vijayan
fda394221e
Bug 783008 - Use better heuristics for recompile checks from JM on behalf of Ion. (r=dvander)
2012-08-20 16:31:53 -04:00
Nicolas B. Pierron
097c0d0251
Bug 783464 - Fix condition for removing the constrained output vector. r=bhackett
2012-08-20 13:10:05 -07:00
Mike Hommey
d121441887
Bug 783950 - Refresh libffi patches. r=ted
2012-08-20 08:57:13 +02:00
Eric Faust
5db11535c2
Bug 783590 - Stop attempting to optimize prototypal getter callsites on watched objects. (r=sstangl)
2012-08-18 02:12:20 -07:00
Jan de Mooij
0dba2b9ecd
Bug 783574 - Remove useMethodJIT, it was not always updated correctly. r=dvander
2012-08-18 10:01:24 +02:00
Nicholas Nethercote
3eb58b0432
Bug 784608 (part 8) - Remove FunctionBox::parent. r=luke.
...
--HG--
extra : rebase_source : 4cd9ee4acfdbcd262967fbebf536e8713abd5b56
2012-08-23 20:06:40 -07:00
Nicholas Nethercote
86ce71fef2
Bug 784608 (part 7) - Change the form and meaning of ParseContext::innermostWith, and do follow-up simplifications. r=luke.
...
--HG--
extra : rebase_source : 035c8976f4767235c5f88f0440401c668c7676a8
2012-08-23 16:50:25 -07:00
Nicholas Nethercote
7e452cdec4
Bug 784608 (part 6) - Rename some parsing and emitting variables. r=luke.
...
--HG--
extra : rebase_source : c21e322bb37172ca45ddac032a851465545fd2b8
2012-08-22 23:16:05 -07:00
Nicholas Nethercote
4bd46dce28
Bug 784608 (part 5) - Rename some FunctionBox method args. r=luke.
...
--HG--
extra : rebase_source : 19ad67052ec6df71d1a5a1d68a8f21487c7c8d8f
2012-08-22 20:12:44 -07:00
Nicholas Nethercote
0914cdefb7
Bug 784608 (part 4) - Remove FunctionBox::inAnyDynamicScope. r=jimb.
...
--HG--
extra : rebase_source : 22ce4b1e4e1fe7dffa6a28ce59087926d3ef5b93
2012-08-22 17:50:35 -07:00
Nicholas Nethercote
c9d258f5b1
Bug 784608 (part 3) - Remove FunctionBox::node. r=jimb.
...
--HG--
extra : rebase_source : 6fdb125d6d7362987f52e3c3e552d002daf544c3
2012-08-22 17:25:55 -07:00
Nicholas Nethercote
5ea69a2892
Bug 784608 (part 2) - Remove FunctionBox::level. r=jimb.
...
--HG--
extra : rebase_source : 0e887c586df02cf84f16816457a6f22e004b34bf
2012-08-22 17:25:53 -07:00
Nicholas Nethercote
47287a3eb0
Bug 784608 (part 1) - Remove FunctionBox::inLoop. r=jimb.
...
--HG--
extra : rebase_source : 451f30919691a128c0003b0e763a3e50d6f627bf
2012-08-21 23:55:51 -07:00
Shu-yu Guo
e9f34d6e58
Bug 784873 - Improve ParallelArray jit-test code (r=dvander)
2012-08-26 12:02:42 -07:00
Jason Orendorff
309ca80b4b
Bug 778851 - Disable E4X in content by default.
2012-08-26 09:04:33 -05:00
Mike Hommey
44c1eef21d
Backout changeset a1ba35958b98 (bug 781529) because of a gcc bug that leads to bug 785679
2012-08-26 10:15:10 +02:00
Jan de Mooij
109d51769b
Bug 783272 - Remove code to eagerly spill phis if there's no register available. r=dvander
2012-08-17 11:37:53 +02:00
Jan de Mooij
e2068fe2bb
Bug 783290 - LMathD should allow memory operands on x86/x64. r=dvander
2012-08-17 09:40:33 +02:00
David Anderson
a1a3db5e45
Forbid JITing annotated frames (bug 763233, r=mrbkap,jandem).
2012-08-16 18:26:11 -07:00
Nicholas Nethercote
8f44264d3b
Bug 770865 - Rename TreeContext as ParseContext. r=luke.
...
--HG--
extra : rebase_source : 91846a909a39ca08aae0e6ccd7a9e5e533775324
2012-08-16 17:04:54 -07:00
David Anderson
5d981ba8fe
Merge from mozilla-central.
2012-08-16 14:04:20 -07:00
Brian Hackett
9470becd1e
Use a common type object for inner arrays of array initializers, bug 782590. r=jandem
2012-08-16 07:14:51 -06:00
Jan de Mooij
811f7eb54e
Bug 782977 - Don't inline monomorphic getprop/setprop if there were uncacheable lookups. r=dvander
2012-08-16 10:30:08 +02:00
David Anderson
348793a989
Remove JS_FrameIterator (bug 732653, r=luke,mrbkap).
2012-08-15 17:28:33 -07:00
David Anderson
f29decd8b9
Merge from mozilla-central.
2012-08-15 14:22:26 -07:00
Shu-yu Guo
27f64d488b
Bug 784201 - Use maybeShortid to print out shortid in Shape::dump (r=luke)
2012-08-20 17:04:45 -07:00
Ryan VanderMeulen
f1e04816ea
Merge m-c to inbound.
2012-08-20 20:21:35 -04:00
Olli Pettay
e1b92aea91
Bug 783856 - Autogen PopupBlockedEvent, r=jst
2012-08-20 11:26:34 -07:00
Olli Pettay
b7316c9dd3
Bug 783376 - codegenerator should be able generate implementations which inherit other simple events, r=khuey
2012-08-20 11:20:25 -07:00
Ed Morley
caac744aca
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-08-20 16:45:41 +01:00
Rafael Ávila de Espíndola
8dd1183684
Bug 783505 - OS X gcc builds failing. r=jorendorff.
...
This patch adds a workaround for
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39608
2012-08-20 10:36:30 -04:00
Ginn Chen
1dd812290e
Bug 783533 testValueABI.cpp and valueABI.c should use same prototype of C_ValueToObject() r=bhackett
2012-08-20 16:27:14 +08:00
Landry Breuil
b885208cb9
Bug 777357: declare mjit namespace outside of #ifdef JS_METHODJIT, fixes non-mjit builds. r=bhackett
2012-08-20 09:59:37 +02:00
Nicholas Nethercote
1ea846b1e2
Bug 782871 (part 2) - Rename the |TreeContext| module as |SharedContext|. r=jorendorff.
...
--HG--
rename : js/src/frontend/TreeContext-inl.h => js/src/frontend/SharedContext-inl.h
rename : js/src/frontend/TreeContext.h => js/src/frontend/SharedContext.h
2012-08-16 22:05:51 -07:00
Nicholas Nethercote
c1ead9d3da
Bug 782871 (part 1 ) - Move TreeContext and related things into the Parser module. r=jorendorff.
2012-08-16 21:29:03 -07:00
Nicolas B. Pierron
4ea353cc70
Revert "Bug 783464 - Fix condition for removing the constrained output vector. r=bhackett" CLOSED TREE
...
This revert changeset 1906fe4159fe.
2012-08-20 13:56:25 -07:00
Nicolas B. Pierron
dffac3eb6c
Bug 783464 - Fix condition for removing the constrained output vector. r=bhackett
2012-08-20 13:12:43 -07:00
Gina Yeh
d32750b34d
Bug 778640 - Final version: Firing devicedisappeared event, r=qdot, r=smaug
...
---
dom/bluetooth/BluetoothAdapter.cpp | 16 ++++++++++++++-
dom/bluetooth/Makefile.in | 1 +
.../nsIDOMBluetoothDeviceAddressEvent.idl | 21 ++++++++++++++++++++
js/xpconnect/src/event_impl_gen.conf.in | 3 +++
4 files changed, 40 insertions(+), 1 deletion(-)
create mode 100644 dom/bluetooth/nsIDOMBluetoothDeviceAddressEvent.idl
2012-08-20 12:23:32 +08:00
Kannan Vijayan
cb9e46aa03
Rolling back patch for bug 782432. Causes regressions in 32-bit SS.
2012-08-15 13:03:10 -04:00
Eric Faust
2ac8cec7d3
Bug 782869 - Fix incorrect |this| parameter passing to specialized DOM methods. (r=dvander)
2012-08-15 00:14:20 -07:00
David Anderson
595576d78d
Don't aggressively fold misused Math functions into returning NaN (bug 782087, r=sstangl).
2012-08-14 19:09:49 -07:00
Nicolas B. Pierron
5ef3110c8d
Bug 777537 - Ensure validity of CompilerOutput without a dangling pointer. r=bhackett
2012-08-15 01:39:25 +02:00
Sean Stangl
9988d06650
Bug 782776 - Add beginsIonActivation() to StackFrame. r=dvander
2012-08-14 16:28:05 -07:00
Eric Faust
9401f34218
Bug 781364 - Don't attempt to inline monomorphic IC accesses on dictionary mode shapes. (r=dvander)
2012-08-14 16:20:19 -07:00
David Anderson
ba9fbd89c9
Don't mark Ion activations that are tied to the method JIT (bug 782083, r=jandem).
2012-08-14 12:26:59 -07:00
David Anderson
3d58883052
Merge from mozilla-central.
2012-08-14 12:20:09 -07:00
Sean Stangl
228c567269
Bug 782129 - GetPcScript() should use the Ion version when callingIntoIon(). r=dvander
2012-08-13 18:14:55 -07:00
Kannan Vijayan
2ccbe7f095
Bug 782432 - Ion-compile small functions more aggressively. (r=dvander)
2012-08-13 19:41:17 -04:00
David Anderson
0e509b2165
Merge from mozilla-central.
2012-08-13 13:40:42 -07:00
Tom Schuster
051623db91
Bug 782077 - IonMonkey: Remove MIRType_Any and MIRType_UpvarSlots. r=jandem
2012-08-13 15:02:43 +02:00
Brian Hackett
34ffa9ce1f
Preserve types when swapping objects, bug 774953. r=dvander
2012-08-13 23:25:16 -06:00
Nicholas Nethercote
47f5febce8
Bug 782487 - Remove traces of JSStaticAtom. r=billm.
...
--HG--
extra : rebase_source : 89e892e3e6ca04f0c19747f189535b3e3ae95d77
2012-08-13 20:02:51 -07:00
Alexander Boldyrev
f61c980db5
Bug 738866 - Implement WEBGL_depth_texture extension - r=jgilbert
2012-08-13 18:17:55 -07:00
Brian Hackett
f8747b4770
Don't generate missing property ICs for non-native objects, bug 782146. r=luke
2012-08-13 18:51:52 -06:00
Nicholas Nethercote
85c416d526
Bug 781722 - Loosen over-tight assertion in JS_GetGlobalForScopeChain.
...
--HG--
extra : rebase_source : eb94fcced7bc3584de4c43ca511d3d7c0ed3dc20
2012-08-12 16:40:58 -07:00
Nicholas Nethercote
5fcfffad72
No bug - Fix some JSString comments. r=luke, DONTBUILD because comment-only changes.
2012-08-13 16:35:45 -07:00
Sean Stangl
296ba1409a
Bug 781985 - visitCallDOMNative() must dropArguments(). r=efaust
2012-08-10 18:05:04 -07:00
David Anderson
dfb21e5d35
Remove parallelarray tests.
2012-08-10 15:49:43 -07:00
David Anderson
fdf07ae34a
Remove IonMonkey-specific ParallelArray from the IonMonkey branch, in anticipation of a newer mozilla-central version.
2012-08-10 15:49:13 -07:00
David Anderson
3a75fe5e12
Fix typo in rebase of bug 759205.
2012-08-10 15:36:08 -07:00
David Anderson
3bbf537ee8
Propagate stack overrecursion errors through ion::Bailout (bug 759205 part 2, r=pierron).
2012-08-10 15:29:48 -07:00
David Anderson
bcf6b28ace
Factor out common bailout generation code (bug 759205 part 1, r=sstangl,mjrosenb).
2012-08-10 15:14:21 -07:00
David Anderson
9efad26f8b
Fix register allocation bug in the JM to Ion call IC (bug 779595, r=jandem).
2012-08-10 14:13:28 -07:00
David Anderson
da15732de3
Merge from mozilla-central.
2012-08-10 14:50:20 -07:00
Sean Stangl
6ed84f2ad5
Bug 781680 - Track IonCode in MemoryMetrics. r=dvander
2012-08-10 11:32:57 -07:00
Kannan Vijayan
0cd6692fd3
Bug 780842 - Check for normalized type id in annotateGetPropertyCache. (r=jandem)
2012-08-10 11:10:23 -04:00
Kannan Vijayan
ac1c16677b
Add ion-eager file flag to jit-tests. (r=jandem)
2012-08-10 11:09:30 -04:00
Tom Schuster
29c3ee6c0e
Bug 764477 - IonMonkey: Inline Math.max and Math.min. r=jandem, mrosenberg
2012-08-10 14:17:26 +02:00
David Anderson
ac928f4c0d
Fix x64 bustage, part 2.
...
--HG--
extra : rebase_source : 3389115aa9d3898482bf8cecacf802ba2033ca7c
2012-08-09 23:16:26 -07:00
Hannes Verschore
b7b3591d8e
Bug 781248, eagerly allocate arrays with argument count higher than 1
2012-08-10 03:11:56 +02:00
Hannes Verschore
2c4c4f7b7d
Back out b07af1efa3dd (Bug 781248) for better fix
2012-08-10 03:01:52 +02:00
David Anderson
ba4fc26e86
Fix ARM bustage.
2012-08-09 17:52:59 -07:00
David Anderson
65ef8527c3
Fix x64 bustage.
2012-08-09 17:19:31 -07:00
David Anderson
75a9b3601e
Overhaul safepoints on X64 to correctly mark Values (bug 779390, r=pierron).
2012-08-09 17:12:34 -07:00
David Anderson
bceea47cc5
Ensure type barriers are run when inlining JM to Ion calls (bug 777788, r=jandem).
...
--HG--
extra : rebase_source : 61fe26467155ec4e099115e446cddcc27d732dad
2012-08-09 17:06:55 -07:00
Kannan Vijayan
5b5cf4194b
Bug 780838 - Dont push unnecessary arguments in between GetProp and Call in poly-inline fallback case. (r=dvander)
2012-08-09 17:08:37 -04:00
David Anderson
5cd50ebf52
Make sure |new Array| can take the slow allocation path (bug 781248, r=pierron).
2012-08-09 13:44:29 -07:00
David Anderson
018c2a9a6a
Merge from mozilla-central.
2012-08-09 13:41:13 -07:00
Nicolas B. Pierron
15d185092b
Bug 780451 - ReconstructPCStack: Use hidden pcdepth after branching with a hidden goto. r=
2012-08-09 20:33:21 +02:00
Nicolas B. Pierron
baea8f2a17
Bug 780274 - Remove & Invalidate pending compilation when sweeping. r=bhackett
2012-08-09 20:19:58 +02:00
Hannes Verschore
460e9fc72a
Bug 766752: Add trace logging, r=jandem
2012-08-09 15:29:21 +02:00
Jan de Mooij
020219d9a8
Bug 781145 - Add a fast path to js::GetProperty for string/array length. r=dvander
2012-08-09 14:48:50 +02:00
Nicolas B. Pierron
02bca41f31
Bug 779245 - Fix isConstructing when JM is calling into Ion. r=dvander
2012-08-08 17:19:02 -07:00
Eric Faust
168234ac50
Bug 773549 - Implemented inlined calls to specialized DOM methods. (r=sstangl)
2012-08-08 17:02:46 -07:00
Eric Faust
a5cd0c5ec2
Bug 747288 - Implemented inlined calls to specialized DOM accessors. (r=sstangl)
2012-08-08 17:02:46 -07:00
Sean Stangl
33fbcd1169
Bug 781368 - Fold TypeOf strings in MConstant. r=efaust
2012-08-08 16:32:15 -07:00
Kannan Vijayan
64e58d4124
Bug 731214 - Fix nit that I forgot to fix before pushing. (r=mjrosenb)
2012-08-08 18:57:57 -04:00
Kannan Vijayan
e59f7bb0f6
Bug 781214 - Ensure plain-ness of template object before looking up properties on it in jsop_initprop. (r=mjrosenb)
2012-08-08 18:51:24 -04:00
Nick Fitzgerald
38ba7ed72f
Bug 774471: Store source map URLs in the ScriptSource, not on each JSScript. r=jimb
2012-08-13 12:39:57 -07:00
Bill McCloskey
c08859c880
Bug 781945 - Improve GC telemetry (r=mccr8)
2012-08-13 10:30:44 -07:00
David Anderson
58946389e1
Fix CompilerRootNode misuse in MIR (bug 781022, r=kvijayan).
2012-08-08 15:16:56 -07:00
David Anderson
88429440a3
Merge from mozilla-central.
2012-08-08 15:09:49 -07:00
Ehsan Akhgari
217645f36e
Bug 579517 - Part 4: Manually rewrite some parts of the code base not covered by the automated conversion; r=bsmedberg
2012-08-22 11:59:54 -04:00
Ehsan Akhgari
2371757ee1
Bug 579517 - Part 2: Make the IDL parser aware of stdint types; r=bsmedberg
2012-08-22 11:57:22 -04:00
Ehsan Akhgari
8c296bbcd4
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Shu-yu Guo
46ea7218fb
Bug 767961 - Only mark properties as definite if we could analyze the entire constructor (r=bhackett)
2012-08-21 12:29:47 -07:00
Shu-yu Guo
074d7c035d
Bug 783924 - Part 2: Fix TI assertion in ParallelArray constructor (r=bhackett)
2012-08-21 12:29:47 -07:00
Shu-yu Guo
fc9f81855b
Bug 783924 - Part 1: Fix ParallelArray constructor being called with non array-like objects (r=dmandelin)
2012-08-21 12:29:46 -07:00
Brian Hackett
13132898c0
Make JSObject::doSomethingToThisObject methods static, bug 782646. r=terrence
2012-08-21 13:13:28 -06:00
Bobby Holley
826e13d885
Bug 784233 - Relax __exposedProps__ check for sandboxes until we can repack AMO addons. r=gal
2012-08-21 10:27:08 -07:00
Luke Wagner
91c9380e0c
Bug 774915 - don't use the property cache for dynamic name lookup (r=bhackett)
2012-08-17 18:09:43 -07:00
Luke Wagner
ae24ad4622
Bug 783978 - disallow duplicated argument names when default arguments are used (r=jorendorff)
2012-08-20 13:45:54 -07:00
Irving Reid
a4c9832edd
Bug 782471: Add library name to ctypes Library::Create() error message for easier debugging; r=bholley
2012-08-13 13:23:23 -04:00
Jon Coppeard
693f238524
Bug 782993 - Part 2: Tidy unused parts of FreeOp r=billm
2012-08-21 09:58:30 +01:00
Jon Coppeard
0594a6f41e
Bug 782993 - Part 1: Always sweep background things at the end r=billm
2012-08-21 09:47:15 +01:00
Jon Coppeard
49cd986642
Bug 779897 - GC: Use arenaListsToSweep to queue arenas for background as well as foreground sweeping r=billm
2012-08-21 09:45:33 +01:00
Kannan Vijayan
c5d92ec5a2
Bug 779819 - Fix handling of MaybeArguments as second argument of jsop_funapply call. (r=nbp)
2012-08-08 14:01:46 -04:00
Jan de Mooij
63e3c24bb7
Bug 780973 - Try to enter outer loops rather than inner loops via OSR. r=dvander,bhackett
2012-08-08 15:02:24 +02:00
Jan de Mooij
a71f973523
Bug 780860 - Mark some instructions as movable. r=dvander
2012-08-08 14:54:39 +02:00
Nicolas B. Pierron
118e3136ca
Bug 779841 - Escape inline cache if invalidated by the lookup. r=dvander
2012-08-07 18:31:11 -07:00
David Anderson
9f806b608d
Merge from mozilla-central.
2012-08-07 15:13:28 -07:00
Sean Stangl
27bb4f72f2
Bug 780052 - Handle some Double comparisons by coercion. r=jandem
2012-08-07 14:23:22 -07:00
Saurabh Anand
847162aa06
Bug 730085 - Object.prototype.hasOwnProperty calls ToString on first argument before calling ToObject on this. r=evilpie
2012-08-18 15:51:52 +05:30
Tom Schuster
aa2baaa9fb
Bug 783016 - Make space for Int32 string type. r=luke
2012-08-18 18:15:51 +02:00
Mike Hommey
74ec1541a4
Bug 781529 - Use -MMD flag for dependency generation instead of -MD. r=ted
2012-08-18 11:17:48 +02:00
Mike Hommey
08d483c83a
Bug 781461 - Work around mksh/pdksh bug in config.status.m4. r=ted
2012-08-18 11:17:29 +02:00
Bobby Holley
2fd623ff39
Bug 553102 - Make content-> access default to deny if __exposedProps__ is not defined. r=mrbkap
2012-08-17 23:14:55 -07:00
Bill McCloskey
8b90d77703
Bug 783421 - Need to clear the right JIT code when setting GC zeal (r=dvander)
2012-08-17 18:47:55 -07:00
Bill McCloskey
3ffef35751
Bug 783537 - Fix some barrier accounting during JIT compilation (r=dvander)
2012-08-17 18:47:08 -07:00
Bill McCloskey
ca6a8c8bbc
Bug 783147 - Collect telemetry for SCC GC sweeping (r=mccr8)
2012-08-17 18:44:54 -07:00
Luke Wagner
73fc23bb21
Bug 783441 - Fix AliasedNameToSlot to deal with duplicate formals (r=dvander)
2012-08-17 11:21:57 -07:00
Luke Wagner
991b385fe5
Fix warnings in js/src (no bug,r=themaid)
2012-08-17 11:21:52 -07:00
Luke Wagner
1f5e26a772
Bug 783543 - add test for fix in bug 783315 (no bug, r=me)
2012-08-17 11:19:47 -07:00
Bobby Holley
e80993f0d4
Bug 695292 - Port SimpleTest.executeSoon() to SpecialPowers. r=mrbkap
...
If we just naively use the thread manager to dispatch the event via SpecialPowers,
we cannot avoid the XPCWrappedJS for the runnable being in chrome scope (even if
we pass a content object, we make the call in chrome scope, so we pass a cross-
compartment wrapper). This means that the machinery in
nsXPCWrappedJSClass::CheckForException ends up calling the error reporter for the
SpecialPowers scope, which isn't what we want.
Messing around with the implementation of CheckForException is playing with fire.
So we work around this with an explicit Cu API. :-(
2012-08-17 15:13:23 -07:00
Bill McCloskey
8bb5f2651f
Backout bug 783147 (12753a1a11b8 and 0a70fc2d7d25) for WinXP dbg M-3 failures
2012-08-17 12:55:52 -07:00
Steve Fink
51e7c767ae
Bug 756267 - Move the internal logic to only call script destroy hook if create hook was called from inside the JS engine to JSD, and add a flag for controlling it. r=jorendorff
...
--HG--
extra : rebase_source : f561d1d2acf5980f2efd9faf019317bb3306e9b1
2012-08-17 10:23:21 -07:00
Shu-yu Guo
ee7cacbd5f
Bug 778559 - Implement ParallelArray API with sequential execution (r=dmandelin)
2012-08-17 10:38:59 -07:00
Alex Crichton
3dc7275175
Bug 783030: Prevent the profiled line number from incorrectly pointing to the start. r=bhackett
2012-08-17 10:28:05 -07:00
Bill McCloskey
b34884ecdf
Bug 783147 - Send telemetry about SCC GC times (r=mccr8)
2012-08-17 10:05:11 -07:00
Bill McCloskey
68d4a146ea
Bug 783147 - Decompose compartments into SCCs for GC (r=mccr8)
2012-08-17 10:04:02 -07:00
Aryeh Gregor
8a876c035b
Bug 780474 - Set -Wno-mismatched-tags for clang; r=glandium
2012-08-14 12:10:42 +03:00
Ed Morley
7858e8e170
Backout 19ec214f806c (bug 782916), 88b802832f52 (bug 782919), f16429aa2210 (bug 780474) for Android build failures
2012-08-17 12:25:12 +01:00
Aryeh Gregor
ac0a0cdcc7
Bug 780474 - Set -Wno-mismatched-tags for clang; r=glandium
2012-08-14 12:10:42 +03:00
Gabor Krizsanits
51367636f4
Bug 779821 - safe XHR creation for sandboxes
2012-08-15 11:00:21 +02:00
Phil Ringnalda
d8f4aa9d3c
Back out e6761635f9cf (bug 695292) for Android mochitest bustage on a CLOSED TREE
2012-08-16 21:35:53 -07:00
Chris Pearce
8406326152
Bug 778640 - Backout due to burning. r=bustage
2012-08-17 16:22:25 +12:00
Gina Yeh
f86eea38b2
Bug 778640 - Final version: Firing devicedisappeared event, create nsIDOMBluetoothDeviceAddressEvent by event generator, r=qdot, r=smaug
...
---
dom/bluetooth/BluetoothAdapter.cpp | 17 +++++++++++++++-
dom/bluetooth/Makefile.in | 1 +
.../nsIDOMBluetoothDeviceAddressEvent.idl | 21 ++++++++++++++++++++
js/xpconnect/src/event_impl_gen.conf.in | 3 ++-
4 files changed, 40 insertions(+), 2 deletions(-)
create mode 100644 dom/bluetooth/nsIDOMBluetoothDeviceAddressEvent.idl
2012-08-17 12:02:52 +08:00
Brian Hackett
a9a74a44bf
Don't automatically assume that uint32array reads will produce doubles, bug 785543. r=luke
2012-08-25 06:11:55 -06:00
Marco Castelluccio
0711c896c5
Bug 783765 - Use libnotify as a dynamic library. r=glandium
2012-08-25 08:54:16 +02:00
Nicolas B. Pierron
a15cd446f1
Bug 779818 - Substitute MPhi of Magic type by the lazy argument constant. r=dvander
2012-08-06 17:23:39 -07:00
Nicolas B. Pierron
c6dcf360cb
Bug 776687 - Re-evaluate definitions in which we replaced the phis. r=dvander
2012-08-07 02:11:28 +02:00
Sean Stangl
966968ca9c
Bug 780020 - Unbox int/bool more quickly in GetPropertyCacheT on x64. r=pierron
2012-08-06 14:32:01 -07:00
Jan de Mooij
ba60137a97
Bug 780597 - Fix move emitter breakCycle to handle spilled registers. r=dvander
2012-08-06 22:42:30 +02:00
David Anderson
02b557e2ee
Merge from mozilla-central.
...
--HG--
rename : layout/base/nsFrameTraversal.cpp => layout/base/nsFrameIterator.cpp
rename : layout/base/nsFrameTraversal.h => layout/base/nsFrameIterator.h
rename : browser/modules/WebappsInstaller.jsm => toolkit/webapps/WebappsInstaller.jsm
2012-08-06 12:44:06 -07:00
David Anderson
20b1197753
Merge from mozilla-central.
2012-08-03 18:58:30 -07:00
Nicolas B. Pierron
e9cdb7efac
Bug 777537 - Ensure validity of CompilerOutput without a dangling pointer. r=bhackett
2012-08-14 18:39:16 -07:00
Nomis101
2572273dfb
Bug 782155 - Set MACOSX_DEPLOYMENT_TARGET to 10.6 for all architectures and clean up powerpc-apple code. r=ted
2012-08-12 22:50:48 +02:00
Bobby Holley
97613fe054
Bug 777628 - Do a Checked Unwrap in JS_WriteTypedArray. r=jorendorff
2012-08-14 08:31:02 -07:00
Mark Capella
9aedb93f44
Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Misc Folders, r=ted
...
Content, DOM, Image, JS, RDF, and URILoader folders
2012-08-14 10:06:17 -04:00
Andrew McCreight
b5f18e04c7
Bug 775424 - Make JSCompartmentParticipant vtable rodata. r=glandium
2012-08-14 06:35:48 -07:00
Jon Coppeard
8183ca29b5
Bug 782318 - GC: Simplify compartment GC state r=billm
2012-08-14 11:10:50 +01:00
Jon Coppeard
6a743ce3e0
Bug 782315 - GC: Cut out unnecessary work when not collecting atoms r=billm
2012-08-14 11:10:45 +01:00
Till Schneidereit
8c3fbc1224
Bug 784294 - Convert some array extras to self-hosted js implementations. r=Waldo
...
The following methods are converted:
- lastIndexOf
- indexOf
- forEach
- some
- every
- reduce
- reduceRight
--HG--
extra : rebase_source : 0c5964d0e55a5ead39805fbd3e485cdb07c53c3f
2012-08-28 14:35:15 +02:00
Till Schneidereit
926aae1659
Bug 787927 - Prevent self-hosted JS script from being registered with the debugger
...
--HG--
extra : rebase_source : ff55c210e70cd551f394c7105084b067508ef81b
2012-09-03 16:04:14 +02:00
Till Schneidereit
aa4d190b48
Bug 786743 - Disable JS minification for debug builds.
2012-09-06 17:43:22 +02:00
Siddharth Agarwal
c89ae2cf29
Merge mozilla-central to mozilla-inbound.
2012-09-06 20:28:35 +05:30
Mike Hommey
46341f0cc9
Bug 788954 - Remove export-idl rule. r=ted
2012-09-06 14:46:41 +02:00
Ed Morley
5dcf26da5e
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-09-06 10:19:16 +01:00
Ms2ger
c84831a407
Bug 763367 - Add support for [EnforceRange] and [Clamp]; r=bz
2012-09-06 09:25:03 +02:00
Ms2ger
7d03a4abff
No bug - Remove STRICT_CPLUSPLUS_SUFFIX; rs=ted
2012-09-06 09:14:49 +02:00
Ms2ger
484ce165d3
Bug 784619 - Remove JS_PROPERTY_CACHE; r=evilpie
2012-09-06 09:14:49 +02:00
Ms2ger
348aa6b524
Bug 782040 - Move ProgressEvent to event impl codegen; r=smaug
2012-09-06 09:14:49 +02:00
Steve Fink
f948088b3c
Bug 787775 - Register DataViews with their ArrayBuffers upon creation. r=luke
...
--HG--
extra : rebase_source : 22a10fe14fbaf7d9c63ae36e6542d9100d3adf8f
2012-09-05 15:00:39 -07:00
Nicholas Nethercote
109d797a76
Bug 788096 (part 3) - Rename GCConstList as CGConstList for consistency with similar types. r=jorendorff.
...
--HG--
extra : rebase_source : fbfc38c095eebcc290587a49a4548f602b34a701
2012-09-05 18:15:34 -07:00
Nicholas Nethercote
cf65d94902
Bug 788096 (part 2) - Introduce CGTryNoteList for storing try notes in the bytecode mitter. r=jorendorff.
...
--HG--
extra : rebase_source : 7f6618f65628932a4bdb875a0c3bdf8dae46f0e6
2012-09-05 18:15:16 -07:00
Nicholas Nethercote
7cd7a36c74
Bug 788096 (part 1) - Change CGObjectList to use a vector and remove ObjectBox::emitLink. r=jorendorff.
...
--HG--
extra : rebase_source : f5b8958dd6c32fe042fcf1289d464bec532bf6d2
2012-09-05 18:11:06 -07:00
Nicholas Nethercote
cc481a950e
Bug 787866 (part 3) - Remove SharedContext::fun_. r=luke.
...
--HG--
extra : rebase_source : af5e5bcb736853e4374e50ae8534f683280fe001
2012-09-04 18:09:31 -07:00
Nicholas Nethercote
9e5fdbec8a
Bug 787866 (part 2) - Don't call function-only methods on non-function SharedContexts. r=luke.
...
--HG--
extra : rebase_source : 977824f3a6ad091381dc9423d6eaf9a435262004
2012-08-30 19:32:07 -07:00
Nicholas Nethercote
4dd42b195a
Bug 787866 (part 1) - Remove unused |cx| parameter from ContextFlags(). r=luke.
...
--HG--
extra : rebase_source : 30da23506525c0dc7884d903902168c54a7098bb
2012-09-04 18:08:46 -07:00
Ed Morley
1dda1f83c0
Merge mozilla-central to mozilla-inbound
2012-09-06 12:18:37 +01:00
Aryeh Gregor
e840991a39
Bug 783523 - Fix platform-specific nsresult misuse; r=ehsan,tbsaunde,smaug
2012-08-16 14:58:11 +03:00
Jim Blandy
3a48f25122
Bug 778586: When inferring display names, handle property names that are not valid identifier names. r=acrichto
2012-09-06 03:12:18 -07:00
Jim Blandy
2bb6f7c5b7
Bug 788586: When inferring display names, handle numeric literals better. r=acrichto
2012-09-06 03:12:18 -07:00
Jim Blandy
4b9b210470
Bug 788586: Don't drop "prototype" from inferred display names. r=acrichto
2012-09-06 03:12:18 -07:00
Nicholas Nethercote
2e8ab5e354
Bug 788096 - Undo part 1 (c77231ed11be) because it regressed Talos Trace Malloc Allocs by ~1%. r=me.
...
--HG--
extra : rebase_source : 2422ef3314448f0ce7e3ee80b566d75293844e2f
2012-09-05 23:03:31 -07:00
Marty Rosenberg
c077e815a9
Subtract the correct amount in a JM->IM ic when pushing extra undefined values is necessary (bug 780054, r=dvander)
2012-08-02 18:27:41 -07:00
Eric Faust
ee8d9270ea
Bug 780003 - JSOP_ITERNEXT no longer takes an argument. (r=dvander)
2012-08-02 17:19:34 -07:00
David Anderson
347384d523
Remove the greedy register allocator (779996, r=pierron).
2012-08-02 14:40:36 -07:00
David Anderson
650885393e
MIR nodes should use CompilerRoot, not HeapPtr (bug 779812, r=sstangl).
2012-08-02 14:17:13 -07:00
David Anderson
ad194f8374
Reset Ion status in CallIC properly (bug 779380, r=jandem).
2012-08-02 14:00:58 -07:00
David Anderson
e93ecd8468
Merge from mozilla-central.
2012-08-02 13:47:20 -07:00
Benjamin Peterson
1c1e824772
Bug 780051 - Remove JS_MAX and JS_MIN. r=luke
2012-08-02 20:50:51 -07:00
Bill McCloskey
0389077d18
Bug 743112 - Incremental deferred release (r=smaug,jonco)
2012-08-02 15:35:59 -07:00