Commit Graph

26508 Commits

Author SHA1 Message Date
Gregory Szorc
f95a6369a3 Bug 873720 - Part 5: Only call into subtiers that perform work; r=ted 2013-05-23 16:28:11 -07:00
Gregory Szorc
569b940af9 Bug 873720 - Part 3: Track build state in build monitor; r=ted 2013-05-23 16:28:10 -07:00
Gregory Szorc
db71028454 Bug 873720 - Part 1: Annotate build output with machine readable markers; r=ted 2013-05-23 16:28:09 -07:00
Luke Wagner
d6e504abaa 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
ce4368d4d0 Bug 874948 - Fix string rooting hazards in matching code, r=terrence 2013-05-23 15:32:41 -07:00
Brian Hackett
6bd0280cf4 Bug 870821 - Fix typo. 2013-05-23 13:51:08 -06:00
Nicholas D. Matsakis
d0cda62dd5 Bug 872352 - Add liquid-resize and other benchmarks into parjs-benchmarks rs=tests 2013-05-23 15:39:05 -04:00
Nicholas D. Matsakis
5121b27fe0 Bug 873522 - Perf integration for IonMonkey r=dvander 2013-05-23 15:38:56 -04:00
Brian Hackett
0f3d629dfa 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
1024ae7987 Bug 875290 - Remove TypeScript::LocalTypes, r=jandem. 2013-05-23 12:15:51 -06:00
Gregory Szorc
b4b4a0f49b Bug 874543 - Restart Makefile execution if backend is regenerated; r=glandium 2013-05-23 10:10:39 -07:00
Kannan Vijayan
f88eaf7e46 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
8418f12392 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
1255a621c5 Bug 875099 - Avoid including MDDEPEND_FILES twice. r=ted 2013-05-23 07:28:08 +02:00
Bobby Holley
29228294cc Bug 874318 - Don't allow CALL on XOWs. r=mrbkap 2013-05-22 22:27:16 -06:00
Bobby Holley
8e973c4709 Bug 862380 - Tests. r=mrbkap 2013-05-22 22:27:15 -06:00
Bobby Holley
047952f04b Bug 862380 - Silently fail for enumerate-like operations on XOWs. r=mrbkap 2013-05-22 22:27:15 -06:00
Bobby Holley
7e08d10ad9 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
db59678169 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
2eac6fb615 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
32dbbdb389 Bug 637572 - Implement Debugger.Script.prototype.source; r=jimb 2013-05-22 16:42:52 -07:00
Eddy Bruel
11025099d7 Bug 637572 - Use ScriptSourceObject instead of ScriptSource; r=jimb 2013-05-22 16:23:07 -07:00
Eddy Bruel
a76dd02494 Bug 637572 - Implement ScriptSourceObject; r=jimb 2013-05-22 16:06:54 -07:00
Brian Hackett
8f35d832f0 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
3f8e672bcc Bug 868110 - Remove JS_GetGlobalObject. r=luke
\o/
2013-05-22 15:42:45 -06:00
Bobby Holley
11f2396ec2 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
48e5c84941 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
a024c7d683 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
bf47cc7efa 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
0c845c2f9b Bug 863957 - Check if jsid is really a string in Components.interfacesByID. r=bz 2013-05-22 22:32:50 +02:00
Terrence Cole
7c51f6a483 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
d16755d75d Bug 851057 - Implement generational GC support in IonMonkey; r=dvander 2013-04-18 17:03:40 -07:00
Brian Hackett
44e7cd3917 Bug 870052 - Various tweaks to reduce recompilation on asm.js style apps, r=jandem. 2013-05-22 11:36:29 -06:00
Bobby Holley
66c9dffde0 Bug 872135 - Use the SafeJSContext in nsXPConnect::CheckForDebugMode. r=gabor 2013-05-22 10:05:28 -06:00
Bobby Holley
bc91b98ea1 Bug 868130 - Fix include guard. r=me 2013-05-22 10:05:28 -06:00
Bobby Holley
1b2f22fe61 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
583ca59ca3 Bug 868130 - Add an AutoRequest inside nsCxPusher. r=gabor 2013-05-22 10:05:26 -06:00
Bobby Holley
2b2cd4e0b7 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
772a8da25d 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
ba05c93769 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
e8d172db93 Bug 868130 - Make sure to push the context in the ObjectWrapperChild constructor. r=gabor 2013-05-22 10:05:24 -06:00
Bobby Holley
8ed4c38fb9 Bug 868130 - Enter a request for all of OnJSContextNew. r=peterv 2013-05-22 10:05:23 -06:00
Brian Hackett
8bbd38036f Bug 871075 - Add rooting analysis warnings for unsafe address taken of variables DONTBUILD 2013-05-22 07:47:41 -06:00
Jan de Mooij
2c2722d303 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
7434d81681 Bug 871002 - Use uint32 comparisons more often, r=jandem. 2013-05-22 06:50:18 -06:00
Shu-yu Guo
df0a7a754a 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
00a04666f5 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
3f483d8e00 Bug 867471 - Part 1: Compile rest parameter in Baseline. (r=djvj) 2013-05-21 23:52:44 -07:00
Brian Hackett
84d2860f57 Bug 868206 - Various fixes for the backtracking register allocator, r=jandem. 2013-05-21 21:40:44 -06:00
Matt Stults
d9592e088d 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