Commit Graph

22470 Commits

Author SHA1 Message Date
Nicolas B. Pierron
d7c6f0f370 Bug 777583 - Add caller/callee use count ratio to balance inlining cost. r=djvj 2012-09-28 16:10:07 -07:00
Nicolas B. Pierron
f85ae576fe Bug 794286 - ReconstructPcStack, Keep hidden stack depth only when following gotos. r=luke 2012-09-28 15:56:29 -07:00
Nicolas B. Pierron
33682dd25b Bug 787848 - Handle JSOP_THROWING opcode in the decompiler. r=luke 2012-09-28 15:56:28 -07:00
Nicolas B. Pierron
1b5c407cbf Bug 787309 - Fallback on try notes after continuing on a goto. r=luke 2012-09-28 15:56:28 -07:00
Nicolas B. Pierron
098d4c3660 Bug 792220 - Remove lookupProperty to prevent interpreter reentrance. r=jandem
--HG--
extra : rebase_source : bfc435b06d38c488f82c5c5a9a647c86b4e079ef
2012-09-28 15:47:46 -07:00
Kannan Vijayan
420b7ab0c5 Bug 786126 - part 3 - Allow null/undefined in typeset of target object of Ion ICs. (r=dvander) 2012-09-28 18:15:47 -04:00
Kannan Vijayan
8a051e5212 Bug 786126 - part 2 - Skip IC generation for GetElems of int32 indexes on non-native objects. (r=dvander) 2012-09-28 18:14:39 -04:00
David Anderson
97d0058a2f Disable TypeInference on ARMv6 builds (bug 793740, r=mjrosenb).
--HG--
extra : rebase_source : e22635a39985ee2759372751e49ac836268edddc
2012-09-28 12:11:50 -07:00
Isaac Aggrey
997db4d142 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Kannan Vijayan
b199714c73 Bug 768126 - patch 1 - Add ION exit frame type for OOL calls to PropertyOp. (r=jandem) 2012-09-28 11:06:45 -04:00
Ed Morley
ce41594120 Merge mozilla-central to mozilla-inbound 2012-09-28 16:01:22 +01:00
Ed Morley
195be4c4f1 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-09-28 15:49:57 +01:00
Bill McCloskey
45335d1753 Bug 794947 - Add check for lazy proto in ion code (r=dvander) 2012-09-27 20:20:11 -07:00
Phil Ringnalda
e587aae42c Back out b24a73b2c617 for Windows build bustage and test_xhr_timeout.html failure 2012-09-27 21:24:42 -07:00
Mark Banner
bae8a10dfb Bug 793580 - Part 1: Use unsigned types in ExceptionArgParser::parseResult; r=ehsan
--HG--
extra : rebase_source : 456e3643b4d5cac96d2c6f0435581e9502037c79
2012-09-27 14:19:06 -04:00
Andrea Marchesini
7f0785e84a Bug 720083 - Workers: add support for transferable objects from HTML5 spec. r=sphink, r=bent 2012-09-27 23:05:59 -04:00
Nicolas B. Pierron
8e88d60882 Bug 793905 - Prevent JM recompilation when generating Ion stubs. r=dvander 2012-09-27 12:18:02 -07:00
Makoto Kato
222556a3d5 Bug 786579 - Remove old MSVC (<=2003) support. r=khuey 2012-09-28 16:02:40 +09:00
Aryeh Gregor
d70547f8d3 Bug 779809 part 1 - Make [notxpcom] attributes an error; r=khuey 2012-08-09 11:31:14 +03:00
Jan de Mooij
cfc42ac419 Bug 794475 - Inline "new String(x)". r=dvander 2012-09-27 12:45:55 +02:00
Tom Schuster
31e3c78fc6 Bug 789111 - Add inline path for LIntToString. r=jandem 2012-09-27 12:41:48 +02:00
Nicholas Nethercote
a9b7f089d4 Bug 791611 (part 3) - Exactly root most JSScripts in jsinfer.cpp. r=terrence.
--HG--
extra : rebase_source : c675efbd7e628742e59cd14ae91ab8998d3dfc5c
2012-09-16 16:32:06 -07:00
Terrence Cole
2e190097bf Bug 794700 - Remove a test exercising dead code; r=billm
--HG--
extra : rebase_source : 6a63c08d2c5e1561c8273c0bcca1e5f7a9f6f94d
2012-09-26 18:04:35 -07:00
Eric Faust
29e32d6fb7 Bug 793284 - Use non-freezing checks in TestCommonPropFunc() to avoid bogus invalidations. (r=djvj) 2012-09-26 19:02:56 -04:00
Eric Faust
30183ad75c Bug 792166 - Fix incorrect handling of |delete| in common accessor checking. (r=djvj) 2012-09-26 19:02:56 -04:00
Terrence Cole
7b707cf94e Bug 793823 - Exactly root Bindings when on the stack; r=billm
Currently, we rely on the marking of the origin script to keep the stack
binding's data live. This will not work with a moving GC.
2012-09-24 15:18:34 -07:00
Steve Fink
644ee82385 Bug 794494 - Clear the right buffer link when pruning and reversing the list of ArrayBufferViews. r=billm 2012-09-26 14:24:37 -07:00
Sean Stangl
1e3fd51930 Bug 794025 - Detect IC purging in JM generateNativeStub(). r=dvander 2012-09-26 14:53:16 -07:00
Terrence Cole
daa912f873 Bug 794365 - Correctly finalize StaticStrings; r=billm
The StaticStrings were getting kept alive past the final GC.  This did not
matter before because we never needed to free external characters.  With
uninlining this assumption is no longer true.

--HG--
extra : rebase_source : 6d40aa130c582366f2effe16b5af67157824e37f
2012-09-26 14:17:55 -07:00
Terrence Cole
68f1a7379e Bug 791322 - Move Rooted to js:: namespace; r=billm
These should not be part of the public API.

--HG--
extra : rebase_source : 00a69ee54f06e3f557cd9ec2f3b059df10aa32df
2012-09-24 18:08:22 -07:00
Bill McCloskey
b30e41fd01 Bug 787856 - Use lazy protos for cross-compartment wrappers (r=bholley) 2012-09-03 16:42:22 -07:00
Bill McCloskey
2e75082f62 Bug 787856 - Convert JS_GetPrototype to support lazy protos (r=bhackett) 2012-09-03 16:42:17 -07:00
Bill McCloskey
88913893e5 Bug 787856 - Convert js::GetObjectProto to support lazy protos (r=bhackett) 2012-09-03 16:42:10 -07:00
Bill McCloskey
8d91040b33 Bug 787856 - Initial support for lazy prototypes (r=bhackett) 2012-09-26 09:49:20 -07:00
Kannan Vijayan
8adaf120df Bug 790051 - Add IonMonkey OOLNativeGetterExitFrame to support callouts to native getters from OOL IC stubs. (r=jandem) 2012-09-26 12:05:50 -04:00
Makoto Kato
10e687271c Bug 793583 - Remove WINCE related code from js/src. r=luke 2012-09-26 15:48:41 +09:00
Makoto Kato
038020cd78 Bug 697064 - Remove MOZ_CHECK_HEADERS(mmintrin.h) from configure.in. r=khuey 2012-09-26 15:48:29 +09:00
Ryan VanderMeulen
dbf93bfaec Backout bug 792215 for suspected Windows m-oth leaks.
CLOSED TREE
2012-09-25 22:40:56 -04:00
Bill McCloskey
e79a3db5c5 Bug 779073 - Don't treat GC verifier as an incremental GC (r=terrence) 2012-09-25 17:04:17 -07:00
Ehsan Akhgari
697bec41a5 Bug 793294 - Implement AudioBuffer; r=bzbarsky,smaug
This is the full implementation of the AudioBuffer object.  There are
two ways to create these objects from an audio context and this patch
implements only one of them.

The construction of the AudioBuffer object is a two step process: the
object should be created with operator new first, and then
InitializeBuffers should be called on it.  InitializeBuffers is
fallible, because it uses the JS API to create the underlying typed
arrays, but that's fine, since the length of the buffers comes from web
content, and we don't want to use infallible allocations for those
anyways.

We hold on to the JS objects from the C++ implementation, and trace
through all of those objects, so that a GC does not kill those object
without us knowing.

The buffer should be possible to manipulate from both C++ and JS, and
the C++ object probably needs to support a set of methods for the C++
callers at some point.
2012-09-25 17:58:50 -04:00
Kannan Vijayan
72b7fa4f82 Bug 792215 part 2. Convert old proxy bindings to JSNative getters and setters. r=peterv,ejpbruel 2012-09-25 14:44:40 -04:00
Boris Zbarsky
84dda56591 Bug 792215 part 1. Convert quickstubs to using JSNative getters and setters. r=peterv 2012-09-25 14:44:40 -04:00
Benjamin Peterson
9108040db8 Bug 794065 - Fix array literals with spread and holes at the end. r=jorendorff 2012-09-25 14:30:37 -04:00
Steve Fink
19c3c04632 Bug 762908 followup - only null out window.SpecialPowers when window exists. r=terrence
--HG--
extra : rebase_source : 4a894ddf5036e42870573db212e056012f35829e
2012-09-25 11:17:47 -07:00
Steve Fink
832bf5c291 Bug 789295 - Add special multi-view array buffer sweep pass to eliminate finalizers and thus allow background sweeping. r=billm
--HG--
extra : rebase_source : f71b9546ad3e511fb2a32d8bc24f39ec70e2f630
2012-09-18 09:58:36 -07:00
Steve Fink
8a76dabf44 Bug 789295 - Make a BufferView superclass for ArrayBufferView types to enforce common slot numbers. r=billm
--HG--
extra : rebase_source : ac621999a9bc45bda2ea3c379a887a1dc5764772
2012-09-11 16:47:22 -07:00
Steve Fink
055c1fba2c Bug 789295 - Reformat class method declarations to look like rest of spidermonkey. r=billm
--HG--
extra : rebase_source : 3dedf219ae696b70136d83888522dda95845a578
2012-09-18 09:58:36 -07:00
Steve Fink
d9dd6003bf Bug 791573 - Finalize ArrayBuffers in the background. r=billm
--HG--
extra : rebase_source : 15fdc10c2208b0d49b822ac1ac1d5e78682bc697
2012-09-18 09:58:36 -07:00
OHZEKI Tetsuharu
b810714776 Bug 791944 - Use Object.defineProperty() instead of __defineGetter__ in XPCOMUtils.defineLazyGetter(). r=mak77 2012-09-25 11:04:25 -04:00
Jan de Mooij
94b8aa3d7d Bug 792944 - Idempotent caches should reject singleton properties that require monitoring. r=dvander 2012-09-25 16:16:46 +02:00