Commit Graph

32163 Commits

Author SHA1 Message Date
Andy Wingo
3472972a16 Bug 979865 - Part 1: Refactor comprehension parsing r=jorendorff 2014-03-07 22:01:12 +01:00
Luke Wagner
4d4fb52c03 Bug 979541 - Remove nonLazyScript use in ArgumentsObject::elements (r=jandem)
--HG--
extra : rebase_source : 640ddf5af5d606a7ee40ee6189faaec244298b39
2014-03-05 14:49:36 -06:00
Jim Blandy
9d09d223dc Bug 969273: Implement a toy principal type for the JS shell, for testing. r=mrbkap r=waldo 2014-03-07 11:50:41 -08:00
Jim Blandy
44d46326d7 Bug 969273: Move JSPrincipals-related types and functions to their own header. r=mrbkap
JSSubsumesOp seems to have gotten dragged into Class.h somehow, but it's
not a metaobject protocol type at all. It belongs with JSSecurityCallbacks
and friends, which together form a chunk that could be neatly abstracted.
2014-03-07 11:50:41 -08:00
Jordan Santell
ca11569b8a Bug 899052 - Implement Addon Thread Actor. r=fitzgen, r=shu 2014-03-07 00:09:14 -08:00
Shu-yu Guo
81011834d5 Bug 981167 - Fix Debugger.Frame leaking ScriptFrameIter::Data on frame cache hit. (r=jimb) 2014-03-10 01:04:04 -07:00
Marty Rosenberg
e46b48be79 Bug 973874: Ensure that all offsets that we take into the assembly buffer are created by the instruction we want to branch to (r=dougc) 2014-03-07 11:25:38 -05:00
Brian Hackett
648d7b6e70 Bug 980450 - Always initialize outparams in LookupOwnPropertyWithFlagsInline, r=luke. 2014-03-07 09:36:24 -07:00
Brian Hackett
7209cf3946 Bug 979528 - Remove unused NEW_OBJECT_REPRESENTATION stuff, r=waldo. 2014-03-07 06:56:49 -07:00
Masatoshi Kimura
d1ad984267 Bug 978611 - Part 3: Get rid of legacy dictionaries: events and codegen. r=smaug,khuey 2014-03-07 20:51:51 +09:00
Masatoshi Kimura
0704343f44 Bug 978611 - Part 1: Stop using legacy dictionaries from MmsMessage. r=vicamo 2014-03-07 20:51:48 +09:00
Jan de Mooij
8bf973679d Bug 939562 part 3 - Move JIT flags from ContextOptions to RuntimeOptions. r=bent,bholley,luke
--HG--
extra : rebase_source : cea8b4ab3024ed49e8be688f7cf4819bba0f5d29
2014-02-26 10:25:36 +01:00
Andy Wingo
62afccec79 Bug 980263 - Part 2: Avoid phi creation for values on stack at loops r=jandem 2014-03-07 08:44:41 +01:00
Andy Wingo
5024e7e61c Bug 980263 - Part 1: Disable Ion OSR for loops nested in expressions r=jandem 2014-03-07 08:44:38 +01:00
Bill McCloskey
0ba2b34d57 Bug 980558 - Enable extraWarnings on safe JS context (r=bholley) 2014-03-06 18:48:16 -08:00
Wes Kocher
64db4271e0 Backed out changeset 263b6c86c1be (bug 980558) for build bustage on a CLOSED TREE 2014-03-06 18:43:26 -08:00
Bill McCloskey
1c7cbfe589 Bug 980558 - Enable extraWarnings on safe JS context (r=bholley) 2014-03-06 18:26:33 -08:00
Steve Fink
7d52d0fa11 Bug 980623 - Update gdb pretty printers for new location of clasp, r=jorendorff 2014-03-06 17:07:17 -08:00
Steve Fink
4ede6e8d2c Bug 975011 - add an option to configure and build NSPR from within js/src build. r=glandium 2014-02-25 14:15:16 -08:00
Steve Fink
c38804f1b8 Bug 977234 - jsreflect.cpp out of bounds array access, r=terrence 2014-03-04 15:45:47 -08:00
Luke Wagner
af4251da97 Bug 980180 - remove principals as an argument to compilation, part 2 (r=terrence)
--HG--
extra : rebase_source : 86791b50b4293ba5506f1e0f5c64730338f552e6
2014-03-06 16:28:07 -06:00
Luke Wagner
d4eada70bf Bug 980180 - remove principals as an argument to compilation, part 1 (r=terrence)
--HG--
extra : rebase_source : 8bf0ff6974870d6772021aafa88dd8fd5132fc70
2014-03-06 16:28:05 -06:00
Luke Wagner
8cf7a67dd0 Bug 980059 - Have AsmJSActivation add the entry asm.js function to the callstack (r=jandem)
--HG--
extra : rebase_source : 604e13f9e9bed2ba60b122b49fc6f85a6051a25e
2014-03-05 17:15:33 -06:00
Luke Wagner
53620f3070 Bug 980059 - Split out FrameIter from ScriptFrameIter (r=jandem)
--HG--
extra : rebase_source : 84045b68d34fa441584a9113ce594d1ce666b394
2014-03-05 17:15:32 -06:00
Luke Wagner
e5249d484a Bug 980059 - Make AsmJSActivation a real Activation (r=jandem)
--HG--
extra : rebase_source : 687bafb429d461a3e0856c0c693bcefb24167ec8
2014-03-05 17:15:32 -06:00
Luke Wagner
b547063055 Bug 980059 - Do some simple renaming and minor cleanups in prepration (r=jandem)
--HG--
extra : rebase_source : 1fbb7dd0bde99abef7a6d504e08fd18163cee3ee
2014-03-05 17:15:32 -06:00
Bobby Holley
e1330dec0a Bug 969441 - Check for recursion outside of the hairy transplant callsites. r=billm 2014-03-06 15:26:17 -08:00
Brian Hackett
8b8ac4de23 Bug 980013 - Watch for length accesses on typed arrays with overridden prototypes, r=luke. 2014-03-06 14:03:03 -07:00
Brian Hackett
a47ce32f47 Bug 980119 - Watch for typed arrays with unknown properties when baking in their elements, r=jandem. 2014-03-06 14:00:29 -07:00
Jan de Mooij
3ee7aa0f8c Bug 980067 - Fix icache flush coalescing on ARM. r=mjrosenb 2014-03-06 21:09:33 +01:00
Nicolas B. Pierron
ff3ff9ec51 Backed out changeset 7efaabf97f0c for fuzzing noise (incomplete implementation). 2014-03-06 10:40:20 -08:00
Luke Wagner
be3be017dd Bug 963588 - asmjscache: place cache entries apps that request AOT compilation in persistent storage (r=janv)
--HG--
extra : rebase_source : 95bc3d02cb1a7f2728d2615e8b992e0a2b2397f1
2014-03-05 14:47:10 -06:00
Romain Perier
f66b5caa9f Bug 968296 - IonMonkey: Snapshot's constant pool should reuse index of identical values. r=nbp 2014-03-02 18:34:48 +01:00
Bobby Holley
33c6eee315 Bug 979481 - Add a helpful assertion indicating that the caller probably needs a JSAutoCompartment. r=luke 2014-03-06 08:55:01 -08:00
Bobby Holley
9125e414d0 Bug 979481 - Make the SafeJSContext default to a null compartment, and have AutoSafeJSContext enter the compartment instead. r=bz 2014-03-06 08:55:01 -08:00
Bobby Holley
df6ae45924 Bug 979481 - Prepare the cx stack machinery for a world where a cx has no default compartment object. r=bz 2014-03-06 08:55:00 -08:00
Bobby Holley
ac19965ed0 Bug 979481 - Separate the lifetime of the SafeJSContext global from that of the SafeJSContext itself. r=bz 2014-03-06 08:55:00 -08:00
Benjamin Bouvier
478327935c Bug 919052: OdinMonkey: Add support for short-circuiting ternaries in if expressions; r=luke 2014-03-06 16:42:49 +01:00
Jan de Mooij
6c3ab42325 Bug 979721 - Don't leak bailout buffer when overrecursion check fails. r=djvj 2014-03-06 11:30:36 +01:00
Bobby Holley
0f2729e9aa Bug 960108 - Ignore saved frame chains and contexts in JS::DescribeStack. r=bz 2014-03-05 20:15:35 -08:00
Nicholas Nethercote
2edfaefd96 Bug 972712 (follow-up) - Fix bustage due to a missing #include. r=bustage on a
CLOSED TREE.
2014-03-05 15:26:49 -08:00
Nicholas Nethercote
ef66ea213a Backout 519787a56627 (bug 972712, part 6) and the follow-up 5c9a4a1f2c0b (bug 978227) because ASAN is complaining intermittently about the former. r=me.
--HG--
extra : rebase_source : 31e2b96c57703caf94f65fed1d0c007d6984421e
2014-03-05 14:19:28 -08:00
Brian Hackett
eea6966f89 Bug 695438 - Allow all integers in StringIsTypedArrayIndex, r=luke. 2014-03-05 12:32:53 -07:00
Ulrich Weigand
05b646c347 Bug 976648 - Backport of libffi powerpc64le-linux support. r=bsmedberg 2014-02-28 09:56:19 -05:00
Ulrich Weigand
e877324731 Bug 976648 - JavaScript build/config for powerpc64le-linux support. r=bsmedberg 2014-02-28 09:55:48 -05:00
Bobby Holley
c96d1ec244 Bug 960820 - Ignore contexts and saved frame chains for exception stack, and rely on the principal check. r=luke,mrbkap sr=bz
It would be nice to update the JS shell tests to make sure the principal check
works, but we can't do that without bug 969273. So we add an XPConnect test that
verifies the filtering behavior.
2014-03-05 08:18:06 -08:00
Boris Zbarsky
8e3650ebfc Bug 978618. Fix error reporting for unintended XPConnect exceptions thrown by JS-implemented webidl to actually work correctly. r=bholley 2014-03-05 08:32:27 -05:00
Jim Blandy
b789a57871 Bug 800200: Print a deprecation warning to the console when JSD is first used. r=bholley 2014-03-04 20:09:15 -08:00
Jed Davis
906a754859 Bug 946407 - Reimplement DumpMemoryInfoToTempDir in terms of GetReports. r=njn
This winds up exposing things in the nsIMemoryReporterManager interface
that arguably don't belong at that level of abstraction -- "minimize
memory usage first" and DMD -- in order to take advantage of the
infrastructure that GetReports already has for managing the child
processes.
2014-03-04 18:27:13 -08:00
Haitao Feng
8a13421d9e Bug 943769 Part 2 -- Set up SIMD inlining infrastructure r=nmatsakis 2014-03-04 20:06:26 -05:00
Haitao Feng
357f0d49f1 Bug 943769 Part 1 -- Use macros to declare and define SIMD functions r=nmatsakis 2014-03-04 20:06:25 -05:00
Terrence Cole
65c199721a Bug 969012 - Use a second register for object allocation; r=jandem
--HG--
extra : rebase_source : 2cbc07d17ed3cf84fbc2590745a4c22a62ee573c
2014-02-17 17:39:14 -08:00
Masayuki Nakano
66706f5a6e Bug 975688 part.28 Rename nsDOMEvent to mozilla::dom::Event r=smaug
--HG--
rename : dom/events/nsDOMEvent.cpp => dom/events/Event.cpp
rename : dom/events/nsDOMEvent.h => dom/events/Event.h
2014-03-05 09:37:43 +09:00
Andrew McCreight
f1377bba28 Bug 978203 - Don't include nsWindowMemoryReporter.h in nsINode.h. r=smaug 2014-03-04 15:39:42 -08:00
Steve Fink
5072389c9a Bug 979142 - Only test filterPar when enabled, r=jandem
--HG--
extra : rebase_source : cf964b090cdc3ca3879f3d9e8f9eb3fbc8cdbaeb
2014-03-04 14:01:28 -08:00
Terrence Cole
79e32315b4 Bug 978387 - Mark the ArrayBufferObject view list weakly during minor collections; r=sfink
--HG--
extra : rebase_source : c085f148836a8d23b8e6d1276625a1dd169cbbf1
2014-03-03 18:41:58 -08:00
Wes Kocher
6af883c75a Backed out changeset 3f8a7062ad8d (bug 978203) for build bustage on a CLOSED TREE 2014-03-04 14:15:33 -08:00
Andrew McCreight
60f02fa45e Bug 978203 - Don't include nsWindowMemoryReporter.h in nsINode.h. r=smaug 2014-03-04 13:33:44 -08:00
Terrence Cole
2e71abfdc7 Bug 978353 - Do not embed nursery allocated ArrayBuffer elements in code; r=bhackett
--HG--
extra : rebase_source : 781b3b4df0377d5bb04917909394f142543d0e15
2014-03-04 11:55:45 -08:00
Brian Hackett
332d7e9e2a Bug 695438 - Make typed arrays native objects, allow adding new named properties, r=luke. 2014-03-04 12:42:08 -07:00
Luke Wagner
feac59d6d4 Bug 979043 - Simplify fun_apply (r=nbp) 2014-03-04 13:24:15 -06:00
Luke Wagner
72a10cdf69 Bug 979043 - Simplify forEachCanonicalActualArg (r=jandem) 2014-03-04 13:24:13 -06:00
Lars T Hansen
e90b11e2d9 Bug 979139 - Add necessary guards to TypedObject tests. r=mjrosenb 2014-03-04 13:51:37 -05:00
Bobby Holley
1260505a96 Bug 977340 - Assert during compartment checking that we're using the stack-top cx. r=luke,gabor 2014-03-04 10:05:08 -08:00
Bobby Holley
fc3ab7e04a Bug 977340 - Do some gymnastics to avoid tripping cx assertions when cloning exceptions from evalInWindow calls. r=gabor 2014-03-04 10:05:08 -08:00
Bobby Holley
3a748a29f3 Bug 977340 - Use an AutoJSContext when clearing modules. r=gabor 2014-03-04 10:05:08 -08:00
Bobby Holley
a811f156cf Bug 976938 - Add a way to identify the Xray parent (if any) of a given function. r=bz 2014-03-04 10:05:07 -08:00
Ehsan Akhgari
f5dd4e8ef8 Bug 978594 - Part 3: Port some of the per-source flags to moz.build; r=glandium
--HG--
extra : rebase_source : fe4cd059eddda221af420e1517250772816d7ee8
2014-03-02 15:41:32 -05:00
Douglas Crosher
137a5a0322 Bug 978498 - SharedArrayBuffer(ARM, x86): align the start of the data to a page boundary, and fix a memory leak. r=sstangl 2014-03-02 10:11:36 +11:00
Sean Stangl
2b757a836b Bug 977759 - Move some AsmJS helper functions to fix --disable-ion builds. r=luke 2014-03-03 14:57:38 -08:00
Jan Beich
e0b2f4ce08 Bug 975634 - Detect posix_fadvise() via configure. r=glandium 2014-03-04 09:30:29 -05:00
Benjamin Bouvier
76dce990c0 Bug 978714: Initialize codeIsProtected_ in Odin; r=luke 2014-03-04 10:00:30 +01:00
Benjamin Bouvier
20c3ec5a1a Bug 977900: Add collide method back in Array.scatterPar; r=shu 2014-03-04 09:58:06 +01:00
Terrence Cole
809de1746b Bug 945152 - Never allocate ArrayBuffers with unknown API contents in the nursery; r=sfink
--HG--
extra : rebase_source : e1aee850668dd148fc85836a27864fe21fd82e69
2014-03-03 18:26:24 -08:00
Terrence Cole
5e64040609 Bug 976889 - Fix the check in CurrentThreadCanAccessRuntime; r=shu
--HG--
extra : rebase_source : 1ad4f015458b617c6c4d52dda17feed158b66509
2014-03-03 18:23:26 -08:00
Terrence Cole
7aebeacc73 Bug 978226 - Don't leak the script's table when we OOM in LazyScript::CreateRaw; r=till
--HG--
extra : rebase_source : d1a4d6c9cbe09a8956893f8810c75fdb2f8d7ccb
2014-03-03 18:23:24 -08:00
Nicholas Nethercote
d8b1cd9f1d Bug 977496 - Make Array.join more efficient when the array has length 1. r=luke.
--HG--
extra : rebase_source : 53741b382e8f4bc122ecea4bd99357129a877140
2014-03-03 18:16:13 -08:00
Shu-yu Guo
ffe7d129a9 Bug 979056 - Refactor readFrameArgs in Ion frame iterators. (r=jandem) 2014-03-03 18:12:05 -08:00
Ehsan Akhgari
5849174c77 Bug 978995 - Stop exporting symbols from xpconnect; r=bholley 2014-03-03 20:51:27 -05:00
Terrence Cole
717c463dbe Bug 976021 - Insert a store-buffer entry if we decide to pre-tenure a |new Array| call; r=jandem 2014-02-28 14:53:43 -08:00
Kannan Vijayan
e6307dd523 Bug 976260 - Register javascript performance events with the profiler, second attempt at pushing. r=jandem 2014-03-03 14:36:08 -05:00
Jeff Walden
9f6208bbe6 Bug 969382. r=jorendorff 2014-02-07 16:38:07 -08:00
Jeff Walden
7741787e99 Bug 972132 - Convert JS::EmptyValueArray to JS::HandleValueArray::empty(). r=terrence
--HG--
extra : rebase_source : 58b87df07373a7811136682b128aea67f04446cd
2014-02-12 23:38:36 -08:00
Ed Morley
600a53b971 Merge mozilla-central and inbound 2014-03-03 16:59:25 +00:00
Ed Morley
554b2aaf5b Backed out changeset 508848ad378a (bug 939562) for causing bug 978450 2014-03-03 16:54:26 +00:00
Ed Morley
cfd76d0fb0 Backed out changeset 8ab0a696d2ec (bug 978456) since bug 939562 has now been backed out 2014-03-03 16:56:42 +00:00
Bobby Holley
7250b8aac2 Bug 975419 - Add a JS::TenuredHeap<JSObject*> overload to TraceCallbacks. r=mccr8,terrence 2014-03-03 08:53:42 -08:00
Bobby Holley
0316bf7af6 Bug 975419 - Used a TenuredHeap pointer for SandboxPrivate and BackstagePass. r=mccr8 2014-03-03 08:53:42 -08:00
Till Schneidereit
2df2e3c79e Land bug 974751. r=jandem 2014-02-28 17:22:47 +13:00
Nicholas Nethercote
ed347ae1cf Bug 978227 - Handle a null classname in AddClassInfo(). r=till. 2014-03-02 13:55:40 -08:00
Nicholas D. Matsakis
55e5cf2396 Bug 977647 -- check for empty arrays in mapPar r=shu 2014-02-28 11:21:56 -05:00
Christian Holler
762168bf0f Bug 917996 - OOM follow-up fix for assertion. r=nbp
--HG--
extra : rebase_source : a1e739e5ad53002f0dc44f2ce2b02ff8c05168a5
2014-03-01 01:30:09 +01:00
Wes Kocher
a36487f6e4 Backed out 6 changesets (bug 976648) for android x86 bustage on a CLOSED TREE
Backed out changeset 18f113ab1a35 (bug 976648)
Backed out changeset 3f0f28593331 (bug 976648)
Backed out changeset 2789ef4e1223 (bug 976648)
Backed out changeset 4a5fff440cb5 (bug 976648)
Backed out changeset 94ec75013788 (bug 976648)
Backed out changeset 084e0311ff2a (bug 976648)

--HG--
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc64_linux.S => xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc64_linux.s
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc64_linux.S => xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc64_linux.s
2014-02-28 15:40:22 -08:00
Wes Kocher
d7ed470475 Backed out 2 changesets (bug 969382) for potentially breaking the build on a CLOSED TREE
Backed out changeset 70fcde1101a1 (bug 969382)
Backed out changeset 8eb38600d76a (bug 969382)
2014-02-28 14:33:22 -08:00
Wes Kocher
3a3cb619c7 Backed out changeset 4a8eb498c244 (bug 972087) for potentially breaking the build on a CLOSED TREE 2014-02-28 14:32:09 -08:00
Ulrich Weigand
8ce7f0fcfd Bug 976648 - Backport of libffi powerpc64le-linux support. r=bsmedberg 2014-02-28 09:56:19 -05:00
Ulrich Weigand
45f1e084db Bug 976648 - JavaScript build/config for powerpc64le-linux support. r=bsmedberg 2014-02-28 09:55:48 -05:00
Till Schneidereit
a45bd3b24a Bug 972087 - Don't store self-hosting name on clones of intrinsic functions. r=jorendorff 2014-02-28 16:04:37 +13:00
Jan de Mooij
7601573980 Bug 978456 - Fix --no-fpu shell flag. r=luke 2014-03-03 15:45:44 +01:00
Jeff Walden
1bf896620e Bug 969382 - Test. r=jorendorff 2014-02-07 16:38:07 -08:00