Commit Graph

22293 Commits

Author SHA1 Message Date
Nicolas B. Pierron
7eddfe50db Bug 761473 - Snapshots, use the same upper-bound variables. r=dvander 2012-08-23 23:11:16 -07:00
Nicolas Pierron
e54796e573 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
83c94d49ec Bug 785268: Clean up the style/design of the instrumentation. r=dvander 2012-08-23 18:31:02 -07:00
Brian Hackett
965fd4a70b 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
93f90669cb Assert successful return of PR_WaitCondVar, bug 785201. r=sstangl 2012-08-23 17:40:38 -06:00
Brian Hackett
f316a8bc4c 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
cc6b700bf4 Don't leak malloc'ed contents of vectors in LIRGraph, bug 774253. r=dvander 2012-08-23 16:34:23 -06:00
Alex Crichton
bef02656dd 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
30c4756c19 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
f3cf0ef464 Bug 781979 - Part 1: Template SPSInstrumentation and move it to SPSProfiler.h. r=bhackett 2012-08-23 12:40:48 -07:00
Alex Crichton
3a7dc0fdbd 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
b5fe268d16 No Bug - Fix 40-column emacs/vim tab declarations in certain files. no_r 2012-08-23 12:32:20 -07:00
Luke Wagner
a688f5b795 Bug 749371 - Break JS_ClearScope into two not-as-bad functions (r=mrbkap) 2012-08-23 11:23:28 -07:00
Siddharth Agarwal
b95f39c7d8 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
cf01c2b4c5 Bug 784029 - Revert 783505 when we drop support for gcc 4.2. r=jorendorff. 2012-08-27 15:37:34 -04:00
Ehsan Akhgari
f33b9f1461 Bug 786375 - Remove AutoScriptEvaluate::mContextHasThread since it is unused; r=bholley 2012-09-06 21:59:33 -04:00
Jeff Walden
9d8db6b467 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
65a4f01760 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
9618644f2b Add bogus --disable-ion build flag (bug 789319, r=sstangl). 2012-09-06 16:42:54 -07:00
Jan Beich
47a646240c Bug 787904 - Use 8k pagesize on FreeBSD ia64/sparc64. r=terrence 2012-09-06 21:46:47 +02:00
Jason Orendorff
06dcb661c4 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
d31e5f54fc 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
b503202d1b 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
005def8f80 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
ce886dcb0f Add ParseNode::as<T>(). Bug 788220, r=luke.
--HG--
extra : rebase_source : 41510e3bdc3f13f891ab0019c5c467534d0aca50
2012-09-06 07:58:29 -05:00
Brian Hackett
674c59919e Enable worker threads, bug 774253. 2012-08-23 08:17:48 -06:00
Brian Hackett
652656bad8 Allow compiling scripts off thread with Ion, bug 774253. r=dvander 2012-08-23 06:56:35 -06:00
Eric Faust
8bfeeee008 Bug 781855 - Ensure setprop caches allow 'own' property markings on added properties. (r=bhackett) 2012-08-22 23:21:19 -07:00
David Anderson
44cc0c4f11 Backout 4225ee7e35a0. 2012-08-22 22:23:11 -07:00
David Anderson
cf970f1f45 Backed out changeset c1b7927df546. 2012-08-22 22:19:06 -07:00
Nicolas B. Pierron
db16ad2501 Bug 783464 - Fix condition for removing the constrained output vector. r=bhackett 2012-08-22 18:27:38 -07:00
Brian Hackett
5717c18280 Allow compiling scripts off thread with Ion, bug 774253. r=dvander 2012-08-22 19:00:33 -06:00
Sean Stangl
00273dffab Bug 784568 - Build on foreign compilers. no_r 2012-08-22 17:54:45 -07:00
Sean Stangl
a0de22ce01 Bug 784568 - Refactor calls for clarity. r=dvander 2012-08-22 16:57:06 -07:00
David Anderson
188c88907e Merge from mozilla-central. 2012-08-22 16:09:24 -07:00
David Anderson
f953d0daae Fix merge bustage. 2012-08-21 18:58:10 -07:00
David Anderson
1ef4c57410 Merge from mozilla-central. 2012-08-21 15:59:12 -07:00
Eric Faust
497dfe5e4e Bug 781387 - Codegen infallibility data for Paris bindings methods. (r=peterv) 2012-09-04 14:46:38 -04:00
Brian O'Keefe
a33b199401 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
57aaf7bba6 Try to flush the instruction/data cache less frequently (bug 781510, r=dvander) 2012-08-21 11:12:39 -04:00
Nicolas B. Pierron
b4a3a859dd 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
5e7859bd23 Bug 784015 - Fix division by 0 when calling ParallelArray.prototype.partition (r=dmandelin) 2012-08-20 22:02:18 -07:00
Shu-yu Guo
f589c14e25 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
cd0e42e626 Bug 783923 - Fix calling toString on an empty ParallelArray (r=dmandelin) 2012-08-20 22:02:04 -07:00
Bobby Holley
da84660fd1 Backed out changeset 61e9eaf9aae2
--HG--
extra : rebase_source : 30fb2e7a057482412d29a96f8b8e98135beb6a79
2012-08-20 21:07:07 -07:00
Bobby Holley
e4a6e10695 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
030d7d8ff9 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
d91593dc3f Bug 783989 - Return false after reporting error. r=ejpbruel 2012-08-20 14:04:26 -07:00
Gina Yeh
b9012edcf5 Bug 783454 - v1: Create devicefound event with event generator, r=qdot 2012-08-21 10:54:28 +08:00
Kannan Vijayan
f5fbf900f3 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
f41cc9da17 Bug 783464 - Fix condition for removing the constrained output vector. r=bhackett 2012-08-20 13:10:05 -07:00
Mike Hommey
6d0f18d429 Bug 783950 - Refresh libffi patches. r=ted 2012-08-20 08:57:13 +02:00
Eric Faust
afde7fde58 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
fd6829f7c8 Bug 783574 - Remove useMethodJIT, it was not always updated correctly. r=dvander 2012-08-18 10:01:24 +02:00
Nicholas Nethercote
02a17d8ea9 Bug 784608 (part 8) - Remove FunctionBox::parent. r=luke.
--HG--
extra : rebase_source : 4cd9ee4acfdbcd262967fbebf536e8713abd5b56
2012-08-23 20:06:40 -07:00
Nicholas Nethercote
440f66cd8a 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
230074bf69 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
fdc6f399fd 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
567dc0920b Bug 784608 (part 4) - Remove FunctionBox::inAnyDynamicScope. r=jimb.
--HG--
extra : rebase_source : 22ce4b1e4e1fe7dffa6a28ce59087926d3ef5b93
2012-08-22 17:50:35 -07:00
Nicholas Nethercote
f8b702a39f Bug 784608 (part 3) - Remove FunctionBox::node. r=jimb.
--HG--
extra : rebase_source : 6fdb125d6d7362987f52e3c3e552d002daf544c3
2012-08-22 17:25:55 -07:00
Nicholas Nethercote
4e8316615c Bug 784608 (part 2) - Remove FunctionBox::level. r=jimb.
--HG--
extra : rebase_source : 0e887c586df02cf84f16816457a6f22e004b34bf
2012-08-22 17:25:53 -07:00
Nicholas Nethercote
19c7ca4aaa 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
1bf739b2d2 Bug 784873 - Improve ParallelArray jit-test code (r=dvander) 2012-08-26 12:02:42 -07:00
Jason Orendorff
f9227f858d Bug 778851 - Disable E4X in content by default. 2012-08-26 09:04:33 -05:00
Mike Hommey
397a7e6544 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
ac0cb4e571 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
91f5c6156c Bug 783290 - LMathD should allow memory operands on x86/x64. r=dvander 2012-08-17 09:40:33 +02:00
David Anderson
3da139adc8 Forbid JITing annotated frames (bug 763233, r=mrbkap,jandem). 2012-08-16 18:26:11 -07:00
Nicholas Nethercote
05e9db6ab1 Bug 770865 - Rename TreeContext as ParseContext. r=luke.
--HG--
extra : rebase_source : 91846a909a39ca08aae0e6ccd7a9e5e533775324
2012-08-16 17:04:54 -07:00
David Anderson
565400115a Merge from mozilla-central. 2012-08-16 14:04:20 -07:00
Brian Hackett
e4527e1b76 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
0a52f99fae 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
d52687ed20 Remove JS_FrameIterator (bug 732653, r=luke,mrbkap). 2012-08-15 17:28:33 -07:00
David Anderson
6fe112e8bf Merge from mozilla-central. 2012-08-15 14:22:26 -07:00
Shu-yu Guo
f565ae544d Bug 784201 - Use maybeShortid to print out shortid in Shape::dump (r=luke) 2012-08-20 17:04:45 -07:00
Ryan VanderMeulen
f12fa88179 Merge m-c to inbound. 2012-08-20 20:21:35 -04:00
Olli Pettay
baa2eb76c7 Bug 783856 - Autogen PopupBlockedEvent, r=jst 2012-08-20 11:26:34 -07:00
Olli Pettay
16a0618b95 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
86bd51ea45 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-20 16:45:41 +01:00
Rafael Ávila de Espíndola
45552fbbef 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
6a9fa4c810 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
650050edd4 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
52fc19d5d1 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
ca12a195c0 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
7e353e83b9 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
7f175f0bf6 Bug 783464 - Fix condition for removing the constrained output vector. r=bhackett 2012-08-20 13:12:43 -07:00
Gina Yeh
392f4dff11 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
51613961ca Rolling back patch for bug 782432. Causes regressions in 32-bit SS. 2012-08-15 13:03:10 -04:00
Eric Faust
b1559913eb Bug 782869 - Fix incorrect |this| parameter passing to specialized DOM methods. (r=dvander) 2012-08-15 00:14:20 -07:00
David Anderson
b95f463253 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
13629111b2 Bug 777537 - Ensure validity of CompilerOutput without a dangling pointer. r=bhackett 2012-08-15 01:39:25 +02:00
Sean Stangl
f6e9c3b768 Bug 782776 - Add beginsIonActivation() to StackFrame. r=dvander 2012-08-14 16:28:05 -07:00
Eric Faust
5ee7d8e98d 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
013577de49 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
a31e5baded Merge from mozilla-central. 2012-08-14 12:20:09 -07:00
Sean Stangl
69f167ac52 Bug 782129 - GetPcScript() should use the Ion version when callingIntoIon(). r=dvander 2012-08-13 18:14:55 -07:00
Kannan Vijayan
9773cee987 Bug 782432 - Ion-compile small functions more aggressively. (r=dvander) 2012-08-13 19:41:17 -04:00
David Anderson
7ef28ac5ac Merge from mozilla-central. 2012-08-13 13:40:42 -07:00
Tom Schuster
f0fd4f5682 Bug 782077 - IonMonkey: Remove MIRType_Any and MIRType_UpvarSlots. r=jandem 2012-08-13 15:02:43 +02:00
Brian Hackett
34c388b203 Preserve types when swapping objects, bug 774953. r=dvander 2012-08-13 23:25:16 -06:00
Nicholas Nethercote
613f8f933c Bug 782487 - Remove traces of JSStaticAtom. r=billm.
--HG--
extra : rebase_source : 89e892e3e6ca04f0c19747f189535b3e3ae95d77
2012-08-13 20:02:51 -07:00
Alexander Boldyrev
45a38ebb0b Bug 738866 - Implement WEBGL_depth_texture extension - r=jgilbert 2012-08-13 18:17:55 -07:00
Brian Hackett
c6ce57ce13 Don't generate missing property ICs for non-native objects, bug 782146. r=luke 2012-08-13 18:51:52 -06:00
Nicholas Nethercote
d5bb285d32 Bug 781722 - Loosen over-tight assertion in JS_GetGlobalForScopeChain.
--HG--
extra : rebase_source : eb94fcced7bc3584de4c43ca511d3d7c0ed3dc20
2012-08-12 16:40:58 -07:00
Nicholas Nethercote
539c810754 No bug - Fix some JSString comments. r=luke, DONTBUILD because comment-only changes. 2012-08-13 16:35:45 -07:00
Sean Stangl
049a509802 Bug 781985 - visitCallDOMNative() must dropArguments(). r=efaust 2012-08-10 18:05:04 -07:00
David Anderson
64aae39e91 Remove parallelarray tests. 2012-08-10 15:49:43 -07:00
David Anderson
a86553e6e6 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
ec11ba4733 Fix typo in rebase of bug 759205. 2012-08-10 15:36:08 -07:00
David Anderson
6497a31d87 Propagate stack overrecursion errors through ion::Bailout (bug 759205 part 2, r=pierron). 2012-08-10 15:29:48 -07:00
David Anderson
02e4709209 Factor out common bailout generation code (bug 759205 part 1, r=sstangl,mjrosenb). 2012-08-10 15:14:21 -07:00
David Anderson
f338a91404 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
efd9a9feee Merge from mozilla-central. 2012-08-10 14:50:20 -07:00
Sean Stangl
5107b7b160 Bug 781680 - Track IonCode in MemoryMetrics. r=dvander 2012-08-10 11:32:57 -07:00
Kannan Vijayan
f7b14e9325 Bug 780842 - Check for normalized type id in annotateGetPropertyCache. (r=jandem) 2012-08-10 11:10:23 -04:00
Kannan Vijayan
8fdbbd3ceb Add ion-eager file flag to jit-tests. (r=jandem) 2012-08-10 11:09:30 -04:00
Tom Schuster
8cc3e6c3e3 Bug 764477 - IonMonkey: Inline Math.max and Math.min. r=jandem, mrosenberg 2012-08-10 14:17:26 +02:00
David Anderson
c77c33749b Fix x64 bustage, part 2.
--HG--
extra : rebase_source : 3389115aa9d3898482bf8cecacf802ba2033ca7c
2012-08-09 23:16:26 -07:00
Hannes Verschore
01a1da80bf Bug 781248, eagerly allocate arrays with argument count higher than 1 2012-08-10 03:11:56 +02:00
Hannes Verschore
c5dfb39b3f Back out b07af1efa3dd (Bug 781248) for better fix 2012-08-10 03:01:52 +02:00
David Anderson
133fe06f47 Fix ARM bustage. 2012-08-09 17:52:59 -07:00
David Anderson
447c479dc0 Fix x64 bustage. 2012-08-09 17:19:31 -07:00
David Anderson
bc1eeba083 Overhaul safepoints on X64 to correctly mark Values (bug 779390, r=pierron). 2012-08-09 17:12:34 -07:00
David Anderson
16caf5a06d 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
24b3923567 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
20c60a5e93 Make sure |new Array| can take the slow allocation path (bug 781248, r=pierron). 2012-08-09 13:44:29 -07:00
David Anderson
b620fb6c5c Merge from mozilla-central. 2012-08-09 13:41:13 -07:00
Nicolas B. Pierron
d7aeebe000 Bug 780451 - ReconstructPCStack: Use hidden pcdepth after branching with a hidden goto. r= 2012-08-09 20:33:21 +02:00
Nicolas B. Pierron
84efde386e Bug 780274 - Remove & Invalidate pending compilation when sweeping. r=bhackett 2012-08-09 20:19:58 +02:00
Hannes Verschore
5e83c1314d Bug 766752: Add trace logging, r=jandem 2012-08-09 15:29:21 +02:00
Jan de Mooij
9fbd4a70ad 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
bbb3338389 Bug 779245 - Fix isConstructing when JM is calling into Ion. r=dvander 2012-08-08 17:19:02 -07:00
Eric Faust
0c664efd4e Bug 773549 - Implemented inlined calls to specialized DOM methods. (r=sstangl) 2012-08-08 17:02:46 -07:00
Eric Faust
f086d02bd6 Bug 747288 - Implemented inlined calls to specialized DOM accessors. (r=sstangl) 2012-08-08 17:02:46 -07:00
Sean Stangl
9748453131 Bug 781368 - Fold TypeOf strings in MConstant. r=efaust 2012-08-08 16:32:15 -07:00
Kannan Vijayan
8f231bb35d Bug 731214 - Fix nit that I forgot to fix before pushing. (r=mjrosenb) 2012-08-08 18:57:57 -04:00
Kannan Vijayan
508a7669ce 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
1528e73f0a 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
c31671f405 Bug 781945 - Improve GC telemetry (r=mccr8) 2012-08-13 10:30:44 -07:00
David Anderson
6c6f8f0f70 Fix CompilerRootNode misuse in MIR (bug 781022, r=kvijayan). 2012-08-08 15:16:56 -07:00
David Anderson
c9ca5124db Merge from mozilla-central. 2012-08-08 15:09:49 -07:00
Ehsan Akhgari
2795937cf4 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
2cc047017f Bug 579517 - Part 2: Make the IDL parser aware of stdint types; r=bsmedberg 2012-08-22 11:57:22 -04:00
Ehsan Akhgari
0fd9123eac 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
54fafb5e95 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
aa780996c2 Bug 783924 - Part 2: Fix TI assertion in ParallelArray constructor (r=bhackett) 2012-08-21 12:29:47 -07:00
Shu-yu Guo
63f35e865e 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
d80b30ab38 Make JSObject::doSomethingToThisObject methods static, bug 782646. r=terrence 2012-08-21 13:13:28 -06:00
Bobby Holley
625511572e 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
083ee54000 Bug 774915 - don't use the property cache for dynamic name lookup (r=bhackett) 2012-08-17 18:09:43 -07:00
Luke Wagner
d2b8e1571a Bug 783978 - disallow duplicated argument names when default arguments are used (r=jorendorff) 2012-08-20 13:45:54 -07:00
Irving Reid
0e5ea6e34a 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
74c3890d5f Bug 782993 - Part 2: Tidy unused parts of FreeOp r=billm 2012-08-21 09:58:30 +01:00
Jon Coppeard
a031bef656 Bug 782993 - Part 1: Always sweep background things at the end r=billm 2012-08-21 09:47:15 +01:00
Jon Coppeard
805b2a0428 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
65a6f4f28e 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
f1cd2ae670 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
c4a69187f4 Bug 780860 - Mark some instructions as movable. r=dvander 2012-08-08 14:54:39 +02:00
Nicolas B. Pierron
d611f5686d Bug 779841 - Escape inline cache if invalidated by the lookup. r=dvander 2012-08-07 18:31:11 -07:00
David Anderson
3ffd33a2cb Merge from mozilla-central. 2012-08-07 15:13:28 -07:00
Sean Stangl
bbe407f1dd Bug 780052 - Handle some Double comparisons by coercion. r=jandem 2012-08-07 14:23:22 -07:00
Saurabh Anand
d331c76300 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
b1d4b54be1 Bug 783016 - Make space for Int32 string type. r=luke 2012-08-18 18:15:51 +02:00
Mike Hommey
146619b99c Bug 781529 - Use -MMD flag for dependency generation instead of -MD. r=ted 2012-08-18 11:17:48 +02:00
Mike Hommey
daa472b3d2 Bug 781461 - Work around mksh/pdksh bug in config.status.m4. r=ted 2012-08-18 11:17:29 +02:00
Bobby Holley
4a569927e2 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
381a34c2d9 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
76324ce990 Bug 783537 - Fix some barrier accounting during JIT compilation (r=dvander) 2012-08-17 18:47:08 -07:00
Bill McCloskey
d2442e81a4 Bug 783147 - Collect telemetry for SCC GC sweeping (r=mccr8) 2012-08-17 18:44:54 -07:00
Luke Wagner
e189f52b5a Bug 783441 - Fix AliasedNameToSlot to deal with duplicate formals (r=dvander) 2012-08-17 11:21:57 -07:00
Luke Wagner
6f88ac1eaa Fix warnings in js/src (no bug,r=themaid) 2012-08-17 11:21:52 -07:00
Luke Wagner
77b4a5d492 Bug 783543 - add test for fix in bug 783315 (no bug, r=me) 2012-08-17 11:19:47 -07:00
Bobby Holley
a4ec7a6646 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
c055d5c416 Backout bug 783147 (12753a1a11b8 and 0a70fc2d7d25) for WinXP dbg M-3 failures 2012-08-17 12:55:52 -07:00
Steve Fink
d8dd0b3c22 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
500ef454b7 Bug 778559 - Implement ParallelArray API with sequential execution (r=dmandelin) 2012-08-17 10:38:59 -07:00
Alex Crichton
6114da03ec 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
11bc34c5ce Bug 783147 - Send telemetry about SCC GC times (r=mccr8) 2012-08-17 10:05:11 -07:00
Bill McCloskey
8861b08a08 Bug 783147 - Decompose compartments into SCCs for GC (r=mccr8) 2012-08-17 10:04:02 -07:00
Aryeh Gregor
03c970d57f Bug 780474 - Set -Wno-mismatched-tags for clang; r=glandium 2012-08-14 12:10:42 +03:00
Ed Morley
8f4f1ad013 Backout 19ec214f806c (bug 782916), 88b802832f52 (bug 782919), f16429aa2210 (bug 780474) for Android build failures 2012-08-17 12:25:12 +01:00
Aryeh Gregor
a23d8e7b07 Bug 780474 - Set -Wno-mismatched-tags for clang; r=glandium 2012-08-14 12:10:42 +03:00
Gabor Krizsanits
beaf6f99b2 Bug 779821 - safe XHR creation for sandboxes 2012-08-15 11:00:21 +02:00
Phil Ringnalda
8c55938528 Back out e6761635f9cf (bug 695292) for Android mochitest bustage on a CLOSED TREE 2012-08-16 21:35:53 -07:00
Chris Pearce
0b56ddc818 Bug 778640 - Backout due to burning. r=bustage 2012-08-17 16:22:25 +12:00
Gina Yeh
e1defc266b 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
df200b5a5b Don't automatically assume that uint32array reads will produce doubles, bug 785543. r=luke 2012-08-25 06:11:55 -06:00
Marco Castelluccio
222f4ad1f9 Bug 783765 - Use libnotify as a dynamic library. r=glandium 2012-08-25 08:54:16 +02:00
Nicolas B. Pierron
16613daef0 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
d751ff854a Bug 776687 - Re-evaluate definitions in which we replaced the phis. r=dvander 2012-08-07 02:11:28 +02:00
Sean Stangl
3f39e4ea1f Bug 780020 - Unbox int/bool more quickly in GetPropertyCacheT on x64. r=pierron 2012-08-06 14:32:01 -07:00
Jan de Mooij
80cca94870 Bug 780597 - Fix move emitter breakCycle to handle spilled registers. r=dvander 2012-08-06 22:42:30 +02:00
David Anderson
9c45c01c55 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
ac219f63e6 Merge from mozilla-central. 2012-08-03 18:58:30 -07:00
Nicolas B. Pierron
c41967887d Bug 777537 - Ensure validity of CompilerOutput without a dangling pointer. r=bhackett 2012-08-14 18:39:16 -07:00
Nomis101
c7ab28638d 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
49d3dd3a82 Bug 777628 - Do a Checked Unwrap in JS_WriteTypedArray. r=jorendorff 2012-08-14 08:31:02 -07:00
Mark Capella
7e0b8d3bac 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
44c472edff Bug 775424 - Make JSCompartmentParticipant vtable rodata. r=glandium 2012-08-14 06:35:48 -07:00
Jon Coppeard
24cc5534bb Bug 782318 - GC: Simplify compartment GC state r=billm 2012-08-14 11:10:50 +01:00