Commit Graph

30191 Commits

Author SHA1 Message Date
Benjamin Peterson
9ba8874a94 Bug 939464 - Rewrite code to fix GCC unitialized variable compliants. r=billm
--HG--
extra : rebase_source : 6ef2b3017888286447135816e734c98bb6cf3da9
2013-11-16 18:15:33 -05:00
Dan Gohman
ba59726418 Bug 937944 - SpiderMonkey: Use d15 as the float scratch register on ARM, to avoid conflicts with argument registers. r=mjrosenb 2013-11-12 20:20:22 -08:00
Jan de Mooij
bcfc0b8ed5 Bug 937540 part 4 - Use placement new for MBasicBlock. r=djvj 2013-11-16 10:15:35 +01:00
Jan de Mooij
d7c2624b9d Bug 937540 part 3 - Use placement new for GVN ValueNumberData. r=mjrosenb 2013-11-16 10:15:33 +01:00
Jan de Mooij
7077033e4a Bug 937540 part 2 - Use placement new for BitSet and LoopAliasInfo. r=sstangl 2013-11-16 10:15:30 +01:00
Jan de Mooij
50a1ab3b37 Bug 937540 part 1 - Add |operator new| for placement new to TempObject and use for regalloc objects. r=luke 2013-11-16 10:14:07 +01:00
Martin Husemann
cf2cfc1efb Bug 810716: Avoid AC_TRY_LINK on systems where we do not want res_ninit r=ted 2013-11-16 09:13:23 +01:00
Landry Breuil
9f43148a95 Bug 928390: Partially backport libffi upstream 049d8386ff for OpenBSD/mips/hppa. r=glandium 2013-11-13 22:06:05 +01:00
Mike Hommey
082d667fb2 Bug 938956 - Add a generic recursion rule. r=gps
Use by running:
  make -C objdir recurse RECURSED_COMMAND="command_to_run in_each_subdirectory"
2013-11-16 13:40:53 +09:00
Mike Hommey
077002b5c7 Bug 937526 - Cleanup unicharutil/util and rdf/util related things. r=gps 2013-11-16 13:37:54 +09:00
Michael Shuen
014d210978 Bug 937916 - Implement TrueValue() and FalseValue(). r=sfink 2013-11-15 21:46:39 -05:00
Gregor Wagner
9f69e4d89d Bug 937605 - Firefox fails to build on PPC64: GCInternals.h:29:5: error: ‘ZoneSelector’ does not name a type. r=billm 2013-11-15 14:40:37 -08:00
Carsten "Tomcat" Book
3c3ebd3755 Backed out changeset d9ad4cc32e5d (bug 936143) as result of the discussion of Bug 937997 Comment 48 Trees Closed due to OOM on a CLOSED TREE 2013-11-14 10:02:34 +01:00
Carsten "Tomcat" Book
e17f09e4a7 Backed out changeset 011dcedf181f (bug 936143) as result of the discussion of Bug 937997 Comment 48 Trees Closed due to OOM on a CLOSED TREE 2013-11-14 10:02:24 +01:00
Carsten "Tomcat" Book
0a857bf536 Backed out changeset 2abeb02c4777 (bug 933882) as result of the discussion of Bug 937997 Comment 48 Trees Closed due to OOM on a CLOSED TREE 2013-11-14 10:02:14 +01:00
Carsten "Tomcat" Book
12b7a760aa Backed out changeset b8d3be6e3c1a (bug 935470) as result of the discussion of Bug 937997 Comment 48 Trees Closed due to OOM on a CLOSED TREE 2013-11-14 10:01:52 +01:00
Carsten "Tomcat" Book
0a01b279df Backed out changeset fe63bf2c6a3a (bug 935228) as result of the discussion of Bug 937997 Comment 48 Trees Closed due to OOM on a CLOSED TREE 2013-11-14 10:01:39 +01:00
Carsten "Tomcat" Book
c8dfe7142d Backed out changeset 5e6899ab5ead (bug 934799) as result of the discussion of Bug 937997 Comment 48 Trees Closed due to OOM on a CLOSED TREE 2013-11-14 10:01:25 +01:00
Carsten "Tomcat" Book
0e20af9666 Backed out changeset 9f3212effb9f (bug 934799) as result of the discussion of Bug 937997 Comment 48 Trees Closed due to OOM on a CLOSED TREE 2013-11-14 10:00:48 +01:00
Bobby Holley
db1330e2ca Bug 840488 - New domain policy API. r=bz
Note that this patch changes the semantics of javascript.enabled so that changes
to the pref do not apply to compartments that have already been created. This is
a significant change, but is necessary to support the new domain policy API.
After one cycle or so, we'll rip out the old API.
2013-11-12 16:43:35 -08:00
Bobby Holley
c04d2567ce Bug 840488 - Compute immunity from caps checks exactly once, and kill nsScriptSecurityManager::CanExecuteScripts. r=bz 2013-11-12 16:43:35 -08:00
Bobby Holley
23cf12e7bb Bug 840488 - Remove per-JSContext script toggling. r=bz
Note that the checks in nsJSEnvironment::EvaluateString and EvalInWindow
can safely go away, because we call ssm->ScriptAllowed() in
nsJSUtils::EvaluateString.
2013-11-12 16:43:35 -08:00
Bobby Holley
9f845bdef1 Bug 840488 - Move jsd over to the new API. r=bz
This setup is kind of hacky. JSD exposed a per-context script toggle, which,
while nonsensical, exhibits visibly different semantics than a per-global
toggle (since the former follows the WindowProxy across navigations, whereas
the latter does not). Honza says that Firebug ensures that any instances of
|jsdcx.scriptsEnabled = false| are guaranteed to be followed by
|jsdcx.scriptsEnabled = true| before a navigation occurs, so this should be
good enough.
2013-11-12 16:43:34 -08:00
Bobby Holley
a10c940425 Bug 840488 - Directly mark compartments whose docshells disable script execution. r=bz 2013-11-12 16:43:33 -08:00
Bobby Holley
260c41dfe4 Bug 840488 - Introduce a mechanism to temporarily or permanently block script for a given scope, and use it for unsafe channels. r=bz 2013-11-12 16:43:33 -08:00
Kannan Vijayan
1e18e0ea96 Bug 925308 - Added test case. 2013-11-12 15:55:41 -05:00
Steve Fink
9f3ad94e6e Bug 936013 - Type check JS_NeuterArrayBuffer argument, r=jorendorff 2013-11-12 12:24:09 -08:00
Kannan Vijayan
108a71f48a Bug 912303 - Added noSuchMethod support to baseline CALLPROP/CALLELEM stubs. r=efaust 2013-11-12 14:20:34 -05:00
Shu-yu Guo
63d7adad6b Bug 934799 - Part 2: Disable lazy parsing for JSD. (r=sfink) 2013-11-12 10:51:11 -08:00
Shu-yu Guo
f542cb5291 Bug 934799 - Part 1: Lazify delazifying lazy scripts in debug mode. (r=jimb) 2013-11-12 10:51:11 -08:00
Shu-yu Guo
a177359981 Bug 935228 - Toggle debug traps only in debug mode. (r=jandem) 2013-11-12 10:51:10 -08:00
Shu-yu Guo
93b4dbe87b Bug 935470 - Update end position after lazily parsing a function. (r=jorendorff) 2013-11-12 10:51:10 -08:00
Shu-yu Guo
8f57b41b6e Bug 933882 - Invalidate JIT code instead of doing full GC on debug mode toggle. (r=bhackett) 2013-11-12 10:51:10 -08:00
Jim Blandy
83d60eda84 Bug 936143 - Part 2: Simplify and fix js_GetScriptLineExtent. (r=shu) 2013-11-12 10:51:10 -08:00
Shu-yu Guo
999852099e Bug 936143 - Part 1: Add Debugger.Script.lineCount test where the script's source notes end in newline notes. (r=jimb) 2013-11-12 10:51:09 -08:00
Kannan Vijayan
706e46a201 Bug 925309 - Enabling profiler when it is already enabled should be a no-op. r=bhackett 2013-11-12 13:41:03 -05:00
Brian Hackett
127f10b458 Bug 937674 - Don't instantiate types when adding type object guards around type write barriers, r=jandem. 2013-11-12 11:02:52 -07:00
Brian Hackett
483de405ce Bug 936361 - Update test to not require ParallelArray. 2013-11-12 10:23:46 -07:00
Dan Gohman
d6bcfc61bb Bug 569597 - Eliminate use of ranlib. r=glandium 2013-11-11 19:26:59 -08:00
Kannan Vijayan
c3b08b2e21 Bug 925308 - Dont pop profiler frames for stack frames pushed by invalidated IonScripts which did not have profiler instrumentation. r=jandem 2013-11-12 11:28:03 -05:00
Benjamin Bouvier
af8af46fa2 Bug 935791 - Add an option to disable SSE3 and SSE4 on the JS shell. r=jandem 2013-11-12 16:16:24 +01:00
Eric Faust
03b15ed205 Bug 929261 - Fix for GetElementIC. r=shu 2013-11-12 09:34:10 -05:00
Nicholas D. Matsakis
8b22f3db80 Bug 937391 - Refactor prop/elem optimizations r=jandem 2013-11-11 20:29:53 -05:00
Nicholas D. Matsakis
3482f154ba Bug 933764 - Hide specific members of a TypeRepresentationSet r=jandem 2013-11-01 10:46:19 -04:00
Nicholas D. Matsakis
d81408d514 Bug 930057 - Incorrectly returning false r=jandem 2013-10-23 13:26:43 -04:00
Nicholas D. Matsakis
15d55f6130 Bug 922172 - Add redimension method r=till 2013-09-20 16:19:37 -04:00
Andy Wingo
07947c6e76 Bug 932276 - Reimplement GetBlockChainAtPC using JSScript::blockScopes(). r=jorendorff 2013-11-12 09:58:18 +01:00
Andy Wingo
0ac7a843a5 Bug 932276 - Bytecode emitter records static scope extents. r=jorendorff 2013-10-29 14:42:10 +01:00
Andy Wingo
22d47fa02a Bug 932276 - Reserve space in JSScript for an optional block scope array. r=jorendorff 2013-10-29 14:39:58 +01:00
Dan Gohman
b516b2e2e4 Bug 937128 - IonMonkey: Minor code simplifications. r=bhackett 2013-11-12 05:46:43 -08:00