Commit Graph

22533 Commits

Author SHA1 Message Date
Nicholas Nethercote
da8060abcb Bug 796760 (part 2) - Exactly root FinalizeOp. r=terrence.
--HG--
extra : rebase_source : 0cd1e5a0f2aceb043b56bea8e1649847cad212f0
2012-10-02 22:03:00 -07:00
Nicholas Nethercote
b6547ac043 Bug 796760 (part 1) - Exactly root JSTraceOp. r=terrence.
--HG--
extra : rebase_source : da9591cf8013337b954d11d6921d6a666aae49e7
2012-10-02 22:02:44 -07:00
Nicholas Nethercote
c6ab15d09b Bug 796320 (part 3) - Remove JSContext::lastMessage. r=luke.
--HG--
extra : rebase_source : efda9e940e598fc037d6d51403b95c01ba3bad4b
2012-10-02 19:13:21 -07:00
Nicholas Nethercote
8e7cf8d620 Bug 796320 (part 2) - Remove dead AutoSetGeneratingError. r=luke.
--HG--
extra : rebase_source : 71d471a4c98b74a166f6b94996bcb68cdb8424ea
2012-10-02 19:13:20 -07:00
Nicholas Nethercote
4557910898 Bug 796320 (part 1) - Remove dead JSRuntime::waiveGCQuota. r=luke.
--HG--
extra : rebase_source : 5467d1b60c0b1c4d7c9a9b386a4834556e770579
2012-10-02 19:13:16 -07:00
Sean Stangl
da2bf4047f Bug 793516 - Avoid JS_NOT_REACHED() if assertion failure is plausible. r=dvander 2012-10-02 16:43:04 -07:00
David Mandelin
f6499768c2 Bug 750019: disable optimizations for nsIDOMHTMLDocument_Write on MSVC, r=bz
--HG--
extra : rebase_source : 00230976a1242a20c95dc7e9f841d872114d717a
2012-10-02 12:35:37 -07:00
Masatoshi Kimura
cd478498cf Bug 795544 - Make StringEncoding API available from xpcshell/jsm. r=bz 2012-10-02 20:14:38 -04:00
Phil Ringnalda
5fda4516c4 Back out 40aee4aca350 and 9bfd6c420eba (bug 793165) for Android build bustage on a CLOSED TREE 2012-10-02 14:33:20 -07:00
Ehsan Akhgari
3c06a2e67f Silence two more clang unused-private-field warnings in the IonMonkey code; no bug, irc-r=dvander 2012-10-02 17:28:55 -04:00
David Anderson
5ae669fb5e Fix buggy interactions between IC patching and invalidation (bug 793165 part 2, r=jandem). 2012-10-02 13:43:47 -07:00
David Anderson
d9e7d8e2e6 Clean up IonScript privacy (bug 793165 part 1, r=jandem). 2012-10-02 13:43:44 -07:00
Shu-yu Guo
117a973833 Bug 795227 - ParallelArray should check length range like Array (r=dvander) 2012-10-02 11:33:46 -07:00
Shu-yu Guo
e85ed8da8f Bug 795165 - Rewrite ParallelArray toString from recursive to iterative (r=dvander) 2012-10-02 11:33:45 -07:00
Jeff Walden
d19768c458 Bug 797049 - Disable C4351 as an MSVC warning about a change to be standards-compliant in MSVC2005 (!). Also sync up warning-disabling between configure.in and js/src/configure.in, and add comments about the warnings being disabled. r=khuey
--HG--
extra : rebase_source : 21218d7dc130c0471985dd5bcd12afc74e348595
2012-10-02 11:49:32 -07:00
Luke Wagner
8b57bfb01f Bug 795574 - name lookup in JSOP_IMPLICITTHIS should default to the global (r=waldo)
--HG--
extra : rebase_source : f4779f72c69016e4b1aa2aea0b363c37052d990e
2012-10-02 10:51:10 -07:00
Jeff Walden
2e23130485 Windows opt build warning fixes. No bug, r=njn on the jsopcode code removal, r=lumpy on the rest 2012-10-02 09:32:29 -07:00
Eddy Bruel
68e45ce2af Bug 795625 - Don't push StmtInfo for Parser::functionBody; r=jorendorff on irc 2012-10-02 16:04:25 +02:00
Eddy Bruel
597d2dbf48 Bug 795721 - Inherit FunctionBox from ObjectBox; r=njn 2012-10-02 14:56:26 +02:00
Ed Morley
d078159b72 Merge mozilla-central to mozilla-inbound 2012-10-02 11:19:03 +01:00
Ed Morley
09326bd576 Backout 7895a56d434d, 2520fd9f3883, bca9d7ef2727, ba4e134b13fd (bug 765119) for make check failures 2012-10-02 10:58:37 +01:00
Ed Morley
3e2ecb7adf Backout dbc7e1bc48d0 (bug 765119) for make check failures 2012-10-02 10:55:04 +01:00
Marty Rosenberg
8d1f3253e7 Fix a bunch of bugs that the fuzzers found (bug 765119, r=dvander) 2012-10-02 04:34:28 -04:00
Marty Rosenberg
c7e221df71 Teach RangeAnalysis how to deal with unreachable blocks (bug 765119, r=dvander) 2012-10-02 04:34:28 -04:00
Marty Rosenberg
ddd8ff2fd9 Add narrowing into range analysis, greatly speeding up some testcases (bug 765119, jandem) 2012-10-02 04:34:28 -04:00
Marty Rosenberg
8415c10b54 Add a bunch of features to range analysis to make it optimize more. (bug 765119, r=jandem) 2012-10-02 04:34:28 -04:00
Marty Rosenberg
50805db163 Beta nodes sholud be able to have infinite ranges, fixes very slow testcase (bug 765119, r=dvander) 2012-10-02 04:34:27 -04:00
Nicholas Nethercote
29e9b5995f Bug 795768 (part 2) - De-macroize js_GetSrcNote().
--HG--
extra : rebase_source : de59e96db34cf46ab87fd808a493c52e0ed54d45
2012-09-30 21:18:07 -07:00
Nicholas Nethercote
2bb2924283 Bug 795768 (part 1) - Remove lots of dead JSContext* occurrences.
--HG--
extra : rebase_source : 78cfccb915228146c36951fe4912b7b59e544319
2012-09-30 21:13:53 -07:00
Terrence Cole
5eb50115be Backout ed626654fe56 for alleged performance regression. 2012-10-01 18:10:18 -07:00
Sean Stangl
24f001bdb8 Bug 794679 - Cache for GetPcScript(). r=pierron 2012-10-01 16:59:11 -07:00
Terrence Cole
524d1915fb Bug 793823 - Don't create a second InternalBindingsHandle; r=billm
In FillBindingVector, we can just pass the script to BindingIter.
2012-10-01 15:43:50 -07:00
Terrence Cole
f792a6afe0 Bug 793823 - Store an InternalHandle in BindingIter; r=billm
Currently, BindingIter stores a Bindings*: this is sometimes a pointer into a
JSScript, which causes the analysis to poison it.  This patch straightforwardly
replaces this Bindings* with an InternalBindingsHandle.

--HG--
extra : rebase_source : bc780da603be1ae24fbbdf2d304d3fdb53de130e
2012-09-26 15:39:33 -07:00
Bobby Holley
54469cd1cc Bug 794912 - Remove dynamic privilege check in isCrossOriginAccessPermitted. r=mrbkap 2012-10-01 23:13:49 +02:00
Terrence Cole
9540d74a9a Bug 794667 - Add an AutoAssertCanGC to help with exact rooting; r=billm
This will allow us to annotate all methods with either an AutoAssertNoGC or
AutoAssertCanGC.  These will serve the purpose currently being served by
MaybeCheckStackRoots, but because they are lighter can be used throughout the
engine.
2012-09-26 18:07:44 -07:00
Jeff Walden
d6bd2ef52c Split up an assertion of x && y && z into separate asserts for x, y, and z, for easier at-a-glance understandings of failures should the assertion ever be hit. No bug, r=sparky
--HG--
extra : rebase_source : a110a0bfce4eecb0c47cba054cb858223f75acf4
2012-10-01 11:23:40 -07:00
Ms2ger
de6e52ff9d Bug 795300 - Remove xpc_GetGlobalForObject; r=bholley 2012-10-02 10:24:11 +02:00
Ms2ger
1dc715e66f Bug 795301 - Demacroize IS_{SLIM,WN}_WRAPPER{,_OBJECT}; r=bholley 2012-10-02 10:24:11 +02:00
Ms2ger
4c9dcdaa6d Bug 793116 - Remove nsISupports argument to xpc_CreateGlobalObject; r=bholley 2012-10-02 10:24:11 +02:00
Ms2ger
37c3d933eb Bug 793482 - Use xpc::GetCompartmentPrivate in a few more places; r=bholley 2012-10-02 10:24:11 +02:00
Ms2ger
db5221a631 Bug 780151 - Part b: Don't hand out ThisTranslators; r=bz 2012-10-02 10:24:08 +02:00
Ms2ger
d19a1ada0a Bug 780151 - Part a: Remove unused arguments to TranslateThis; r=bz 2012-10-02 10:22:32 +02:00
Ms2ger
ea90d0c98b Bug 780146 - Part d: Inline mozilla::dom::binding::DefineConstructor; r=bz 2012-10-02 10:07:36 +02:00
Norbert Lindenberg
8e6438cbf2 Bug 795743 - Fix misc rooting analysis errors on test402; r=terrence
A few fixes resulting from running test402 with rooting verification mode.

--HG--
extra : rebase_source : 0a13ea3d2930ce97ee75dd0d792674b58a06b53c
2012-09-30 12:51:00 -07:00
Peter Van der Beken
b5b5988316 Fix for bug 791774 (Hook DOM lists up to the new DOM bindings). r=bz.
--HG--
extra : rebase_source : 873020edd9cd3defc932d77bd26b5d65ebf263cb
2012-06-13 17:18:30 +02:00
Peter Van der Beken
225e9ed8d3 Fix for bug 791347 (Support non-nsISupports refcounted natives and non-refcounted natives in new DOM bindings). r=bz/smaug.
--HG--
extra : rebase_source : cd6d98461d7fa3a07fa1361b4d840448122b6655
2012-09-19 15:02:37 +02:00
Nicholas Nethercote
2359c932e0 Bug 795765 - Fix "used but never defined" warning for JSObject::asString(). r=jwalden. 2012-09-30 17:04:32 -07:00
Kannan Vijayan
48a6b62358 Bug 786126 - part 2 - Skip IC generation for GetElems of int32 indexes on non-native objects. (r=dvander) 2012-09-30 15:18:47 -04:00
Kyle Huey
03cf2b648a Bug 792625: Fix xpcshell to accept non-ASCII command line arguments on Windows. r=bsmedberg 2012-09-30 09:45:05 -07:00
Ryan VanderMeulen
04fb505a62 Backout 12465a1211e0 (bug 789897) for landing without addressing all review comments. 2012-09-30 12:12:47 -04:00