Commit Graph

35659 Commits

Author SHA1 Message Date
François Tigeot
e2df2b6e0a 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
7b8666e7d3 Bug 875473 - Add saveFrameChain option to shell evaluate function. r=luke 2013-05-24 14:03:36 +02:00
Jan de Mooij
76d53fd572 Bug 873155 - Remove StackFrame argument duplication. r=luke 2013-05-21 16:09:01 +02:00
Jan de Mooij
52fb6ed8f1 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
d3121045ff Bug 874825 - Correctly set HAS_ARGS_OBJ flag when bailing out to baseline. r=djvj 2013-05-24 14:03:28 +02:00
Vladimir Vukicevic
7b3cd12107 b=873757; crash in JSStructuredCloneWriter::writeArrayBuffer; r=bz 2013-05-23 22:09:38 -04:00
Gregory Szorc
b9800346b8 Bug 873720 - Part 5: Only call into subtiers that perform work; r=ted 2013-05-23 16:28:11 -07:00
Gregory Szorc
6c39c3c2ea Bug 873720 - Part 3: Track build state in build monitor; r=ted 2013-05-23 16:28:10 -07:00
Gregory Szorc
183211ea1b Bug 873720 - Part 1: Annotate build output with machine readable markers; r=ted 2013-05-23 16:28:09 -07:00
Luke Wagner
72a9f23d8a Bug 779863 - check in testcase for bug 778603 (r=me)
--HG--
extra : rebase_source : 64416df83a09c0ebd6253cf2e1699f5e4243dc73
2013-05-23 16:09:15 -07:00
Steve Fink
3036011f33 Bug 874948 - Fix string rooting hazards in matching code, r=terrence 2013-05-23 15:32:41 -07:00
Brian Hackett
e17fbe72b2 Bug 870821 - Fix typo. 2013-05-23 13:51:08 -06:00
Nicholas D. Matsakis
f3eb5024e7 Bug 872352 - Add liquid-resize and other benchmarks into parjs-benchmarks rs=tests 2013-05-23 15:39:05 -04:00
Nicholas D. Matsakis
843ea1c9a3 Bug 873522 - Perf integration for IonMonkey r=dvander 2013-05-23 15:38:56 -04:00
Brian Hackett
1550654de9 Bug 875276 - Don't profile types in scripts until they are compiled by baseline, r=jandem. 2013-05-23 13:25:19 -06:00
Brian Hackett
878ebd3ad5 Bug 875290 - Remove TypeScript::LocalTypes, r=jandem. 2013-05-23 12:15:51 -06:00
Gregory Szorc
7490af990f Bug 874543 - Restart Makefile execution if backend is regenerated; r=glandium 2013-05-23 10:10:39 -07:00
Kannan Vijayan
799c4bc97c 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
9c615d3a51 Bug 864218 - Improve performance when accessing variables defined in run-once closures, r=luke,jandem. 2013-05-23 05:59:53 -06:00
Mike Hommey
ae3d15ec8c Bug 875099 - Avoid including MDDEPEND_FILES twice. r=ted 2013-05-23 07:28:08 +02:00
Bobby Holley
b433ae35b8 Bug 874318 - Don't allow CALL on XOWs. r=mrbkap 2013-05-22 22:27:16 -06:00
Bobby Holley
d73a980e09 Bug 862380 - Tests. r=mrbkap 2013-05-22 22:27:15 -06:00
Bobby Holley
89be72dd4e Bug 862380 - Silently fail for enumerate-like operations on XOWs. r=mrbkap 2013-05-22 22:27:15 -06:00
Bobby Holley
2fbd8f4d5c 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
a76f725f9c 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
20150217b7 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
bbdeaae196 Bug 637572 - Implement Debugger.Script.prototype.source; r=jimb 2013-05-22 16:42:52 -07:00
Eddy Bruel
2c00cf5310 Bug 637572 - Use ScriptSourceObject instead of ScriptSource; r=jimb 2013-05-22 16:23:07 -07:00
Eddy Bruel
6836f87c30 Bug 637572 - Implement ScriptSourceObject; r=jimb 2013-05-22 16:06:54 -07:00
Brian Hackett
5d18297de0 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
79c446dac7 Bug 868110 - Remove JS_GetGlobalObject. r=luke
\o/
2013-05-22 15:42:45 -06:00
Bobby Holley
8f823bfe9a 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
cbf0dfe2c7 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
9bb3f2f03c 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
d42489c5a1 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
459b3f91ee Bug 863957 - Check if jsid is really a string in Components.interfacesByID. r=bz 2013-05-22 22:32:50 +02:00
Terrence Cole
e61de5ae64 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
Terrence Cole
9ae77fd59d Bug 851057 - Implement generational GC support in IonMonkey; r=dvander 2013-04-18 17:03:40 -07:00
Brian Hackett
e2b0c1352b Bug 870052 - Various tweaks to reduce recompilation on asm.js style apps, r=jandem. 2013-05-22 11:36:29 -06:00
Bobby Holley
0394ea5eff Bug 872135 - Use the SafeJSContext in nsXPConnect::CheckForDebugMode. r=gabor 2013-05-22 10:05:28 -06:00
Bobby Holley
48739732cc Bug 868130 - Fix include guard. r=me 2013-05-22 10:05:28 -06:00
Bobby Holley
f2943090bd 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
3a5d26739d Bug 868130 - Add an AutoRequest inside nsCxPusher. r=gabor 2013-05-22 10:05:26 -06:00
Bobby Holley
b44627d83a 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
2bd9226493 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
cdde50556c 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
cfe8b9c5d2 Bug 868130 - Make sure to push the context in the ObjectWrapperChild constructor. r=gabor 2013-05-22 10:05:24 -06:00
Bobby Holley
4e9053b8c6 Bug 868130 - Enter a request for all of OnJSContextNew. r=peterv 2013-05-22 10:05:23 -06:00
Brian Hackett
2a733cdd68 Bug 871075 - Add rooting analysis warnings for unsafe address taken of variables DONTBUILD 2013-05-22 07:47:41 -06:00
Jan de Mooij
162bdc21e4 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