Sean Stangl
759fe4c2a3
Bug 793516 - Avoid JS_NOT_REACHED() if assertion failure is plausible. r=dvander
2012-10-02 16:43:04 -07:00
David Mandelin
d5e3ad15ce
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
140d294330
Bug 795544 - Make StringEncoding API available from xpcshell/jsm. r=bz
2012-10-02 20:14:38 -04:00
Phil Ringnalda
af28412930
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
d30047f3f2
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
523de46c66
Fix buggy interactions between IC patching and invalidation (bug 793165 part 2, r=jandem).
2012-10-02 13:43:47 -07:00
David Anderson
d883bf7cae
Clean up IonScript privacy (bug 793165 part 1, r=jandem).
2012-10-02 13:43:44 -07:00
Shu-yu Guo
340427682b
Bug 795227 - ParallelArray should check length range like Array (r=dvander)
2012-10-02 11:33:46 -07:00
Shu-yu Guo
a80af04a92
Bug 795165 - Rewrite ParallelArray toString from recursive to iterative (r=dvander)
2012-10-02 11:33:45 -07:00
Jeff Walden
c0bf915836
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
d6e6cc7ee2
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
00b7f94c1d
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
335dd478e2
Bug 795625 - Don't push StmtInfo for Parser::functionBody; r=jorendorff on irc
2012-10-02 16:04:25 +02:00
Eddy Bruel
b5a7df7616
Bug 795721 - Inherit FunctionBox from ObjectBox; r=njn
2012-10-02 14:56:26 +02:00
Ed Morley
3d3703a920
Merge mozilla-central to mozilla-inbound
2012-10-02 11:19:03 +01:00
Ed Morley
37e140b58c
Backout 7895a56d434d, 2520fd9f3883, bca9d7ef2727, ba4e134b13fd (bug 765119) for make check failures
2012-10-02 10:58:37 +01:00
Ed Morley
6d5339e06a
Backout dbc7e1bc48d0 (bug 765119) for make check failures
2012-10-02 10:55:04 +01:00
Marty Rosenberg
cbae6a6047
Fix a bunch of bugs that the fuzzers found (bug 765119, r=dvander)
2012-10-02 04:34:28 -04:00
Marty Rosenberg
9c205754fb
Teach RangeAnalysis how to deal with unreachable blocks (bug 765119, r=dvander)
2012-10-02 04:34:28 -04:00
Marty Rosenberg
b6f27789c3
Add narrowing into range analysis, greatly speeding up some testcases (bug 765119, jandem)
2012-10-02 04:34:28 -04:00
Marty Rosenberg
0bf60350bf
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
e1f4c6b326
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
fc46ef052c
Bug 795768 (part 2) - De-macroize js_GetSrcNote().
...
--HG--
extra : rebase_source : de59e96db34cf46ab87fd808a493c52e0ed54d45
2012-09-30 21:18:07 -07:00
Nicholas Nethercote
21ccb1661f
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
3d1d154421
Backout ed626654fe56 for alleged performance regression.
2012-10-01 18:10:18 -07:00
Sean Stangl
00f47eff65
Bug 794679 - Cache for GetPcScript(). r=pierron
2012-10-01 16:59:11 -07:00
Terrence Cole
d5d0faa0aa
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
598a2f8510
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
4a8ed6d4a9
Bug 794912 - Remove dynamic privilege check in isCrossOriginAccessPermitted. r=mrbkap
2012-10-01 23:13:49 +02:00
Terrence Cole
ed25aa9d76
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
d294113376
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
69bfc49741
Bug 795300 - Remove xpc_GetGlobalForObject; r=bholley
2012-10-02 10:24:11 +02:00
Ms2ger
9728c472c5
Bug 795301 - Demacroize IS_{SLIM,WN}_WRAPPER{,_OBJECT}; r=bholley
2012-10-02 10:24:11 +02:00
Ms2ger
ddc2dbbc65
Bug 793116 - Remove nsISupports argument to xpc_CreateGlobalObject; r=bholley
2012-10-02 10:24:11 +02:00
Ms2ger
ea6699a96d
Bug 793482 - Use xpc::GetCompartmentPrivate in a few more places; r=bholley
2012-10-02 10:24:11 +02:00
Ms2ger
82dca59cca
Bug 780151 - Part b: Don't hand out ThisTranslators; r=bz
2012-10-02 10:24:08 +02:00
Ms2ger
4bde9a8fcd
Bug 780151 - Part a: Remove unused arguments to TranslateThis; r=bz
2012-10-02 10:22:32 +02:00
Ms2ger
052582276b
Bug 780146 - Part d: Inline mozilla::dom::binding::DefineConstructor; r=bz
2012-10-02 10:07:36 +02:00
Norbert Lindenberg
c6fc6748a6
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
2561b4b1e6
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
931a931c83
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
7bb7586264
Bug 795765 - Fix "used but never defined" warning for JSObject::asString(). r=jwalden.
2012-09-30 17:04:32 -07:00
Kannan Vijayan
ad138984ba
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
6dc54b8e20
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
abbf906749
Backout 12465a1211e0 (bug 789897) for landing without addressing all review comments.
2012-09-30 12:12:47 -04:00
Eddy Bruel
df84ae2f04
Bug 789897 - Implement the preventExtensions trap for proxies; r=jorendorff
2012-09-30 18:01:13 +02:00
Eddy Bruel
b0c7bef027
Bug 787856 - Use static JSObject::getProto in proxy code; r=wmccloskey
2012-09-30 17:51:26 +02:00
Nicolas B. Pierron
e3a2c4fa27
Bug 794286 - ReconstructPcStack, Keep hidden stack depth only when following gotos. r=luke
2012-09-29 03:42:04 -07:00
Nicolas B. Pierron
703212a4f5
Bug 787848 - Handle JSOP_THROWING opcode in the decompiler. r=luke
2012-09-29 03:42:04 -07:00
Nicolas B. Pierron
10d4f193a6
Bug 787309 - Fallback on try notes after continuing on a goto. r=luke
2012-09-29 03:42:04 -07:00