Brian Hackett
54f17f2e41
Bug 1028990 - Never eliminate GetPropertyPolymorphic instructions, r=jandem.
2014-07-17 08:36:33 -08:00
Steve Fink
7710497dcd
Bug 975011 - Allow js/src/configure to invoke the in-tree NSPR configure. r=glandium
...
--HG--
extra : rebase_source : 92960a00e4d89eb9f2af4247c1434f31e27392a0
2014-02-25 14:15:16 -08:00
Dan Gohman
1e8f6ee933
Bug 1039836 - IonMonkey: GVN: Switch to including dependency() in the value hash. r=nbp
2014-07-17 06:28:40 -07:00
Nicolas B. Pierron
7a4c1b20bb
Bug 992845 - Add Scalar replacement of objects with simplest escape analysis. r=jandem
2014-07-17 03:04:30 -07:00
Tooru Fujisawa
dd2e93e576
Bug 1022962 - Part 2: Add test for function call inside default parameter. r=jorendorff
2014-07-16 15:05:00 +02:00
Emanuel Hoogeveen
b88d3ca556
Bug 1017165 - Part 2: Let ArenaLists track swept arenas between slices and extend ArenaIter to walk incrementally swept arenas as well. r=billm
2014-07-16 17:10:00 +02:00
Emanuel Hoogeveen
a136c8a465
Bug 1017165 - Part 1: Sort arenas in order of increasing free space during finalization. r=billm
2014-07-16 17:06:00 +02:00
Paali Tandia
c9c65ea029
Bug 1034665
- IonMonkey - Implement RAtan2 recover instruction. r=nbp
2014-07-15 23:19:00 +02:00
Carsten "Tomcat" Book
ae1ff01d28
Backed out changeset 33ff09852b0a (bug 1039162) for ics emulator opt/debug test failures
2014-07-17 09:18:16 +02:00
Bill McCloskey
dc364b8178
Bug 673569 - Allow scripts to be run in a non-global scope (r=luke)
2014-07-16 23:03:44 -07:00
Nicholas Nethercote
c6a865ac70
Bug 1039162 - Don't use |for each| in XPCOMUtils.jsm. r=mrbkap.
...
|for ... each| loops create an Iterator object each time they execute. They're
also an E4X hangover. Converting them to vanilla arrays avoids the creation of
almost 6,000 Iterator objects when starting up B2G, mostly due to makeQI().
--HG--
extra : rebase_source : f3a3fe2d64a045dacf70461611d9a0b72a38a210
2014-07-16 22:45:29 -07:00
Chris Peterson
bdd272f87d
Bug 1036782 - Part 2: Replace MOZ_ASSUME_UNREACHABLE with MOZ_CRASH in StructuredClone.cpp. r=jorendorff
2014-07-15 19:32:06 -07:00
David Major
98ac1a2bf3
Bug 836658 - Use -arch:IA32 on VS2012 to avoid requiring SSE2. r=glandium
2014-07-17 13:57:44 +12:00
Nicholas Nethercote
256a1f168b
Bug 1038601 - Shrink js::HashTable. r=luke.
...
This patch reduces sizeof(js::HashTable):
- On 64-bit: from 32 bytes to 24 bytes.
- On 32-bit: from 24 bytes to 16 bytes.
The latter is particularly nice because jemalloc rounds up allocation requests
of 24 bytes to 32, but it can allocate 16 bytes without slop, so we're saving
16 bytes per heap-allocated HashTable.
This is done by:
- Shrinking |removedCount| and |hashShift|.
- Reordering the fields.
- Not defining |mutationCount| and |mEntered| in non-DEBUG builds rather than
using DebugOnly<> -- in non-DEBUG builds, DebugOnly<> fields take up 1 byte
each.
This change saves over 55 KiB when starting Firefox and loading Gmail.
The patch also uses uint32_t more consistently for the generation.
--HG--
extra : rebase_source : 8bdfbfe40f233711433bd9b7a2b5a19d69beacc7
2014-07-16 16:51:09 -07:00
Mike Hommey
86e20b3392
Bug 1039197 - Always build js engine with zlib. r=luke
2014-07-17 08:42:17 +09:00
Douglas Crosher
807fd19fed
Bug 1026919
- IonMonkey: (ARM) Simplify the assembler buffer with constant pools. r=jandem, previous part r=mjrosenb
2014-07-17 00:17:30 +10:00
Dan Gohman
d4f9efee69
Bug 1039719 - IonMonkey: Reorder some struct fields to reduce padding. r=sstangl
2014-07-16 13:11:59 -07:00
Birunthan Mohanathas
a4ac396211
Bug 1038535 - Flatten caps/{idl,include,src}/ directories. r=bholley,gps
...
--HG--
rename : caps/src/DomainPolicy.cpp => caps/DomainPolicy.cpp
rename : caps/include/DomainPolicy.h => caps/DomainPolicy.h
rename : caps/idl/nsIDomainPolicy.idl => caps/nsIDomainPolicy.idl
rename : caps/idl/nsIPrincipal.idl => caps/nsIPrincipal.idl
rename : caps/idl/nsIScriptSecurityManager.idl => caps/nsIScriptSecurityManager.idl
rename : caps/src/nsJSPrincipals.cpp => caps/nsJSPrincipals.cpp
rename : caps/include/nsJSPrincipals.h => caps/nsJSPrincipals.h
rename : caps/src/nsNullPrincipal.cpp => caps/nsNullPrincipal.cpp
rename : caps/include/nsNullPrincipal.h => caps/nsNullPrincipal.h
rename : caps/src/nsNullPrincipalURI.cpp => caps/nsNullPrincipalURI.cpp
rename : caps/src/nsNullPrincipalURI.h => caps/nsNullPrincipalURI.h
rename : caps/src/nsPrincipal.cpp => caps/nsPrincipal.cpp
rename : caps/include/nsPrincipal.h => caps/nsPrincipal.h
rename : caps/src/nsScriptSecurityManager.cpp => caps/nsScriptSecurityManager.cpp
rename : caps/include/nsScriptSecurityManager.h => caps/nsScriptSecurityManager.h
rename : caps/src/nsSystemPrincipal.cpp => caps/nsSystemPrincipal.cpp
rename : caps/include/nsSystemPrincipal.h => caps/nsSystemPrincipal.h
2014-07-15 11:12:59 -07:00
Dan Gohman
b4e55c30d8
Bug 845068 - IonMonkey: GVN: When a value in the set has a differing dependence, overwrite it r=nbp
2014-07-16 10:53:40 -07:00
Dan Gohman
74ce265aad
Bug 845068 - IonMonkey: GVN: Implement congruentTo and valueHash for more load nodes, exposing more congruences and reducing collisions r=nbp
2014-07-16 10:53:38 -07:00
Dan Gohman
e6642c54b7
Bug 845068 - IonMonkey: GVN: Don't make redundant HashSet lookups. r=nbp
2014-07-16 10:53:37 -07:00
Jan de Mooij
6675f63031
Bug 1037886 - Report Latin1 and TwoByte strings separately in about:memory. r=njn
2014-07-16 19:11:50 +02:00
Jon Coppeard
6d3b8ede42
Bug 1039516 - Add read barrier to SymbolRegistry r=terrence
2014-07-16 17:46:03 +01:00
Jon Coppeard
8b8850db2a
Bug 1035371 - Fix IsValueMarked() and IsValueAboutToBeFinalized() for symbols r=terrence
2014-07-16 17:45:22 +01:00
Brian Hackett
3da2b2d7c6
Bug 1037898 - Remove pointless and incorrectly used TypeSet constructor calls, r=jandem.
2014-07-16 08:39:54 -08:00
Brian Hackett
73cfe4fa4e
Bug 1024132 - Add one slot cache for stripping leading and trailing .* from RegExps for test() calls, r=jandem.
2014-07-16 08:34:30 -08:00
Emanuel Hoogeveen
bc2e859932
Bug 1038563 - Rename JS::Zone's jit-specific barrier state from Ion to jit. r=jandem
2014-07-15 00:01:00 +02:00
Jon Coppeard
e02ddd1af3
Bug 1038274 - Really fix previous problem with landing r=me
2014-07-16 12:04:33 +01:00
Jon Coppeard
2ed8ff7bfc
Bug 1038274 - Add max heap size constants to pass to JS_NewRuntime() r=terrence
2014-07-16 10:01:20 +01:00
Jon Coppeard
0136e9a714
Backed out changeset 5290e42e8345 (bug 1038274) for disabling GC malloc trigger
2014-07-16 11:34:49 +01:00
Benjamin Bouvier
901ca68923
Bug 1020467: Nuke allowFloat32Optimizations(); r=sstangl
2014-07-16 12:20:04 +02:00
Jon Coppeard
948a1ddf13
Bug 1038274 - Add max heap size constants to pass to JS_NewRuntime() r=terrence
2014-07-16 10:01:20 +01:00
Jon Coppeard
1aa9dc0f8f
Bug 1017141 - Make empty chunk count constants GC params r=terrence
2014-07-16 10:01:19 +01:00
Jan de Mooij
4663261aa3
Bug 1030706 - Disable PGO in js/src for MSVC 2010. r=glandium
2014-07-16 10:32:57 +02:00
Tooru Fujisawa
7878e7cc10
Bug 1022962 - Evaluate default parameters before function declarations. r=jorendorff
2014-07-15 11:47:00 +02:00
Nicholas Nethercote
1aae8fa27a
Bug 1038038 (part 3) - Increase ShapeTable::MIN_ENTRIES. r=bhackett.
...
A linear search of 15 items is likely to be competitive with a hash table
lookup.
--HG--
extra : rebase_source : b2e0cb690610aea8bd372b4fbc50c1cc7cd9e97e
2014-07-13 23:32:45 -07:00
Nicholas Nethercote
7d095b5ee9
Bug 1038038 (part 2) - Compute sizeLog2 in ShapeTable::init() better. r=bhackett.
...
For exapmle, currently if you have an entryCount of 9 you end up with a
capacity of 32, when 16 would be more appropriate.
--HG--
extra : rebase_source : 300cd56c2dcbbb75ae54b227a5d1cab83c424a97
2014-07-13 23:29:50 -07:00
Nicholas Nethercote
141532a394
Bug 1038038 (part 1) - Reduce ShapeTable::MIN_SIZE_LOG2. r=bhackett.
...
An entryCount of zero is common, due to initBoundFunction(), so it's worth
choosing a value that doesn't waste too much space in that case.
--HG--
extra : rebase_source : efcf627734d3b49eab58aaaebeff16458bb7d9ad
2014-07-13 23:27:44 -07:00
Bobby Holley
52d26b4f2d
Bug 1037264 - Add an 8-bit short-lived string cache. r=neil
2014-07-15 16:30:51 -07:00
Bobby Holley
bad841d721
Bug 1037264 - Factor out short-lived string buffer into a templated helper class. r=neil
2014-07-15 16:30:50 -07:00
Terrence Cole
b2b3afbf44
Bug 1030577 - Move some GC guards below the GC_BEGIN callback; r=jonco
...
--HG--
extra : rebase_source : 6c4b6576242047a07cbc2cf0ed018e48e523550d
2014-07-15 13:47:09 -07:00
Eddy Bruel
e6bf27b287
Bug 940317 - Move the varObjFix flag from ContextOptions to RuntimeOptions. r=bholley
2014-07-15 09:04:20 -07:00
Bobby Holley
aa5f852abc
Bug 1037756 - Move cloneSingletons to CompartmentOptions. r=jandem
2014-07-15 09:04:20 -07:00
Bobby Holley
d5bc7cc4b8
Bug 940323 - Mode strictMode to RuntimeOptions. r=jandem
2014-07-15 09:04:20 -07:00
Bobby Holley
e6562f0ffa
Bug 1036185 - Clean up logic in IsPermitted (bonus fix). r=gabor
2014-07-15 09:04:19 -07:00
Bobby Holley
5153c3cf9f
Bug 1036185 - Remove XPCCallContext::UnwrapThisIfAllowed. r=gabor
2014-07-15 09:04:19 -07:00
Benjamin Bouvier
14e27e772b
Bug 991153: Fix gcc warning about unsigned / signed comparison in StupidAllocator; r=mjrosenb
2014-07-15 15:51:02 +02:00
Jan de Mooij
cfcce18b5a
Bug 1037613 - rm js_GetLocalizedErrorMessage, localeGetErrorMessage callback. r=jorendorff
2014-07-15 15:14:38 +02:00
Jon Coppeard
00c093af4a
Bug 1003230 - Fix windows build errors caused by changeset e7e6db764418 r=bustage on a CLOSED TREE
2014-07-15 10:26:09 +01:00
Jon Coppeard
5bf2d4e941
Bug 1037516
- Attempt to fix perf regresion on talos r=terrence
2014-07-15 09:42:47 +01:00