Commit Graph

22399 Commits

Author SHA1 Message Date
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
Jon Coppeard
f877c852d1 Bug 782315 - GC: Cut out unnecessary work when not collecting atoms r=billm 2012-08-14 11:10:45 +01:00
Till Schneidereit
2d778cd95d 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
212a9e1b60 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
78c32a0f22 Bug 786743 - Disable JS minification for debug builds. 2012-09-06 17:43:22 +02:00
Siddharth Agarwal
c1c7e26b7a Merge mozilla-central to mozilla-inbound. 2012-09-06 20:28:35 +05:30
Mike Hommey
88dc62dcc0 Bug 788954 - Remove export-idl rule. r=ted 2012-09-06 14:46:41 +02:00
Ed Morley
c6d2c20860 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-09-06 10:19:16 +01:00
Ms2ger
6b6c1230f5 Bug 763367 - Add support for [EnforceRange] and [Clamp]; r=bz 2012-09-06 09:25:03 +02:00
Ms2ger
edc358740e No bug - Remove STRICT_CPLUSPLUS_SUFFIX; rs=ted 2012-09-06 09:14:49 +02:00
Ms2ger
848f0e8e1d Bug 784619 - Remove JS_PROPERTY_CACHE; r=evilpie 2012-09-06 09:14:49 +02:00
Ms2ger
358f7a91f3 Bug 782040 - Move ProgressEvent to event impl codegen; r=smaug 2012-09-06 09:14:49 +02:00
Steve Fink
6e1904318d 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
c40326b6ae 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
44e390c3a9 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
d589cadfb2 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
c03a995def Bug 787866 (part 3) - Remove SharedContext::fun_. r=luke.
--HG--
extra : rebase_source : af5e5bcb736853e4374e50ae8534f683280fe001
2012-09-04 18:09:31 -07:00
Nicholas Nethercote
3ed7a5134f 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
c3971a78e0 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
6c2f1a70b4 Merge mozilla-central to mozilla-inbound 2012-09-06 12:18:37 +01:00
Aryeh Gregor
5a68b81a9b Bug 783523 - Fix platform-specific nsresult misuse; r=ehsan,tbsaunde,smaug 2012-08-16 14:58:11 +03:00
Jim Blandy
d8e94e9948 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
e59cf6d57b Bug 788586: When inferring display names, handle numeric literals better. r=acrichto 2012-09-06 03:12:18 -07:00
Jim Blandy
89f582f5b1 Bug 788586: Don't drop "prototype" from inferred display names. r=acrichto 2012-09-06 03:12:18 -07:00
Nicholas Nethercote
7df7fbc4ed 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
f38ca79ff6 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
ad0e09e9c6 Bug 780003 - JSOP_ITERNEXT no longer takes an argument. (r=dvander) 2012-08-02 17:19:34 -07:00
David Anderson
ff0009fda2 Remove the greedy register allocator (779996, r=pierron). 2012-08-02 14:40:36 -07:00
David Anderson
ad54acda58 MIR nodes should use CompilerRoot, not HeapPtr (bug 779812, r=sstangl). 2012-08-02 14:17:13 -07:00
David Anderson
0cffb160eb Reset Ion status in CallIC properly (bug 779380, r=jandem). 2012-08-02 14:00:58 -07:00
David Anderson
ef13f46623 Merge from mozilla-central. 2012-08-02 13:47:20 -07:00
Benjamin Peterson
90c89222f7 Bug 780051 - Remove JS_MAX and JS_MIN. r=luke 2012-08-02 20:50:51 -07:00
Bill McCloskey
92f8b9be64 Bug 743112 - Incremental deferred release (r=smaug,jonco) 2012-08-02 15:35:59 -07:00
Kannan Vijayan
28f97acedf Bug 779813 - Clean up stack when inlining NaN-yielding Math functions. (r=sstangl) 2012-08-02 15:20:13 -04:00
Doug Turner
95b32b3331 Bug 763976 - Add onchange notifications to DeviceStorage. r=khuey 2012-08-01 23:29:34 -07:00
Nicolas B. Pierron
e371faf3c9 Bug 776687 - Add test case. r=me, DONTBUILD 2012-08-01 14:54:04 -07:00
Nicolas B. Pierron
bf32be4412 Bug 776687 - Remove MPhi with redundant operands. r=dvander 2012-08-01 14:42:57 -07:00
Eric Faust
ec43218a83 Bug 779631 - Don't inline calls to setters on watched singleton objects. (r=dvander) 2012-08-01 14:18:47 -07:00
David Anderson
8cca0afc1c Move AutoCopyFreelistsToArenas to not conflict with GC (bug 779328, r=billm).
--HG--
extra : rebase_source : 8c5d9c1303881a97bb4e326b15a90a2e1c14542e
2012-08-01 13:42:55 -07:00
Kannan Vijayan
d2ddd81920 Bug 770231 - Fix return from inlined constructor bug. (r=mjrosenb) 2012-08-01 16:23:24 -04:00
Brian Hackett
6c4d57b26e Decouple JSContext from Ion backend, bug 774253. r=dvander 2012-08-01 13:23:30 -06:00
Ryan VanderMeulen
3b08dc58a5 Merge m-c to inbound. 2012-08-01 22:23:43 -04:00
Ryan VanderMeulen
553951b7d6 Merge the last PGO-green inbound changeset to m-c. 2012-08-01 22:18:33 -04:00
Eric Faust
012112cde8 Bug 752223 - Implement JS_NumberValue(), replacing JS_NewNumberValue(). (r=luke) 2012-08-01 17:59:47 -07:00
David Anderson
004b0b22cc Merge. 2012-08-01 11:30:36 -07:00
David Anderson
bee6a61001 Merge.
--HG--
rename : content/base/src/nsGenericElement.h => content/base/public/FragmentOrElement.h
rename : content/base/src/nsGenericElement.cpp => content/base/src/FragmentOrElement.cpp
rename : gfx/thebes/nsCoreAnimationSupport.mm => gfx/2d/QuartzSupport.mm
2012-08-01 11:30:00 -07:00
Kannan Vijayan
fc1aee4b77 Bug 770309 - Fuse poly-ICs with poly-inlining. (r=jandem) 2012-08-01 14:20:44 -04:00
Ed Morley
b5c712e1ca Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-01 18:36:33 +01:00
Olli Pettay
4c2811f3c2 Bug 777278 - Implement nsIDOMStorageEvent using event implementation codegen, r=mayhemer 2012-08-01 19:17:19 +03:00
Olli Pettay
3083c0bdec Bug 777285 - Autogenerate SettingsEvent implementation, r=anygregor
--HG--
extra : rebase_source : 038f38a4f9efae15a3fbf4236c4456bf9cfa4577
2012-08-01 12:48:35 +03:00
Jan de Mooij
0fd0266c0b Bug 779125 - Fix LBoundsCheck to use an unsigned comparison if both operands are constant. r=dvander 2012-08-01 09:32:00 +02:00
Jan de Mooij
251a2d9b7a Bug 779093 - Fix --disable-methodjit orange. r=dvander 2012-08-01 09:30:39 +02:00
Shu-yu Guo
f48c3ae2ea Bug 771871 - Fix loading doubles into return regs in JM call IC when call/apply lowering speculation fails. r=bhackett 2012-08-01 17:25:34 -07:00
Siddharth Agarwal
b144619367 Bug 779688 - jstests.py invocation should have a $(PYTHON) in front. r=terrence 2012-08-02 05:26:39 +05:30
Jason Orendorff
f6e732fc77 Bug 677032, r=jimb 2012-08-01 16:49:35 -07:00
Sean Stangl
861d2a0258 Bug 772892 - Follow-up: hack around regalloc misassignation. no_r 2012-07-31 22:44:22 -07:00
Sean Stangl
5be5763e39 Bug 779369 - Define input() and output() on LInstructionHelper. r=dvander 2012-07-31 21:09:32 -07:00
Sean Stangl
8c2b614697 Bug 779361 - Reuse input in LAbsD and LSqrtD. r=pierron 2012-07-31 20:48:26 -07:00
Eric Faust
3867cd5a59 Bug 749535 - Part 1: Implement JS_UnwrapObjectAs*Array(). (r=bhackett) 2012-07-31 20:31:55 -07:00
Eric Faust
e8671110a6 Backout changesets 6e78bc0145ee, 97a1463cde9c, and 9097d0b3acc6 (Bug 749535) for
erroneous bug number (r=me).
2012-07-31 20:24:32 -07:00
Eric Faust
4b4b99426d Bug 779015 - Make JS_Is*Array() not throw. (r=bhackett) 2012-07-31 20:08:32 -07:00
Eric Faust
67031a4d40 Bug 749535 - Part 1: Implement JS_UnwrapObjectAs*Array(). (r=bhackett) 2012-07-31 20:05:19 -07:00
Sean Stangl
8bc23053db Bug 772892 - Optimize Math.pow(). r=jandem,mjrosenb 2012-07-31 20:04:42 -07:00
Benjamin Peterson
5bbb4f7f06 Bug 779017 - Give every JSScript a ScriptSource. r=jorendorff 2012-07-31 19:18:22 -07:00
Bill McCloskey
ab12c4e424 Bug 767209 - Consider changing GC slice time, or making it dynamic (r=terrence,smaug) 2012-07-31 18:39:39 -07:00
Bill McCloskey
881223e60f Bug 778993 - Separate runtime's gcMallocBytes from compartment's gcMallocBytes Bug 778993 - Separate runtime's gcMallocBytes from compartment's gcMallocBytes (r=gwagner) 2012-07-31 18:33:29 -07:00
David Anderson
6e79956e2a Fix ARM build. 2012-07-31 17:47:49 -07:00
David Anderson
9929d37fcc Merge from mozilla-central. 2012-07-31 17:19:41 -07:00
Benjamin Peterson
5d39a769b8 Bug 779347 - Add AutoFile to automatically handle the closing of FILE *. r=jimb 2012-07-31 17:35:46 -07:00
David Anderson
b39dab49cc Add JM inline cache for calling into Ion (bug 775818, r=jandem,pierron). 2012-07-30 17:19:10 -07:00
Nicolas B. Pierron
d16a07caf3 Bug 774624 - Fix unexpected TypeError messages. r=dvander
1/ Use JSOP_GOTO to skip unreachable code in ReconstructPCStack.
2/ Abstract slot iteration in js_DecompileValueGenerator.
2012-07-30 16:42:17 -07:00
Mike Habicher
d753b0fbff Bug 740997 - ICS camera support, r=jst,gal,roc 2012-07-30 17:59:05 -04:00
Andrew McCreight
bd753fa986 Bug 761422, part 4 - Don't try to be a hero in ReparentWrapperIfFound. r=bholley 2012-07-30 21:02:00 -07:00
Andrew McCreight
c50ae146b8 Bug 761422, part 3 - get security wrappers before changing maps. r=bholley 2012-07-30 21:01:59 -07:00
Andrew McCreight
c9f8cbe106 Bug 761422, part 2 - guard against double reflectors on failure in ReparentWrapperIfFound. r=bholley 2012-07-30 21:01:59 -07:00
Andrew McCreight
f0b4fb0eb9 Bug 761422, part 1 - Clone before we adjust XPC maps in ReparentWrapperIfFound. r=bholley 2012-07-30 21:01:59 -07:00
David Anderson
644c651c3e Merge from mozilla-central. 2012-07-30 13:15:39 -07:00
Jan de Mooij
ba42c1120a No bug - Add Compile to js::ion namespace to fix Clang build. r=dvander 2012-07-30 20:43:44 +02:00
Jan de Mooij
9c9d8f999b Bug 776880 - Fix dropArguments call in CallConstructor to include |this|. r=dvander 2012-07-30 20:37:14 +02:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Simon Montagu
464ccc6441 Use printf instead of sed to prevent lots of blank lines in console output from make -s. Bug 756382, r=ted 2012-08-07 01:42:45 -07:00
Mike Hommey
51f3c90718 Bug 777892 - Link CPP_UNIT_TESTS against zlib when linking js statically. r=khuey 2012-08-07 09:30:01 +02:00
Mike Hommey
b6f9bfdad5 Bug 773202 - Generic install/copy rule. r=ted 2012-08-07 09:29:59 +02:00
Shu-yu Guo
97705238c0 Refactor |Compile| to be templated and not use fp (bug 773339, r=dvander). 2012-07-29 11:52:45 -07:00
Peter Van der Beken
e44f9e5a3d Bug 753517 part 5. Enable the list IC for new DOM bindings too. r=bz. 2012-08-24 09:32:26 -07:00
Boris Zbarsky
31276eb444 Bug 753517 part 4. Set up auto-generation of CSS2Properties.webidl from nsCSSPropList.h and enable Paris bindings for CSSStyleDeclaration and CSS2Properties. r=khuey,peterv,dbaron 2012-08-23 21:08:09 -07:00
Dave Herman
7d300c9cb6 Bug 632027 - comma expressions in array literals are discarded. r=jorendorff 2012-08-24 16:54:40 -07:00
Mike Hommey
32a6095cde Bug 777379 - Ensure that default is always the default target. r=ted 2012-08-08 09:33:16 +02:00
Eric Faust
3e8a5ebf81 Bug 781040 - Fault in methods and accessors with JSJitinfos on ResolveProperty. (r=bz,benjamin) 2012-08-07 22:26:19 -07:00
Eric Faust
d716d6a9f9 Bug 773546 - Part 1: Punch an API hole to retrieve stored JSJitInfos. (r=luke) 2012-08-07 22:26:19 -07:00
Eric Faust
17695b5079 Bug 775788 - Modify JSFunctionSpec to accept JSJitInfos. (r=luke) 2012-08-07 22:26:19 -07:00
Boris Zbarsky
a00c8cb2bd Bug 747287 - Part 3: Add callback interface to allow JIT to interrogate DOM. (r=peterv) 2012-08-07 22:26:18 -07:00
Eric Faust
b451a97a53 Bug 747287 - Part 1: Generate JSJitInfos and specialized accessors for Paris bindings. (r=peterv) 2012-08-07 22:26:18 -07:00
Eric Faust
a57b8f95a2 Bug 766448 - Refactor JSPropertySpec and JS_DefineProperties to accept JSJitInfos. (r=Waldo) 2012-08-07 22:26:18 -07:00
Ehsan Akhgari
c07a591588 Bug 785500 - Remove the unused CrossScriptSSA::cx member; r=luke 2012-08-24 17:14:18 -04:00
Jan de Mooij
86a14e256e Implement JSOP_MOD for doubles (bug 716694, r=dvander). 2012-07-24 16:39:17 +02:00
David Anderson
4629ab9e30 Backout due to orange. 2012-07-27 17:17:26 -07:00
David Anderson
d5d034403d Backed out changeset a9addbf7e526 2012-07-27 17:16:35 -07:00
Jan de Mooij
f2854d9e1f [mq]: heur 2012-07-24 16:39:17 +02:00
David Anderson
b6122238ca Include loop entry types when determining OSR types (bug 774644, r=jandem). 2012-07-27 16:13:02 -07:00
David Anderson
ae05820ccb Fix typo in recent merge. 2012-07-27 14:57:07 -07:00
Jan de Mooij
84cd45ba36 Don't go through GetPcScript to monitor AddValue edge cases (bug 776022, r=dvander). 2012-07-27 13:12:30 -07:00
Jan de Mooij
2f2dc17c45 Fix hasLazyType assertion (bug 777647, r=dvander). 2012-07-27 13:08:24 -07:00
David Anderson
88ed1ce560 Merge from mozilla-central. 2012-07-26 18:19:02 -07:00
Nicolas B. Pierron
aea7716358 Bug 776748 - Do not invalidate ionScript when JM is invalidated. r=dvander 2012-07-26 11:17:31 -07:00
Jan de Mooij
ea0eea0a14 Backout 72bd41f8ca61 (bug 777383) to see if it fixes a sunspider regression on 64-bit. 2012-07-26 17:37:09 +02:00
Sean Stangl
a95da4759c Bug 777570 - visitMathFunctionD() should be isCall(). r=dvander 2012-07-25 17:10:20 -07:00
David Anderson
83c5be4f84 Merge from mozilla-central. 2012-07-25 14:30:08 -07:00
David Anderson
4d4c08d682 Backed out changeset eef915d5a18f 2012-07-25 02:08:41 -07:00
Nicolas B. Pierron
241df5e8da Bug 776748 - Do not invalidate ionScript when JM is invalidated. r=dvander 2012-07-24 17:50:51 -07:00
Nicolas Pierron
6e5bc1a856 Bug 767349 - Track bad resume points when snapshots are encoded. r=dvander 2012-07-24 17:24:42 -07:00
Nicolas B. Pierron
449a70f3bc Bug 767349 - Simulate hidden instructions when the target is hidden. r=luke 2012-07-24 17:24:42 -07:00
David Anderson
5fc5a16b63 Merge from mozilla-central. 2012-07-24 16:32:08 -07:00
Olli Pettay
f2659bf421 Bug 777074 - dictionary_helper_gen.py doesn't handle 'unsigned long' types, r=khuey 2012-07-25 01:59:22 +03:00
Ed Morley
853788ef5a Backout eecd3aa199e6 (bug 776305), 62facd5b3da9, c6a0ac7d47d2 & 2d56621abfee (bug 776035), e4e68cf2bd40 (bug 776016), 0853a4d49b4e & 31de6ffdedcb (bug 770426), 43a69b4981f5 (bug 756786) for Windows mochitest crashes 2012-07-25 09:35:32 +01:00
Eric Faust
6b01b23e1f Bug 749536 - Implement JS::ToBoolean to fastpath Value to Boolean unwrappings. (r=luke) 2012-07-24 22:59:55 -07:00
Mike Hommey
cff1883594 Bug 776305 - Fix building spidermonkey with system zlib after bug 761723. r=khuey 2012-07-25 07:44:08 +02:00
Mike Hommey
d01edc7116 Bug 776016 - Avoid Preprocessor.py warning when no commands are processed, but filters are. r=ted 2012-07-25 07:44:08 +02:00
Olli Pettay
8d25c299d6 Bug 776929 - Let event implementation codegen to generate MozContactChangeEvent, r=gwagner 2012-07-24 22:28:26 +03:00
Steve Fink
4e52b260b2 Bug 777219 - Prepare SpiderMonkey for a fully rooted API; r=bhackett
--HG--
extra : rebase_source : a6a66d9e41932055e4529550d204d4098f32e37e
2012-07-23 13:37:31 -07:00
David Anderson
10352157a6 Merge from mozilla-central. 2012-07-23 12:37:49 -07:00
Mike Hommey
fd7fe8283e Bug 770426 - Replace double colon rules with dependency chains for preprocessing rules. r=khuey 2012-07-23 07:42:22 +02:00
Mike Hommey
a1a93a6120 Bug 742795 - Autogenerate autoconf.mk. r=ted 2012-08-06 15:19:50 +02:00
Brian Hackett
91d898b1c5 Generate ICs which see through ListBase proxies, bug 769911. r=peterv,dvander 2012-08-06 14:51:33 -06:00
Ed Morley
bfa01be4a0 Backout 684958bd600b (bug 769911) for failures in test_bug435425.html on a CLOSED TREE 2012-08-06 23:39:36 +01:00
Jan Beich
45dc2e7578 Bug 779704 - Cleanup FreeBSD linker cruft from configure script. r=khuey 2012-08-06 19:44:36 +02:00
Siddharth Agarwal
39c43d0d6c Bug 780222 - Remove redundant check-sync-dirs call in js/src/Makefile.in. r=ted
--HG--
extra : rebase_source : 05faaef0dfb039ff5405fb756bcbd3267f476a3f
2012-08-07 02:38:38 +05:30
Brian Hackett
f3ba83ad4e Generate ICs which see through ListBase proxies, bug 769911. r=peterv,dvander 2012-08-06 14:51:33 -06:00
Andrew McCreight
fd5ec771c2 Bug 763773 - replace WrapperIsNotMainThreadOnly() with false. r=billm 2012-08-06 13:42:30 -07:00
Jim Mathies
378c4cc0b3 Bug 780511 - Pipe additional debug output to the Windows debugger, r=neil. 2012-08-06 15:41:40 -05:00
Sergey Glushchenko
970c894833 Bug 776429: Unify scattered M_PI definitions into mfbt/Constants.h r=dRdR 2012-08-06 13:32:11 -07:00
Benjamin Peterson
1661182bde Bug 779975 - Refcount ScriptSource. r=jorendorff 2012-08-06 13:25:58 -07:00
Mike Hommey
54899f3192 Backout rules.mk part of changeset 1f4eae8d9e08 (bug 777379) for bustage on CLOSED TREE 2012-08-06 20:20:26 +02:00
Terrence Cole
f9cf9a58c5 Bug 772303 - Add missing roots for analysis builds; r=bhackett
--HG--
extra : rebase_source : 2a644e24073fa5c7a655e3322c5379009b2f7181
2012-08-03 09:41:00 -07:00
Siddharth Agarwal
aa93634107 Bug 780508 - Avoid a bunch of process spawns with Pymake by removing a redundant shell script and switching an echo to a $(info). r=khuey 2012-08-06 21:44:13 +05:30
Ed Morley
cbc7719c91 Backout 7f8928077ed4 (bug 742795) for make-package & find filepath failures 2012-08-06 16:05:07 +01:00
Luke Wagner
fed82d59b8 Bug 780332 - rm getTypedArray (r=billm)
--HG--
extra : rebase_source : 411eb49e7283b62feb62da8a728309433b882c0e
2012-08-06 07:45:54 -07:00
Mike Hommey
ee47330ec1 Bug 777379 - Ensure that default is always the default target. r=ted 2012-08-06 15:21:10 +02:00
Mike Hommey
43826346d0 Bug 742795 - Autogenerate autoconf.mk. r=ted 2012-08-06 15:19:50 +02:00
Aryeh Gregor
f41637535d Bug 780469 - Reduce unnecessary includes in some content/ header files; r=bz 2012-08-06 15:02:08 +03:00
Mike Hommey
5f8309d9b6 Bug 770426 - Replace double colon rules with dependency chains for preprocessing rules. r=khuey 2012-07-23 07:42:22 +02:00
Benjamin Peterson
c612311c13 Bug 777181 - Breaking out of a for-let-in loop needs SRC_HIDDEN. r=luke
--HG--
extra : rebase_source : b71d4e1983d9e83f9392ff62fbff280cb3fb3295
2012-07-24 19:15:37 -07:00
Ryan VanderMeulen
ba139e6639 Merge 2012-07-24 22:06:27 -04:00
Benjamin Peterson
5f08df9d9d Bug 777083 - Don't leak when ownSource is true. r=luke 2012-07-24 19:01:38 -07:00
Benjamin Peterson
639c29d087 Bug 776332 - Fix the rooting of Function's toSource/toString. r=terrence 2012-07-24 14:23:36 -07:00
Chao-ying Fu
cd57edc68c Bug 774760 - Fix unaligned PCCounts double access (r=luke)
--HG--
extra : rebase_source : ac9c1d9cb21611a5c23ca92a187b7f3e0e422cf4
2012-07-24 11:11:44 -07:00
Ryan VanderMeulen
ca4206d611 Merge m-c to inbound. 2012-07-24 22:00:07 -04:00
Benjamin Peterson
a810a5ad27 Bug 776314 - Stub out genexp toSource. r=luke 2012-07-24 11:19:18 -07:00
Benjamin Peterson
82a0c3817c Bug 776314 - Add a script flag indicating if the script is a generator expression. r=luke 2012-07-24 11:19:08 -07:00
Gregory Szorc
42d6d9f5c1 Bug 776805 - Remove unused NO_GEN_XPT from rules.mk; r=glandium 2012-07-24 10:57:13 -07:00
Benjamin Peterson
48b39e2d5c Bug 776389 - Find the source of scripts from the subscript loader correctly. r=bz 2012-07-22 15:14:47 -07:00
Benjamin Peterson
34a152c641 Bug 776283 - Decode sources properly before handing them to the JS engine. r=bz 2012-07-22 09:00:45 -07:00
Benjamin Peterson
347bc3508b Bug 776200 - Reduce compression level as temporary fix for SunSpider regression. r=pierron
--HG--
extra : rebase_source : 7516bb18a5bbceca411d2053a5ff546cf0de27ec
2012-07-22 01:07:29 -07:00
Alex Crichton
85190b59d6 Bug 775782 - Instrument pro/epilogue of functions for the SPS profiler in ionmonkey. r=pierron,dvander 2012-07-20 17:13:37 -07:00
David Anderson
7b87cb9a76 Merge from mozilla-central. 2012-07-20 12:02:04 -07:00
Benjamin Peterson
612f2e9bba Bug 776430 - Use the rightmost URI to account for possible multiple prefixing. r=bz
--HG--
extra : rebase_source : 00d3a825d0743dc5ba61a0dbe69c6f8a75b4b208
2012-07-23 19:13:18 -07:00
Benjamin Peterson
5775e05fb8 Bug 776317 - Separate the body of a constructed function from its braces with newlines. r=luke 2012-07-23 17:03:41 -07:00
Sean DuBois
27044f3fcd Bug 769908 - Switch DIR_INSTALL to INSTALL. r=ted 2012-07-23 20:02:20 -04:00
Benjamin Peterson
ddff4baabb Bug 776388 - Create global threads. r=terrence 2012-07-23 15:05:03 -07:00
David Mandelin
570f0eca26 Merge for backout of changeset d6531ef05a6f 2012-07-23 14:34:24 -07:00
David Mandelin
11fc3bb16d Backed out changeset d6531ef05a6f 2012-07-23 14:33:14 -07:00
Benjamin Peterson
9c09b90020 Bug 776700 - completely disable compression until Sunspider is sorted out. r=dmandelin
--HG--
extra : rebase_source : e7d40b7c9a01bdb90288911f908c65c185f335e6
2012-07-23 14:23:19 -07:00
Luke Wagner
35339b4f6e Bug 776191 - Add missing case of 'with' deoptimization, r=dvander 2012-07-23 13:39:18 -07:00
Gary Kwong
49204765bc Backed out changeset 4ee96b33d289, r=wrongAuthor 2012-07-23 14:00:36 -07:00
Gary Kwong
18f596947e Bug 776191 - Add missing case of 'with' deoptimization, r=dvander 2012-07-23 13:39:18 -07:00
Jan de Mooij
2276af4202 Bug 775567 - Add separate "scripts" spew channel. r=dvander 2012-07-20 11:02:42 +02:00
Jonas Sicking
b0b6c14ad5 Bug 774585 - Add GetDocShellCodebasePrincipal to nsIScriptSecurityManager. r=mounir 2012-07-20 00:06:24 -07:00
Mounir Lamouri
15fad48685 Bug 758258 - part 5 - Add GetAppCodebasePrincipal and GetNoAppCodebasePrincipal to nsIScriptSecurityManager. r=mrbkap sr=sicking 2012-07-19 20:28:08 -07:00
David Anderson
69424e0378 Fix build bustage on awfy (no bug r=me). 2012-07-19 16:06:36 -07:00
Sean Stangl
f358e37d38 Bug 754256 - Upgrade IonMonkey to MPL2. r=gerv,dvander 2012-07-19 15:23:47 -07:00
David Anderson
5c1dc0545f Merge from mozilla-central. 2012-07-19 14:37:50 -07:00
David Anderson
180cbd4d9d Merge from mozilla-central. 2012-07-19 14:34:36 -07:00
Nicolas Pierron
130e128a4f Bug 773995 - Inline new Array with 2 or more arguments. r=jandem 2012-07-19 13:47:38 -07:00
Sean Stangl
d0a463e06e Bug 771400 - Separate FreeList acquisition from getNewObject(). r=pierron 2012-07-19 12:31:28 -07:00
Jan de Mooij
9836f758b5 Fix ARM build. 2012-07-19 11:53:27 +02:00
Jan de Mooij
8ae8dc3b68 Bug 771130 part 4 - Make JM/Ion heuristics a bit more robust. r=dvander 2012-07-19 11:38:01 +02:00
Jan de Mooij
e4ad550d89 Bug 771130 part 3 - Invalidate the script if GuardShape fails. r=pierron 2012-07-19 11:36:56 +02:00
Jan de Mooij
b9a67416a1 Bug 773587 - Fix ComparePolicy to insert ToInt32 instructions if needed. r=dvander 2012-07-19 11:07:45 +02:00
Jan de Mooij
1d6e90b1ae Bug 771130 part 2 - Inline monomorphic GETPROP and SETPROP. r=dvander 2012-07-19 10:02:36 +02:00
Jan de Mooij
1b6c312684 Bug 771130 part 1 - Store inline path shape in JM ICs. r=bhackett 2012-07-19 10:00:25 +02:00
Marty Rosenberg
710dd10c57 Handle any sized offset to a vldr (bug 765186, r=jbramley) 2012-07-19 02:07:42 -04:00
Ryan VanderMeulen
d992f8c567 Backout 61d052e202c8 (bug 647367) due to Windows bustage. 2012-07-18 22:33:41 -04:00
David Anderson
921bd834c9 Merge from mozilla-central.
--HG--
rename : js/xpconnect/wrappers/CrossOriginWrapper.cpp => js/xpconnect/wrappers/WaiveXrayWrapper.cpp
rename : js/xpconnect/wrappers/CrossOriginWrapper.h => js/xpconnect/wrappers/WaiveXrayWrapper.h
2012-07-18 19:02:32 -07:00
Nicholas Nethercote
d05b248e0f Bug 647367 - Sequester jshash.{h,cpp} in js/jsd/ (attempt 2). r=luke.
--HG--
rename : js/src/jshash.cpp => js/jsd/jshash.cpp
rename : js/src/jshash.h => js/jsd/jshash.h
2012-07-18 17:38:10 -07:00
Boris Zbarsky
8cded52f17 Bug 780542. Make construction via a function proxy with an object in the constructor slot actually construct instead of just calling. r=ejpbruel 2012-08-08 23:47:04 -04:00
Luke Wagner
726e6a6f65 Bug 778919 - remove CheckStrictParameters (r=ejpbruel)
--HG--
extra : rebase_source : 7c7f74083de788ab19a5af9dfa60f60e281ac702
2012-07-30 14:21:58 -07:00
Luke Wagner
0b90cd7539 Bug 778919 - CheckStrictBinding for formals like all other bindings (r=ejpbruel)
--HG--
extra : rebase_source : 4572c02598a02832f0e847b46445532eb281c615
2012-07-30 13:41:19 -07:00
Luke Wagner
6b85fd7329 Bug 778919 - move DefineArg and BindDestructuringArg to be next to functionArguments (r=ejpbruel)
--HG--
extra : rebase_source : c0748f27a1e0193b6081d261d99dc44688a47ea4
2012-07-30 13:40:29 -07:00
Luke Wagner
c2fca1a0bd Bug 772328 - simplify ParseNode::resolve (r=ejpbruel)
--HG--
extra : rebase_source : 0e5e432233f01a46f398d0356f45032495c036fd
2012-08-07 16:06:59 -07:00
Luke Wagner
e8ac77b8f5 Bug 772328 - function statements should restate, not shadow, formal parameters (r=ejpbruel)
--HG--
extra : rebase_source : a6425a0e317ffd1437f0f6230d03f3487edc8389
2012-07-24 13:44:23 -07:00
Luke Wagner
a706d68d60 Bug 772328 - add and use IsArgOp and IsLocalOp (r=ejpbruel)
--HG--
extra : rebase_source : ce6464d39bd7f8e273d6ec7df1f4a447a22f98b1
2012-07-26 16:08:33 -07:00
Luke Wagner
d27c08fad8 Bug 772328 - simplify MakeDefIntoUse (r=ejpbruel)
--HG--
extra : rebase_source : 127c266fac60b34820ff0373fd26ceb9306b0853
2012-07-26 16:08:31 -07:00
Benjamin Peterson
0195f43641 Bug 781289 - Remove unecessary check that let variable name matches are atoms. r=luke 2012-08-08 11:52:09 -07:00
Benjamin Peterson
754a2a4a8f Bug 781071 - Account for the enclosing scope being NULL. r=luke 2012-08-08 11:52:07 -07:00
Brian Hackett
f96051cd2d Fix typo, bug 769911. r=luke 2012-08-08 12:42:47 -06:00
Andrew McCreight
8a8a3e7167 Bug 761620 - Throw an exception for unpreservable weak map keys. r=billm 2012-08-08 11:05:58 -07:00
Terrence Cole
6c2dc1c4e5 Bug 780765 - Do not create DependentStrings that can be InlineStrings; r=luke
These would create a nasty hazard for a moving GC and it makes little sense to
make them dependent anyway because there is enough room already to store the
depended string inline.
2012-08-07 10:51:45 -07:00
Nicholas Nethercote
8e95c82325 Bug 647367 - Sequester jshash.{h,cpp} in js/jsd/. r=luke.
--HG--
rename : js/src/jshash.cpp => js/jsd/jshash.cpp
rename : js/src/jshash.h => js/jsd/jshash.h
extra : rebase_source : 22311241bc356e2c724c28f4199cfa8008d594a9
2012-07-18 17:38:10 -07:00
Steve Fink
0701e084e5 Bug 775365 - Fill out the rooting API. r=billm
- add external type JSHandleString
 - add external type JSMutableHandleValue
 - allow converting a MutableHandle -> Handle
 - add MutableHandle::fromMarkedLocation()
 - make a non-const AudoVectorRooter::handleAt() that returns a MutableHandle
2012-07-18 14:31:24 -07:00
Kannan Vijayan
2fae8b986d Bug 775186 - Part 3: Remove InlineFunctionGuard instruction. (r=jandem) 2012-07-18 15:14:21 -04:00
Kannan Vijayan
74f3cb4445 Bug 775186 - Part 2: Change IonBuilder to use PolyInlineDispatch instruction. (r=jandem) 2012-07-18 15:14:18 -04:00
Kannan Vijayan
8a09cfe0aa Bug 775186 - Part 1: Add PolyInlineDispatch instruction. (r=jandem) 2012-07-18 15:14:16 -04:00