Commit Graph

21927 Commits

Author SHA1 Message Date
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
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