Commit Graph

31069 Commits

Author SHA1 Message Date
Andrew McCreight
308a7aade6 Bug 952660, part 8 - Insert non-root wrappers into the list in the constructor for nsXPCWrappedJS. r=bholley
A non-root wrapper has to be inserted into the list. There's only one place this is needed, but I
think it makes more sense like this.
2014-01-02 11:33:42 -08:00
Andrew McCreight
663d876a37 Bug 952660, part 7 - Replace if with else in nsXPCWrappedJS::GetNewOrUsed. r=bholley
We check for root, then don't change root and check for !root, so this can just be
an else.
2014-01-02 11:33:42 -08:00
Andrew McCreight
64090143a1 Bug 952660, part 6 - Add and use nsXPCWrappedJS::FindOrFindInherited. r=bholley
FindInherited is only ever used after running Find, and the way the checks
are chained is a little weird.
2014-01-02 11:33:42 -08:00
Andrew McCreight
84a36ae02a Bug 952660, part 5 - The null check at the end of nsXPCWrappedJS::GetNewOrUsed will always fail. r=bholley 2014-01-02 11:33:41 -08:00
Andrew McCreight
20b1ae972d Bug 952660, part 4 - Eliminate now-unnecessary null check in nsXPCWrappedJS::GetNewOrUsed. r=bholley 2014-01-02 11:33:41 -08:00
Andrew McCreight
ab20f03087 Bug 952660, part 3 - Eliminate goto return_wrapper. r=bholley
Substitute in the tail of the function for each goto, then eliminate
the resulting branches where possible.
2014-01-02 11:33:41 -08:00
Andrew McCreight
5085bb4817 Bug 952660, part 2 - Take advantage of new being infallible in nsXPCWrappedJS::GetNewOrUsed. r=bholley 2014-01-02 11:33:41 -08:00
Andrew McCreight
af3de44f9b Bug 952660, part 1 - Use smart pointer for clazz in nsXPCWrappedJS::GetNewOrUsed. r=bholley
The trickiest thing the goto in GetNewOrUsed does is release clazz in some cases,
so using a smart pointer will simplify things.
2014-01-02 11:33:41 -08:00
Andrew McCreight
e21965c2c3 Bug 947336, part 3 - Add comment about ownership of nsXPCWrappedJS::mRoot. r=bholley 2014-01-02 11:33:41 -08:00
Andrew McCreight
e102183e17 Bug 947336, part 2 - Make nsXPCWrappedJS::mClass a smart pointer. r=bholley 2014-01-02 11:33:41 -08:00
Andrew McCreight
6b2d93abd5 Bug 947336, part 1 - Make nsXPCWrappedJS::mOuter into a smart pointer. r=bholley 2014-01-02 11:33:40 -08:00
Luke Wagner
9d4515e054 Bug 952616 - OdinMonkey: tweak success message when not stored in cache (r=bbouvier)
--HG--
extra : rebase_source : fd8b46ce32a3231ae8f3533f445576200003be65
2013-12-20 14:32:04 -06:00
Brian Hackett
c164a4e915 Bug 951497 - Add type constraints for definite property analysis. r=jandem 2014-01-02 11:53:38 -05:00
Jan de Mooij
9aa85fd474 Bug 953373 - Use NewObjectWithType when cloning regexps. r=bhackett 2014-01-02 17:39:00 +01:00
Ryan VanderMeulen
4fad5b8144 Backed out changeset cb4cd38abdc5 (bug 945596) for bustage.
CLOSED TREE
2014-01-02 11:17:12 -05:00
masaya iseki
86327b8008 Bug 945596 - Define getJitCompilerOption to confirm jit-compiler-options. r=nbp 2014-01-02 10:50:14 -05:00
Hannes Verschore
dc9ac690c8 Bug 953410: Test for JS_ION in jit/IonOptimizationLevels.h to fix builds with --disable-ion, r=bhackett 2014-01-02 16:22:13 +01:00
Bobby Holley
c88d7136c7 Bug 951847 - Stop pushing a cx in the XPCCallContext constructor. r=gabor 2014-01-01 19:23:56 -08:00
Bobby Holley
ab6785509b Bug 951847 - Make the |cx| param to XPCCallContext mandatory. r=gabor 2014-01-01 19:23:55 -08:00
Bobby Holley
d80873ca4a Bug 951847 - Don't construct an XPCCallContext just to find a JSContext. r=gabor 2014-01-01 19:23:55 -08:00
Terrence Cole
c1622b31ab Bug 955735 - Reorganize the code in nsScriptLoader to eliminate some rooting hazards; r=smaug
--HG--
extra : rebase_source : db78c06d3eaa5539e906bfc95650abd8aac9be38
2013-12-31 08:30:07 -08:00
Ms2ger
fe059e78f7 Bug 950130 - Move more INCLUDES / LOCAL_INCLUDES to moz.build; r=mshal 2013-12-31 10:06:11 +01:00
Benjamin Peterson
5448ab75a7 Bug 953284 followup - Update trap offsets. r=me
--HG--
extra : rebase_source : 78f1b045973c8ac86cc6b93107fae577a29cae31
2013-12-27 16:27:27 -06:00
Benjamin Peterson
aa73ec2ea6 Bug 953284 - Remove JSOP_NOTEARG. r=jandem 2013-12-27 15:30:26 -06:00
Tom Schuster
a88f0f4057 Bug 952744 - Remove jsd_java. r=terrence 2013-12-27 21:27:03 +01:00
Jan de Mooij
5fc5417478 Bug 952992 - Remove MPrepareCall and MPassArg instructions. r=nbp
--HG--
extra : rebase_source : 51c7d7a273a7e52e374fabec0793206bdba24c2c
2013-12-27 20:49:33 +01:00
Jan de Mooij
ac84996eb5 No bug - Fix typo in CodeGenerator.cpp Emacs mode line. r=me DONTBUILD 2013-12-27 12:00:04 +01:00
Benjamin Peterson
7530c9daef No bug - Put initializer list in the right order to quiet GCC warnings. r=me 2013-12-26 16:53:21 -06:00
Brian Hackett
13fba1ed1b Bug 951213 - Improve robustness when rolling back properties after the definite properties analysis fails, allow metadata objects to be in the nursery, r=jandem,terrence. 2013-12-26 15:25:33 -07:00
Sylvestre Ledru
2e17f88dd7 Bug 625015 - Improve the error message when the X development libraries are not available; r=glandium
Patch based on the one of Aikeremu Tiemuer
2013-12-24 15:32:53 +01:00
Jan de Mooij
6514fba38e Bug 937697 - Simplify some BoundsCheckRange code. r=bhackett
--HG--
extra : rebase_source : 719258647e87d0bf52636e5d23085e2f1f7e2ec5
2013-12-24 13:51:26 +01:00
Tom Schuster
d277c8c1de Bug 918879 - Implement String#codePointAt and String.fromCodePoint r=till 2013-12-23 21:48:47 +01:00
Dan Gohman
290dcd4789 Bug 937132 - SpiderMonkey: Check for overflows in LifoAlloc. r=luke 2013-12-23 09:09:05 -05:00
Boris Zbarsky
2d815f3083 Bug 936056. Be consistent about the thisobj we pass to getters. r=jorendorff 2013-12-02 19:08:07 -05:00
Wes Kocher
446f07be42 Merge m-c to inbound 2013-12-20 19:00:45 -08:00
Wes Kocher
6bc4f795b0 Merge inbound to m-c 2013-12-20 18:42:04 -08:00
Steve Fink
0196ff5131 No bug. Hold the line at 3 hazards! r=terrence 2013-12-20 18:00:51 -08:00
Steve Fink
7621ab12a9 Bug 950176 - Use mangled names to identify nodes in callgraph, r=bhackett 2013-12-17 11:21:41 -08:00
Kannan Vijayan
e0fcc8ecec Bug 951528. r=jandem 2013-12-20 18:11:21 -05:00
Wes Kocher
b74e34db6f Backed out changeset 4c45705d14c4 (reland bug 952330 since it wasn't at fault for the ggc orange) 2013-12-20 14:27:26 -08:00
Wes Kocher
c4520e3e81 Backed out changeset 39778c27c5fd (bug 951213) for causing ggc orange 2013-12-20 14:26:29 -08:00
Terrence Cole
c190be4349 Bug 952615 - Fix an opt build failure with generational GC enabled; r=sfink 2013-12-20 12:48:43 -08:00
Luke Wagner
b10ea5ff0f Bug 952022 - Consolidate detachAsmJSModule and destroyBackedges (r=bhackett)
--HG--
extra : rebase_source : 38aba86b0badc80dbfd911cc08450b4d52652bf3
2013-12-20 15:41:00 -06:00
Wes Kocher
af88047607 Backed out changeset 226af3342987 (bug 952330) for ggc orange 2013-12-20 13:15:48 -08:00
Terrence Cole
5aef8503a8 Bug 952619 - Kill some SpiderMonkey build warnings; r=Waldo 2013-12-20 12:48:41 -08:00
Brian Hackett
53f4bf0ebd Bug 950452 - Fix SETARG in IonBuilder, r=jandem. 2013-12-20 13:07:23 -07:00
Brian Hackett
2b76c32533 Bug 952330 - Synchronize updates to the slots pointer in global objects, r=jandem. 2013-12-20 13:05:00 -07:00
Brian Hackett
21a7baccc0 Bug 951213 - Improve robustness when rolling back properties after the definite properties analysis fails, r=jandem. 2013-12-20 13:04:08 -07:00
Terrence Cole
1b4d0bf00c Bug 952551 - Fix an exact rooting hazard in Shape::dump; r=sfink 2013-12-20 10:16:11 -08:00
Jan de Mooij
1486f7e3ec Bug 951366 - Use AutoDetectInvalidation for disabled GetElement caches. r=h4writer
--HG--
extra : rebase_source : ff7dd0a3478303d85d4f9472637412035d4365a7
2013-12-20 18:16:48 +01:00