Commit Graph

22083 Commits

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