Commit Graph

38252 Commits

Author SHA1 Message Date
Chris Peterson
7bc66f68ea Bug 1130123 - Part 2: Add telemetry for __noSuchMethod__. r=jandem 2015-02-10 23:19:34 -08:00
Chris Peterson
7cfc231773 Bug 1130123 - Part 1: Move deprecated JS telemetry from Parser to JSCompartment. r=jandem 2015-02-10 23:17:43 -08:00
Brian Hackett
065751b5bb Bug 1127167 - Backout 825f6ee63f7f for causing massive regressions on a CLOSED TREE 2015-02-11 17:47:13 -07:00
Jim Blandy
6b5ec2df0f Bug 1124754: Use approximate object counts when testing takeCensus, to avoid being flummoxed by SpiderMonkey implementation details. r=shu
--HG--
extra : rebase_source : 21d82c9b552c2e2f72e35e3c74f660c7a99341a6
2015-02-11 15:15:12 -08:00
Tom Schuster
c22e2c0d82 Bug 1125437 - Get rid of SetPropertyAttributes and use DefineProperty to follow ES6 specification. r=efaust 2015-02-11 23:40:47 +01:00
Tom Schuster
b4b0e6daa3 Bug 1125437 - Remove CheckDefineProperty and use StandardDefineProperty instead. r=efaust 2015-02-11 23:40:47 +01:00
Nicholas Nethercote
74cc61fdfd Bug 1131901 (part 1) - Make PL_DHashTableAdd() infallible by default, and add a fallible alternative. r=froydnj.
I kept all the existing PL_DHashTableAdd() calls fallible, in order to be
conservative, except for the ones in nsAtomTable.cpp which already were
followed immediately by an abort on failure.

--HG--
extra : rebase_source : 526d96ab65e4d7d71197b90d086d19fbdd79b7b5
2015-02-02 14:48:58 -08:00
Tom Schuster
ab468d1861 Bug 1131855 - Store bound function target in a slot. r=terrence 2015-02-11 22:39:02 +01:00
Terrence Cole
2f570de209 Bug 1131789 - Handlify the parent argument to NewObjectWithProto and friends; r=sfink
--HG--
extra : rebase_source : 04540472f0f29f3b251e4f6c7e1c568a3494f2d9
2015-02-10 14:08:18 -08:00
Bill McCloskey
1f4d6cf04f Bug 1131382 - Don't trust numCompartments when getting compartment stats (r=luke) 2015-02-11 12:54:07 -08:00
Landry Breuil
1480c80cbe Bug 1127542 - Handle NetBSD/powerpc the same as FreeBSD and OpenBSD. r=jorendorff
Sent to libffi upstream as:
https://github.com/atgreen/libffi/pull/176

Integrated in
06747d3187
2015-02-11 12:13:00 -05:00
Brian Hackett
1bbe97735d Bug 1131297 - Remove unnecessary type barrier elision, r=jandem. 2015-02-11 12:49:00 -07:00
Brian Hackett
8562d29931 Bug 1127167 - Avoid creating mutant half-native half-non-native objects when making unboxed layouts, r=jandem. 2015-02-11 12:44:26 -07:00
Brian Hackett
687dd07897 Bug 1128490 - Mark formal arguments in Ion frames which use lazy arguments, r=jandem. 2015-02-11 12:40:41 -07:00
Terrence Cole
2a4451e048 Bug 1131405 - GC more aggressively when we run out of memory; r=sfink
--HG--
extra : rebase_source : 48d730e1cfab92cfc96b601f1136fa7481d44353
2015-02-10 14:08:18 -08:00
Nicolas B. Pierron
ff23f5a88d Bug 1130039 - Bailout: Add padding to reconstructed BaselineStub and Rectifier frames. r=jandem 2015-02-11 14:51:43 +01:00
Jan de Mooij
c62c6dfd2a Bug 1129382 - Add Ion ICs for scripted getters/setters. r=efaust,nbp,djvj 2015-02-11 14:42:01 +01:00
Jan de Mooij
2b2c798dd3 Bug 1131099 - Make TemporaryTypeSet::getCommonPrototype work better when there's no prototype. r=bhackett 2015-02-11 10:34:15 +01:00
Victor Carlquist
c191d5e5f1 Bug 1129148 - Wrote a MACRO to generate conditions to inline SIMD instructions (sub, mul, and, or, xor). r=nbp
--HG--
extra : rebase_source : 8bea5ac7a63434082b5636766883c985a7f5118d
2015-02-10 12:50:42 -02:00
Nicholas Nethercote
44179aabe3 Back out changesets 2fcef6b54be7, 2be07829fefc, 66dfe37b8532, df3fcd2be8fd, 0a436bce77a6 (bug 1050035) for causing intermittent crashes and assertion failures.
--HG--
extra : rebase_source : eb30be83c3143c6c203585a80a18f180025efaba
2015-02-10 14:39:49 -08:00
Terrence Cole
44b81cf8ec Bug 1130475 - Part 3: Fixup the GC triggers comment; r=sfink
--HG--
extra : rebase_source : 8b58bb27ecd166598a7fa2b214fe311619865f37
2015-02-06 15:11:47 -08:00
Terrence Cole
b8cbc4242e Bug 1130475 - Part 2: Simplify refillFreeList now that the GC trigger is elsewhere; r=sfink
--HG--
extra : rebase_source : caa8aabc5c2d77394f8b2b010d8c9ee9599aadd4
2015-02-06 13:26:17 -08:00
Terrence Cole
d3c366fcb9 Bug 1130475 - Part 1: Move last-ditch IGC heap overflow trigger to CheckAllocatorState; r=sfink
--HG--
extra : rebase_source : e6a5ac26fe8a747c22cc39314909f56740d48c14
2015-02-06 13:26:15 -08:00
Terrence Cole
84f37fc977 Bug 1130226 - Fix splay performance by continuing to pass the context to GC on a CLOSED TREE; r=sfink, a=KWierso 2015-02-10 15:26:55 -08:00
Wes Kocher
972a65d761 Backed out changeset 7152dc5221cb (bug 1128490) for spidermonkey errors 2015-02-10 14:32:21 -08:00
Jeff Walden
fc7a171eac Add missing null-checks to a couple places in object literal parsing. No bug, r=efaust over IRL
--HG--
extra : rebase_source : ea8de3ea8f72dddc94fbdae1bb6410d8d99823f2
2015-02-10 13:58:27 -08:00
Jeff Walden
bd8bcdd130 Bug 1130811 - Remove the unused foldConstants bool from both ParseHandler classes. r=luke
--HG--
extra : rebase_source : 6dfde630e2eb87c419b232f94180000854129423
2015-02-10 00:58:49 -08:00
Jeff Walden
ea8fad9142 Bug 1130811 - Always use list nodes (albeit in some circumstances with only two elements), and never binary nodes, to represent various binary operations. r=luke
--HG--
extra : rebase_source : 108e47ceebb0fa680dc3e1cba151441aeb5b3a4c
2015-02-10 00:58:11 -08:00
Jeff Walden
71eb4bfcab Bug 1130811 - Add a few extra arity assertions to ContainsHoistedDeclaration for documentation of various kinds' arities. r=adding-assertions-only
--HG--
extra : rebase_source : 00bed40e05529fe1b21e558c7f782c800647457e
2015-02-10 00:33:26 -08:00
Jeff Walden
aa489bc0a2 Bug 1130811 - Examine nodes kind-wise when deciding whether a node contains a hoisted declaration. r=shu
--HG--
extra : rebase_source : b7a20eb72c698c37b5aefa911f143b396b63a797
2015-02-10 00:32:56 -08:00
Jeff Walden
3e0f48699f Bug 1130811 - Split out of PNK_LET (used for let declarations, deprecated let blocks, and deprecated let expressions) additional PNK_LETBLOCK and PNK_LETEXPR kinds. r=shu
--HG--
extra : rebase_source : 0d628316044cafddf2b0ee890219c02b879dffc4
2015-02-09 17:12:11 -08:00
Jeff Walden
b09b675f9f Bug 1130811 - Remove PNK_FINALLY as unused. r=shu
--HG--
extra : rebase_source : fdec09b0ddffb0a637fa630eb7c9bd984882b7a1
2015-02-09 16:07:50 -08:00
Jeff Walden
7ab3299ebe Bug 1130811 - Actually use PNK_CATCHLIST so that PNK_CATCH isn't used for multiple arities and situations in practice. r=shu
--HG--
extra : rebase_source : 123c0e24385b70984557964e73ec9bc30050fe24
2015-02-09 16:07:45 -08:00
Jeff Walden
edc9a173eb Bug 1130811 - Remove the unused PNK_ELSE. r=shu
--HG--
extra : rebase_source : dc2ebae60d8cf46dc13878ebc5ae92694e74e1ef
2015-02-09 16:07:41 -08:00
Jeff Walden
077af6ba03 Bug 1125096 - Implement JS_DECLARE_NEW_METHODS and JS_DECLARE_MAKE_METHODS using variadic templates, not a gazillion unreadable lines of copypasta. r=jorendorff
--HG--
extra : rebase_source : 5acd9fa837980dbe9f5471efc08d16bd1de00e42
2015-01-24 20:18:21 -08:00
Brian Hackett
d3ea25e594 Bug 1127303 - Avoid recursive sweeping of object groups, r=jandem. 2015-02-10 14:58:21 -07:00
Tom Schuster
008c0e19e2 Bug 1131003 - Remove unused get*PropertyDescriptor overload. r=efaust 2015-02-10 19:58:18 +01:00
Tom Schuster
8f3890f934 Bug 1131003 - Move jsproxy.h to js/Proxy.h. r=efaust
--HG--
rename : js/src/jsproxy.h => js/public/Proxy.h
2015-02-10 19:58:18 +01:00
Eric Faust
49981a7def No Bug - Remove dead code in Parser::newFunction(). (rs=Waldo) 2015-02-10 13:53:44 -08:00
Brian Hackett
72999501ac Bug 1128490 - Mark formal arguments in Ion frames which use lazy arguments, r=jandem. 2015-02-10 14:41:59 -07:00
Dan Gohman
63b1b5bede Bug 1131289 - SpiderMonkey: Use the vmovq encoding for vmovq r=bbouvier 2015-02-10 08:10:31 -08:00
Gabor Krizsanits
df3314aad3 Bug 1090592 - GetPrototypeOf hook for CPOWProxyHandler. r=billm 2015-02-10 16:29:41 +01:00
Gabor Krizsanits
885e088081 Bug 1090592 - LazyProto for ProxyOptions. r=bholley 2015-02-10 16:29:28 +01:00
Brian Hackett
9db9368ef2 Bug 1126629 - Refine handling of minimal intervals in the backtracking allocator, r=sunfish. 2015-02-10 04:40:06 -07:00
Jan de Mooij
b683b520ef Bug 1128196 - Don't relazify scripts with a TypeScript. r=till 2015-02-10 09:40:46 +01:00
Tooru Fujisawa
23cacd3c1d Bug 1130785 - Fix JS_HAS_EXPR_CLOSURES macro conditions. r=shu 2015-02-10 17:06:07 +09:00
Shu-yu Guo
fa11992be6 Bug 1130698 - Fix spewing constructors for optimization tracking. (r=djvj) 2015-02-09 18:23:52 -08:00
Shu-yu Guo
7b7da9c330 Bug 1129781 - Re-lookup JIT code return addr when stringifying optimization info instead of caching the index. (r=djvj)
This saves us some circular buffer space.
2015-02-09 18:11:19 -08:00
Shu-yu Guo
aa8b24301b Bug 1130756 - Set BaselineFrame's isDebuggee flag before any operation that can re-enter the VM. (r=jandem) 2015-02-09 18:11:19 -08:00
Tooru Fujisawa
16af0ebbee Bug 1025184 - Make ConstTwoByteChars a Range. r=jandem 2015-02-10 12:52:18 +09:00