Commit Graph

281 Commits

Author SHA1 Message Date
Terrence Cole
a67474905a Bug 793577 - Implement Return<T> for direct returns of unrooted GC pointers; r=billm r=njn
Return<T> wraps GC things that are returned from accessor methods.  The wrapper
helps to ensure correct rooting of the returned pointer and safe access while
unrooted.
2012-09-26 11:13:20 -07:00
Till Schneidereit
8cf23858fa Bug 784400 - Enable cloning of object literals within functions. r=luke 2012-10-11 11:53:02 +02:00
Nicolas B. Pierron
be98caba91 Bug 797977 - Rename StackIter::fp() to StackIter::interpFrame(). r=luke 2012-10-10 20:50:07 -07:00
Jan de Mooij
0e9732ffe2 Bug 798823 - Don't use an empty IonActivation in FastInvokeGuard. r=dvander 2012-10-07 14:27:11 -07:00
Jan de Mooij
01c51849b8 Temporarily disable bug 797131 part 3 for fuzz crashes. r=dvander on IRC 2012-10-07 01:15:53 +02:00
Jan de Mooij
80eafc3e89 Bug 798819 - Ensure the EnterJIT thunk exists when using FastInvoke. r=dvander 2012-10-06 15:39:04 -07:00
Jan de Mooij
d07b063cd1 Bug 797131 part 3 - Add fast path for calling into Ion. r=dvander 2012-10-06 11:38:18 +02:00
Jan de Mooij
6bd69e62c4 Bug 797131 part 2 - Add FastInvokeGuard and use it. r=dvander 2012-10-06 11:37:59 +02: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
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
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
Nicolas B. Pierron
cbec12046b Backout a2843362ce9b (Bug 786126) - Are we fast yet regression. 2012-09-28 22:58:53 -07:00
Kannan Vijayan
8a051e5212 Bug 786126 - part 2 - Skip IC generation for GetElems of int32 indexes on non-native objects. (r=dvander) 2012-09-28 18:14:39 -04:00
Nicholas Nethercote
a9b7f089d4 Bug 791611 (part 3) - Exactly root most JSScripts in jsinfer.cpp. r=terrence.
--HG--
extra : rebase_source : c675efbd7e628742e59cd14ae91ab8998d3dfc5c
2012-09-16 16:32:06 -07:00
Nicholas Nethercote
082ab0b34b Bug 791611 (part 1) - Exactly root most JSObjects in jsinfer.cpp. r=terrence.
--HG--
extra : rebase_source : 1b39f0220a1f0ec0f8633b6a0aa5685f1d3a2c02
2012-09-16 16:32:02 -07:00
Jeff Walden
a546087964 Bug 789635 - Clean up JSAtomState so that all atom fields are macro-defined, and move the atoms set into JSRuntime directly. r=jorendorff
--HG--
extra : rebase_source : ed461a1092fde477a199499e4519885598be7079
2012-09-06 13:48:40 -07:00
Nicholas Nethercote
bd8bae54c6 Bug 791608 (part 1) - Fix compile warnings about JSObject::isFunction. r=jwalden.
--HG--
extra : rebase_source : 32e1bd6d65d4c2f6002b40ac0cbdd4955f2ddcdd
2012-09-17 17:11:54 -07:00
Jeff Walden
1a9be94bdf Backed out changeset 17d36418f4d6, possible memory leak. r=graphserver
--HG--
extra : rebase_source : ce0a13c66211ad536eca08722cf15b2214e0d8da
2012-09-17 15:10:47 -07:00
Jeff Walden
d892582d8e Bug 789635 - Clean up JSAtomState so that all atom fields are macro-defined, and move the atoms set into JSRuntime directly. r=jorendorff
--HG--
extra : rebase_source : 83316d60be6a58b5a4b51058331068bf68ec0626
2012-09-06 13:48:40 -07:00
David Anderson
7c176d7a19 Use HandleValue for all vm calls (bug 786130, r=sstangl). 2012-09-10 16:40:44 -07:00
Jan de Mooij
0522b0d60d Bug 789448 - Don't call GetPcScript under ToIdOperation. r=dvander 2012-09-10 10:16:24 +02:00
David Anderson
6c5722e35b Merge from mozilla-central. 2012-09-06 18:28:59 -07:00
Ms2ger
848f0e8e1d Bug 784619 - Remove JS_PROPERTY_CACHE; r=evilpie 2012-09-06 09:14:49 +02:00
David Anderson
6b403f94c2 Merge from mozilla-central.
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-29 17:51:24 -07:00
David Anderson
188c88907e Merge from mozilla-central. 2012-08-22 16:09:24 -07:00
David Anderson
1ef4c57410 Merge from mozilla-central. 2012-08-21 15:59:12 -07:00
Sean Stangl
f6e9c3b768 Bug 782776 - Add beginsIonActivation() to StackFrame. r=dvander 2012-08-14 16:28:05 -07:00
David Anderson
7ef28ac5ac Merge from mozilla-central. 2012-08-13 13:40:42 -07:00
Jan de Mooij
9fbd4a70ad Bug 781145 - Add a fast path to js::GetProperty for string/array length. r=dvander 2012-08-09 14:48:50 +02:00
Brian Hackett
d80b30ab38 Make JSObject::doSomethingToThisObject methods static, bug 782646. r=terrence 2012-08-21 13:13:28 -06:00
Luke Wagner
083ee54000 Bug 774915 - don't use the property cache for dynamic name lookup (r=bhackett) 2012-08-17 18:09:43 -07:00
David Anderson
bee6a61001 Merge.
--HG--
rename : content/base/src/nsGenericElement.h => content/base/public/FragmentOrElement.h
rename : content/base/src/nsGenericElement.cpp => content/base/src/FragmentOrElement.cpp
rename : gfx/thebes/nsCoreAnimationSupport.mm => gfx/2d/QuartzSupport.mm
2012-08-01 11:30:00 -07:00
David Anderson
9929d37fcc Merge from mozilla-central. 2012-07-31 17:19:41 -07:00
Jan de Mooij
84cd45ba36 Don't go through GetPcScript to monitor AddValue edge cases (bug 776022, r=dvander). 2012-07-27 13:12:30 -07:00
David Anderson
180cbd4d9d Merge from mozilla-central. 2012-07-19 14:34:36 -07:00
David Anderson
b93d6b9c04 Merge from mozilla-central. 2012-07-12 13:23:26 -07:00
David Anderson
56d1e29054 Merge from mozilla-central.
--HG--
rename : editor/libeditor/base/DeleteElementTxn.cpp => editor/libeditor/base/DeleteNodeTxn.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicBuffers.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicBuffers.h
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicCanvasLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicColorLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicContainerLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicContainerLayer.h
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicImageLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicLayerManager.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicLayersImpl.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicLayersImpl.h
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicThebesLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicThebesLayer.h
rename : js/src/jsobj.cpp => js/src/builtin/Eval.cpp
2012-07-10 19:45:14 -07:00
Luke Wagner
d045bcabab Bug 680562 - Remove CHECK_INTERRUPT_HANDLER (r=jimb) 2012-07-08 03:07:25 -07:00
Brian Hackett
351f5c5702 Add various autorooting, bug 772303. r=terrence 2012-08-12 19:50:49 -06:00
David Anderson
8cc88ca2e4 Merge from mozilla-central. 2012-06-28 15:17:18 -07:00
Till Schneidereit
75655298f7 Bug 462300 - Add support for self-hosting syntax and operations (r=luke)
--HG--
extra : rebase_source : 82852ba6bf800e4d87f64b178a963e71323af391
2012-07-10 00:11:39 +02:00
Ed Morley
4eefe4d834 Backout f84910a8474a (bug 462300) for crashes in xpcshell 2012-07-31 19:16:54 +01:00
Till Schneidereit
472c87095c Bug 462300 - Add support for self-hosting syntax and operations (r=luke)
--HG--
extra : rebase_source : 90e33d171ac0b79aebdf2f652909d72dd7ae2601
2012-07-10 00:11:39 +02:00
Brian Hackett
ffc948bbbe Use HandleValue and MutableHandleValue in API hooks where possible, bug 776579. r=billm, sr=dmandelin 2012-07-30 05:19:09 -06:00
Bill McCloskey
b6e81abbe8 Bug 771026 - Replace JSProperty with Shape (r=bhackett) 2012-07-04 19:34:06 -07:00
Bill McCloskey
d57947baca Backed out changeset fe305819d2f2 (bug 771026) for orange 2012-07-04 20:22:30 -07:00
Bill McCloskey
ab72b4aa50 Bug 771026 - Replace JSProperty with Shape (r=bhackett) 2012-07-04 19:34:06 -07:00
Bill McCloskey
252cf2ecc5 Bug 771018 - Replace "const Shape" with "Shape" (r=luke) 2012-07-04 19:33:41 -07:00
Bill McCloskey
1775e92469 Bug 770999 - Add get() method to Handle<T> and Rooted<T> (r=bhackett) 2012-07-04 13:34:42 -07:00
Bill McCloskey
2100b10524 Bug 770759 - Add mutable handles (r=bhackett) 2012-07-04 11:12:16 -07:00