Brian Hackett
dd8dda9eaa
Bug 875276 - Don't profile types in scripts until they are compiled by baseline, r=jandem.
2013-05-23 13:25:19 -06:00
Phil Ringnalda
fda0263af1
Merge m-c to birch
2013-05-23 21:20:32 -07:00
Jeff Walden
c70270ee16
Bug 873718 - Add a second argument to MakeConstructible, a value to be set as .prototype on the function. This ensures that .prototype is always an object, and that |new|ing the function will never invoke user-defined code trying to access the .prototype (and possibly hitting such a property along the prototype chain). r=till
...
--HG--
extra : rebase_source : 039448500590360f99e24350fdaa8da4c17f9487
2013-05-21 17:42:34 -07:00
Boris Zbarsky
b6bcc5c7f7
Bug 875628. NewProxyObject should take a handle for the private value. r=till
2013-05-24 13:03:13 -04:00
Ed Morley
a85a630c58
Merge mozilla-central and inbound
2013-05-24 16:09:48 +01:00
François Tigeot
b3bfc574e3
Bug 875666 - add || defined(__DragonFly__) to jsnativestack.cpp (r=luke)
...
--HG--
extra : rebase_source : 23bc7c6997e0e2b1c174f4f7a75f44f6a0155a42
2013-05-24 08:29:53 +02:00
Jan de Mooij
64decbed76
Bug 875473 - Add saveFrameChain option to shell evaluate function. r=luke
2013-05-24 14:03:36 +02:00
Jan de Mooij
7ca3f3c999
Bug 873155 - Remove StackFrame argument duplication. r=luke
2013-05-21 16:09:01 +02:00
Jan de Mooij
eccf118594
Bug 868431 - Disable Ion when Baseline is disabled, remove bailout-to-interpreter code. r=djvj
2013-05-24 14:03:31 +02:00
Jan de Mooij
3c8b0084d5
Bug 874825 - Correctly set HAS_ARGS_OBJ flag when bailing out to baseline. r=djvj
2013-05-24 14:03:28 +02:00
Kyle Machulis
0fa5578aa0
Bug 854517: Gecko configure.in changes for B2G Valgrind support; r=khuey
2013-05-23 12:26:52 -07:00
Brian Hackett
7658b71432
Bug 875290 - Remove TypeScript::LocalTypes, r=jandem.
2013-05-23 12:15:51 -06:00
Gregory Szorc
3a1f6ceaa0
Bug 874543 - Restart Makefile execution if backend is regenerated; r=glandium
2013-05-23 10:10:39 -07:00
Kannan Vijayan
028e4787ac
Bug 874687 - Fix bug with SPS being enabled when non-SPS-instrumented ion frames are on stack. r=jandem
2013-05-23 12:22:36 -04:00
Brian Hackett
c73f548b39
Bug 864218 - Improve performance when accessing variables defined in run-once closures, r=luke,jandem.
2013-05-23 05:59:53 -06:00
Mihai Sucan
1611b7310d
Bug 859756 - [browserconsole] Add timestamp to nsIConsoleMessages; r=bz
2013-05-24 21:36:56 +03:00
Mike Hommey
86fb98589b
Bug 875099 - Avoid including MDDEPEND_FILES twice. r=ted
2013-05-23 07:28:08 +02:00
Bobby Holley
4d51cd1086
Bug 874318 - Don't allow CALL on XOWs. r=mrbkap
2013-05-22 22:27:16 -06:00
Bobby Holley
346f85a57c
Bug 862380 - Tests. r=mrbkap
2013-05-22 22:27:15 -06:00
Bobby Holley
66cef80cfe
Bug 862380 - Silently fail for enumerate-like operations on XOWs. r=mrbkap
2013-05-22 22:27:15 -06:00
Bobby Holley
4b3957c0bc
Bug 862380 - Be more explicit about rejecting JSID_VOID for XOWs. r=mrkbap
...
We already do this, but it's helpful to be clear about it.
2013-05-22 22:27:15 -06:00
Bobby Holley
04fe393f0c
Bug 862380 - Pass the entered id in addition to the wrapper action to Policy::deny. r=mrbkap
2013-05-22 22:27:15 -06:00
Gary Kwong
18bff9ef41
Bug 776043 - Make jittests assert if an error does not exit with failure; r=terrence
...
--HG--
extra : rebase_source : 629830fae497347215d188d687e3dc1e41144b3f
2013-05-22 10:10:20 -07:00
Eddy Bruel
3ccfaf7eaa
Bug 637572 - Implement Debugger.Script.prototype.source; r=jimb
2013-05-22 16:42:52 -07:00
Eddy Bruel
d4369adba5
Bug 637572 - Use ScriptSourceObject instead of ScriptSource; r=jimb
2013-05-22 16:23:07 -07:00
Eddy Bruel
8882c53b4c
Bug 637572 - Implement ScriptSourceObject; r=jimb
2013-05-22 16:06:54 -07:00
Brian Hackett
d836361354
Bug 870821 - Seed observed values for integer CALLELEM ops with the possible targets, r=jandem.
2013-05-22 16:48:19 -06:00
Bobby Holley
c1dc65c3ef
Bug 868110 - Remove JS_GetGlobalObject. r=luke
...
\o/
2013-05-22 15:42:45 -06:00
Bobby Holley
d1daeb827a
Bug 868110 - Introduce a more private API for the consumers that really do need the default compartment object. r=luke
...
The primary consumer of this is the whole inner/outer DOM window setup, which
uses the default global to track the current inner. But there are few other
random ones as well.
We use this as an opportunity to convert a bunch of consumers from the two-step
GetNativeContext() -> JS_GetGlobalObject() into just |GetNativeGlobal()|. This
will make things much easier to convert when we start tracking the current inner
explicitly.
2013-05-22 15:42:44 -06:00
Bobby Holley
b0e91fda0d
Bug 871306 - Use the current global rather than the default global in jsdContext::GetGlobalObject. r=gabor
...
As far as I can tell from the IDL docs and digging through the Firebug source,
this is what we want here.
2013-05-22 15:42:44 -06:00
Bobby Holley
e81b05653a
Bug 871306 - Remove globalObject from jsdIFilter. r=gabor
...
It looks like firebug only ever passes null, which is equivalent to not using
it at all.
2013-05-22 15:42:43 -06:00
Bobby Holley
435d516232
Bug 871306 - Add an API for directly accessing the default JSD global and use it in ActivateDebugger. r=gabor
2013-05-22 15:42:43 -06:00
Tom Schuster
dea1fca4c0
Bug 863957 - Check if jsid is really a string in Components.interfacesByID. r=bz
2013-05-22 22:32:50 +02:00
Terrence Cole
103d8701de
Bug 872384 - Clone self hosted objects directly into tenured; r=till
...
The jit is allowed to bake pointers to intrinsics into jitcode. Since all
self-hosted clones are intrinsics, we need these to always be tenured.
--HG--
extra : rebase_source : b4e6b63db874a95d5eac4cafa34a7aaadd163f58
2013-05-16 10:24:22 -07:00
Mike Shal
994cfe0b6b
Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
...
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Terrence Cole
684fde513f
Bug 851057 - Implement generational GC support in IonMonkey; r=dvander
2013-04-18 17:03:40 -07:00
Brian Hackett
c95cae4506
Bug 870052 - Various tweaks to reduce recompilation on asm.js style apps, r=jandem.
2013-05-22 11:36:29 -06:00
Bobby Holley
29aaa7a698
Bug 872135 - Use the SafeJSContext in nsXPConnect::CheckForDebugMode. r=gabor
2013-05-22 10:05:28 -06:00
Bobby Holley
ac7f7ccafb
Bug 868130 - Fix include guard. r=me
2013-05-22 10:05:28 -06:00
Bobby Holley
91448a9dac
Bug 868130 - Remove the lion's share of JSAutoRequests in gecko. r=gabor
...
There are still a handful that either are used with other runtimes, or that
happen very early/late in cx the lifetime of various things where it doesn't
necessarily make sense to have a cx on the stack. This should definitely ensure
that we're not doing double-duty with the nsCxPusher change, though.
2013-05-22 10:05:28 -06:00
Bobby Holley
ba8c5579b5
Bug 868130 - Add an AutoRequest inside nsCxPusher. r=gabor
2013-05-22 10:05:26 -06:00
Bobby Holley
20dd5cfed6
Bug 868130 - Remove the dependencies of the nsCxPusher machinery on nsContentUtils, use nsCxPusher in xpcshell, and privatize APIs. r=gabor
...
No more xpc::danger, for now. ;-)
2013-05-22 10:05:26 -06:00
Bobby Holley
fbfc8f9abe
Bug 868130 - Move nsCxPusher into XPConnect. r=gabor
...
The JSContext stack is an XPConnect construction. In particular, there are
situations where we want to manipulate it outside the lifetime of nsContentUtils
but within the lifetime of the stack itself. In order to do this cleanly, it's
helpful to use private XPConnect APIs. So the first step here is to move this into
js/src/xpconnect, so that we can take advantage of the stuff in xpcprivate.h.
--HG--
rename : content/base/src/nsCxPusher.cpp => js/xpconnect/src/nsCxPusher.cpp
rename : content/base/public/nsCxPusher.h => js/xpconnect/src/nsCxPusher.h
2013-05-22 10:05:26 -06:00
Bobby Holley
54ef3d2952
Bug 868130 - Include nsCxPusher.h everywhere we need it, and stop including it from nsContentUtils.h. r=gabor
2013-05-22 10:05:26 -06:00
Bobby Holley
b1aac00cc5
Bug 868130 - Make sure to push the context in the ObjectWrapperChild constructor. r=gabor
2013-05-22 10:05:24 -06:00
Bobby Holley
94963dc0b5
Bug 868130 - Enter a request for all of OnJSContextNew. r=peterv
2013-05-22 10:05:23 -06:00
Brian Hackett
f09bf4d7ea
Bug 871075 - Add rooting analysis warnings for unsafe address taken of variables DONTBUILD
2013-05-22 07:47:41 -06:00
Jan de Mooij
d1d46a2f99
Bug 857845 part 3 - Remove JM JSAPI flags, memory reporters and browser prefs. r=djvj
...
--HG--
extra : rebase_source : 8b2ed85801fcd8c8fd0fc16a89b1a275add1a310
2013-05-22 14:50:45 +02:00
Brian Hackett
977c424faf
Bug 871002 - Use uint32 comparisons more often, r=jandem.
2013-05-22 06:50:18 -06:00
Shu-yu Guo
fc3d229f80
Bug 867471 - Part 3: Compile rest parameter in Ion for parallel execution. (r=nmatsakis)
2013-05-21 23:52:45 -07:00
Shu-yu Guo
a31a730f99
Bug 867471 - Part 2: Compile rest parameter in Ion for sequential execution. (r=djvj)
2013-05-21 23:52:45 -07:00
Shu-yu Guo
90e2941bae
Bug 867471 - Part 1: Compile rest parameter in Baseline. (r=djvj)
2013-05-21 23:52:44 -07:00
Brian Hackett
fe1b0d0f84
Bug 868206 - Various fixes for the backtracking register allocator, r=jandem.
2013-05-21 21:40:44 -06:00
Matt Stults
a9a44d7f44
Bug 841615: Use MatchOnly mode for str.match(), saving wasted work when using .match() with a global regex; r=sstangl
2013-05-21 22:59:18 -04:00
Boris Zbarsky
08e2b56c8e
Bug 874612. Make some nsIXPConnectWrappedNative methods take a Handle<jsid> instead of a jsid. r=bholley
2013-05-21 22:59:17 -04:00
Luke Wagner
b85eb3d57c
Bug 864587 - Avoid overflowing the stack on long if/else-if chains in asm.js (r=sstangl)
...
--HG--
extra : rebase_source : af47319af567ac1d6a86e67f95c5ac6d332b1713
2013-05-08 18:34:56 -07:00
Luke Wagner
472ecf4674
Bug 686274 - Increase the limit on the maximum size of array initializers (r=bhackett)
...
--HG--
extra : rebase_source : 1c2cb231b8f7ea58089b353654efc886ad244ad0
2013-05-20 17:18:23 -07:00
Shu-yu Guo
d86001fe1b
Bug 873320 - Pass DEBUG defines into embedjs.py. (r=till)
2013-05-21 14:03:57 -07:00
Terrence Cole
05e2ef26ae
Bug 873136 - Only store the JSRuntime on the minor tracer once; r=billm
...
--HG--
extra : rebase_source : 76fc04c63d69041cd1133da2c7fa386d711ad0af
2013-05-14 13:09:22 -07:00
Terrence Cole
ad47779d8d
Bug 870496 - Purge moved objects in the NewObjectCache on minor GC; r=billm
...
--HG--
extra : rebase_source : 8d4b7df4cff1df4f1fc1de88e823a3e7541a55df
2013-05-08 12:02:48 -07:00
Terrence Cole
6cfac8a247
Bug 873142 - Do not shrink Arrays when tenuring; r=billm
...
The JITs assume that the capacity will not change between the initarray and the
actual initialization.
--HG--
extra : rebase_source : 53a3fe20f7fc687869ee303f58fbfa1bcf7324be
2013-05-14 13:09:26 -07:00
Kannan Vijayan
30e775f7e2
Bug 870514 - Uncommitted nit. r=h4writer
2013-05-21 16:42:56 -04:00
Kannan Vijayan
e503cd4d2f
Bug 870514 - Add Ion stubs for optimized shadowed gets on proxy objects. r=h4writer
2013-05-21 16:40:10 -04:00
Kannan Vijayan
7abd17539e
Bug 870514 - Add Baseline stubs for optimized shadowed gets on proxy objects. r=h4writer
2013-05-21 16:34:41 -04:00
Jason Orendorff
eeea08302c
Back out 91b95649a71e for GCC bustage. r=red on a CLOSED TREE.
2013-05-21 14:29:16 -05:00
Jason Orendorff
6e770fea9f
Silence clang "enumeration value not handled in switch" warnings. No bug#, rs=sfink on IRC.
2013-05-21 11:51:23 -05:00
Jason Orendorff
1b7eefe30c
Bug 874199 - Remove file-wide namespace blocks from Parser.cpp. r=luke.
2013-05-21 11:06:42 -05:00
Jason Orendorff
f265754807
Remove unused variable. No bug#, rs=Waldo on IRC.
2013-05-21 11:06:16 -05:00
Boris Zbarsky
434ab608fe
Bug 873229. Try harder to get a JSErrorReport out of exceptions. r=bholley,waldo
2013-05-21 14:15:30 -04:00
Ryan VanderMeulen
df0102cf98
Backed out changeset b52106ac0817 (bug 873155) for jit-test bustage.
...
CLOSED TREE
2013-05-21 10:48:06 -04:00
Jan de Mooij
b14b043ee4
Bug 873155 - Remove StackFrame argument duplication. r=luke
2013-05-21 16:09:01 +02:00
Bobby Holley
58c6661d63
Bug 874083 - Ignore domain in PrepareForWrapping prototype remapping. r=gabor, billm
2013-05-21 07:53:35 -06:00
Boris Zbarsky
e90b6bf83c
Bug 861587. Rejigger the WebIDL binding build system to do all binding codegen in a single python process while still using our dependency tracking for bindings to minimize the number of bindings we try to regenerate. r=khuey
2013-05-09 13:05:33 -04:00
Mike Hommey
7ead3ce12c
Bug 870306 - Put includes under /usr/include/mozjs-x.y instead of /usr/include/js-x.y on make install. r=sstangl,r=Waldo
2013-05-21 08:28:13 +02:00
Gregory Szorc
06dd9683e9
Bug 874078 - Move RecursiveMakeBackend.built rule to rules.mk; r=glandium
2013-05-20 23:26:20 -07:00
Phil Ringnalda
436981231b
Back out de1c0246854c (bug 851057), 89a472c35979 (bug 873142), f849dec1a6df (bug 870496), 45fbd0b38bc5 (bug 873136) for incomprehensible Android reftest failures
2013-05-20 22:10:15 -07:00
Bobby Holley
e65620490c
Bug 834701 - Remove the XBL bit from spidermonkey. r=luke
2013-05-20 22:34:18 -06:00
Brian Hackett
7f3a0017d1
Bug 871079 - Don't trigger operation callback if JS has been running for less than one second, r=bholley.
2013-05-20 20:26:44 -06:00
Gregory Szorc
8d30d5aabf
Bug 828317 - Require pymake to build on Windows; r=ted
2013-03-06 12:05:24 -08:00
Terrence Cole
62a293aa88
Bug 851057 - Implement generational GC support in IonMonkey; r=dvander
2013-04-18 17:03:40 -07:00
Terrence Cole
715caa48c1
Bug 873142 - Do not shrink Arrays when tenuring; r=billm
...
The JITs assume that the capacity will not change between the initarray and the
actual initialization.
--HG--
extra : rebase_source : a7485d70a63ab8edea871c68696da9edf3872196
2013-05-14 13:09:26 -07:00
Terrence Cole
41aa5583b6
Bug 870496 - Purge moved objects in the NewObjectCache on minor GC; r=billm
...
--HG--
extra : rebase_source : 95da7731d4ea9ec023790a36de0a8cd7d68740f3
2013-05-08 12:02:48 -07:00
Terrence Cole
cf0230c18f
Bug 873136 - Only store the JSRuntime on the minor tracer once; r=billm
...
--HG--
extra : rebase_source : 3190b52824e68d38dbbefab0c202e408b8b51fe5
2013-05-14 13:09:22 -07:00
Steve Fink
bf68457834
Bug 874103 - Rename StringWrapper to avoid aliasing another struct for the static rooting analysis
...
--HG--
extra : rebase_source : 80893381c4d6c7aa32640bd7cf1199cf96524c5b
2013-05-20 12:59:59 -07:00
Steve Fink
2e64712e21
Bug 872823 - implement oomAfterAllocations testing function
...
--HG--
extra : rebase_source : 9baca68d56f8b15e691f2154bd8aa6b6cea45845
2013-05-20 12:59:55 -07:00
Terrence Cole
30eb5874ef
Bug 869248 - Add missing OOM check when resolving functions; r=Waldo
...
--HG--
extra : rebase_source : e1ba73794b8d1337c11fdce071ff03953b753ed0
2013-05-20 15:02:52 -07:00
Eddy Bruel
95f73a8711
Bug 860035 - Generate source notes for debugger statement; r=tschneidereit
2013-05-20 14:41:24 -07:00
Dan Gohman
9ff94ce0ac
Bug 871790 - Don't emit a subtract when the frame size is zero. r=sstangl
2013-05-20 16:54:21 -04:00
Dan Gohman
23f8017cd6
Bug 871723 - Fix a few minor errors in the assembly spew output. r=sstangl
2013-05-20 16:54:21 -04:00
Andrew McCreight
45b08b78f1
Bug 873111 - Statically enforce root/child phase separation in cycle collector graph building. r=smaug
2013-05-20 13:08:11 -07:00
Masatoshi Kimura
39d0ce714a
Bug 873753 - Remove classinfo bits from WebIDL-bound events. r=smaug
2013-05-21 04:34:12 +09:00
Jim Blandy
47af1cad8c
Bug 857091: Debugger: Don't ignore errors returned by dbg->addDebuggeeGlobal in addAllGlobalsAsDebuggees. r=jorendorff
2013-05-20 12:15:58 -07:00
Bobby Holley
aef9decad9
Bug 871887 - Make sure |this|-binding is correct or marquee event listeners. r=bz
2013-05-20 11:33:49 -06:00
Gregory Szorc
93a66626cc
Bug 873325 - Normalize topobjdir to an absolute path; r=glandium
2013-05-20 09:45:54 -07:00
Boris Zbarsky
85b06d58a3
Bug 873735 part 2. Change nsIXPConnectJSObjectHolder::GetJSObject to return a JSObject*. r=bholley
2013-05-20 08:44:18 -04:00
Boris Zbarsky
8fdfd3f823
Bug 873735 part 1. Fix the more or less mechanical browser rooting hazards. r=terrence
2013-05-20 08:40:06 -04:00
Boris Zbarsky
6dc4558e8d
Bug 873209. Trace the *vp of specialized DOM getters in Ion. r=jandem
2013-05-17 21:48:24 -04:00
Boris Zbarsky
9b8ebb7008
Bug 873730. Make JS_SourceHook take a Handle for the JSScript. r=till
2013-05-18 23:09:11 -04:00
Masatoshi Kimura
0ce5a821cd
Bug 871786 - Remove KeyboardEvent classinfo. r=smaug
2013-05-19 10:28:48 +09:00
Andrea Marchesini
38fc5d8909
Bug 870856 - Convert DOMError to WebIDL. r=Ms2ger, r=bz
2013-05-18 13:52:06 -04:00