Commit Graph

34592 Commits

Author SHA1 Message Date
Tom Schuster
d6adf566e8 Bug 1036136 - Implement structured cloning for Map and Set objects. r=jorendorff,bent 2014-07-19 23:44:53 +02:00
Trevor Saunders
b74e67ea7b no bug - don't return nullptr in functions returning bool r=themaid 2014-07-17 20:11:27 -04:00
Boris Zbarsky
f26bdfa21f Bug 966452 part 1. Refactor the js_ReportUncaughtException to produce a (message, JSErrorReport*) pair before reporting. r=waldo and including the fix for bug 1034616 to fix JS tests to deal with this, r=jorendorff. r=terrence on the AutoStableStringChars bits 2014-07-04 01:24:54 -04:00
Bill McCloskey
89f4a776d8 Bug 1039034 - Don't leak add-on interpositions at shutdown (r=bholley) 2014-07-18 16:50:55 -07:00
Mike Hommey
15534a15c4 Bug 1040639 - Remove LIBS_DIR. r=mshal 2014-07-19 08:42:16 +09:00
Wes Kocher
94cf0b6805 Backed out changeset 72d92f058cf0 (bug 989348) under suspicion of causing various devtools crashes 2014-07-18 16:29:58 -07:00
Shu-yu Guo
bf16278e5c Bug 1037665 - Don't optimize arguments.callee in strict mode. (r=h4writer) 2014-07-18 14:39:30 -07:00
Sankha Narayan Guria
f486859454 Bug 989348 - BaselineCompiler: Optimize JSOP_ARRAYPUSH. r=djvj 2014-07-04 13:54:34 +02:00
Terrence Cole
71ec9e4ab5 Bug 987622 - Remove GetPDA as it is unused now that jsd1 is gone; r=jimb 2014-07-18 11:26:46 -07:00
Terrence Cole
8dde68d7a3 Bug 1033020 - Make BaslineFrame::returnValue match InterpreterFrame::returnValue; r=jandem 2014-07-01 15:40:48 -07:00
Ryan VanderMeulen
c46c7c8c0d Backed out changeset a4db87a48b24 (bug 1039551) for Windows debug mochitest-4 crashes. 2014-07-18 12:36:33 -04:00
Dan Gohman
4211496549 Bug 765127 - IonMonkey: Update a stale comment. r=nbp (comments only: DONTBUILD) 2014-07-18 09:31:20 -07:00
Jan de Mooij
bbb9ec9d25 Bug 1039551 - NewString/NewStringDontDeflate should create inline strings if possible. r=njn
--HG--
extra : rebase_source : ec27411ac015040eed83be9c715746a052f02b72
2014-07-18 17:07:34 +02:00
Dan Gohman
08d41bedc0 Bug 1039667 - IonMonkey: Clear the Guard flag when folding away MBoundsCheck instructions r=jandem 2014-07-17 11:56:38 -07:00
Benjamin Bouvier
24bbd6f784 Backed out changeset d78533837dfd (bug 986673) for failing jit-tests on a CLOSED TREE 2014-07-18 14:07:08 +02:00
Benjamin Bouvier
4e970c9538 Bug 986673: Tests; r=luke 2014-07-18 12:14:51 +02:00
Benjamin Bouvier
e7ec3067f5 Bug 986673: Make Odinmonkey not depend on signal handlers; r=luke 2014-07-18 12:14:47 +02:00
Benjamin Bouvier
3aeb3a5dc5 Bug 986673: OdinMonkey: emit bound checks on x64 if we can't use signal handlers; r=luke 2014-07-18 12:14:39 +02:00
Benjamin Bouvier
9c48310188 Bug 986673: Disable JIT signal tricks on demand, rather than all signaling; r=jandem 2014-07-18 12:14:24 +02:00
Ahmed Kachkach
68c23f6dff Bug 886570 - Initial integration of structured logs in mochitest; r=ahal,Ms2ger 2014-07-17 09:02:00 +02:00
Marty Rosenberg
e6a6da5b56 Bug 991153 fallout: Flip a bit in the simulator's constructor (r=dougc) 2014-07-18 02:25:29 -04:00
Marty Rosenberg
ed94215e0e Bug 1039207: Don't hardcode double-sized registers when popping with a mask. (r=dougc) 2014-07-18 02:25:29 -04:00
Marty Rosenberg
6960e33225 bug 991153 follow up: fix a couple of incorrectly signed vars. (r=dholbert) 2014-07-18 02:25:29 -04:00
Bobby Holley
51cadd7069 Bug 1038844 - Implement a COW opt-out for automation. r=gabor,sr=mrbkap 2014-07-17 21:34:48 -07:00
Bill McCloskey
f021e199b6 Bug 950745 - Flag when we're processing urgent messages and disallow certain activities (r=bsmedberg,luke) 2014-07-17 21:09:45 -07:00
Brian Hackett
5bad0a9bb7 Bug 1028990 - Never eliminate GetPropertyPolymorphic instructions, r=jandem. 2014-07-17 08:36:33 -08:00
Steve Fink
00e43e2148 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
8f1fd50c0c 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
573733ed95 Bug 992845 - Add Scalar replacement of objects with simplest escape analysis. r=jandem 2014-07-17 03:04:30 -07:00
Tooru Fujisawa
c4c975d7b8 Bug 1022962 - Part 2: Add test for function call inside default parameter. r=jorendorff 2014-07-16 15:05:00 +02:00
Emanuel Hoogeveen
9984d12b52 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
1d0a46921b 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
488b024a68 Bug 1034665 - IonMonkey - Implement RAtan2 recover instruction. r=nbp 2014-07-15 23:19:00 +02:00
Carsten "Tomcat" Book
d61ca8ca45 Backed out changeset 33ff09852b0a (bug 1039162) for ics emulator opt/debug test failures 2014-07-17 09:18:16 +02:00
Bill McCloskey
9d957b8154 Bug 673569 - Allow scripts to be run in a non-global scope (r=luke) 2014-07-16 23:03:44 -07:00
Nicholas Nethercote
d04c49088a 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
f6fb38029f 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
7a0fbacbe0 Bug 836658 - Use -arch:IA32 on VS2012 to avoid requiring SSE2. r=glandium 2014-07-17 13:57:44 +12:00
Nicholas Nethercote
b4a9c6b93b 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
90c08ab89f Bug 1039197 - Always build js engine with zlib. r=luke 2014-07-17 08:42:17 +09:00
Douglas Crosher
1d263cfbf6 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
f39cdbc454 Bug 1039719 - IonMonkey: Reorder some struct fields to reduce padding. r=sstangl 2014-07-16 13:11:59 -07:00
Birunthan Mohanathas
3535643a78 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
fae9f30ed8 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
1e5e9aaf48 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
09f8f133ba Bug 845068 - IonMonkey: GVN: Don't make redundant HashSet lookups. r=nbp 2014-07-16 10:53:37 -07:00
Jan de Mooij
9d81f568b0 Bug 1037886 - Report Latin1 and TwoByte strings separately in about:memory. r=njn 2014-07-16 19:11:50 +02:00
Jon Coppeard
c9823c13bc Bug 1039516 - Add read barrier to SymbolRegistry r=terrence 2014-07-16 17:46:03 +01:00
Jon Coppeard
a0062d9510 Bug 1035371 - Fix IsValueMarked() and IsValueAboutToBeFinalized() for symbols r=terrence 2014-07-16 17:45:22 +01:00
Brian Hackett
fbef65752c Bug 1037898 - Remove pointless and incorrectly used TypeSet constructor calls, r=jandem. 2014-07-16 08:39:54 -08:00