Commit Graph

38910 Commits

Author SHA1 Message Date
Nicolas B. Pierron
448e2d5e89 Bug 1138391 - LazyLinkStub stops making a call and reuses the parent frame. r=h4writer 2015-03-13 16:48:16 +01:00
Nicolas B. Pierron
4f7d91bf63 Bug 1133389 - Fix FrameIter::matchCallee to consider all inner functions and not only lambdas. r=shu 2015-03-13 16:14:03 +01:00
Emanuel Hoogeveen
0361ec0342 Bug 1139552 - Convert js::gc::AllocKind to an enum class and eliminate non-AllocKind indexing. r=terrence 2015-03-13 02:13:00 +01:00
Dave Herman
04770e5ce3 Bug 913617 - Reflect.parse: rename ArrowExpression to ArrowFunctionExpression. r=jorendorff 2015-03-10 10:50:00 +01:00
Jason Orendorff
3c188fc686 Bug 1133081, part 5 - Remove non-asserting PropertyDescriptor accessors in favor of the new PropDesc-inspired asserting accessors. r=efaust.
value() can't assert hasValue() because too many places have plausible reasons for calling it on a PropertyDescriptor they basically know nothing about. One such place is CompartmentChecker::check(Handle<JSPropertyDescriptor>). Another is DefinePropertyByDescriptor. Maybe this will change with time.

In some cases we do things like `desc.hasWritable() && desc.writable() != existing_desc.writable()`. It is OK to write it this way, even though we have not checked existing_desc.hasWritable(), because in these cases we already know existingDesc is a complete property descriptor.
2015-02-15 06:18:30 -06:00
Jason Orendorff
11a89363d5 Bug 1133081, part 4 - Reimplement the remaining PropDesc methods and delete PropDesc. r=efaust. 2015-02-14 07:37:13 -06:00
Jason Orendorff
b7fa571188 Bug 1133081, part 3 - Switch from js::PropDesc to JSPropertyDescriptor for more odds and ends. r=efaust. 2015-02-13 19:08:21 -06:00
Jason Orendorff
1036fe7cc8 Bug 1133081, part 2 - Switch from js::PropDesc to JSPropertyDescriptor for js::StandardDefineProperty implementation. r=efaust. 2015-02-13 18:52:45 -06:00
Jason Orendorff
1918646051 Bug 1133081, part 1 - Switch from js::PropDesc to JSPropertyDescriptor for all users of js::StandardDefineProperty (mainly Object.defineProperty/Properties and the corresponding Debugger.Object methods). r=efaust. 2015-02-13 14:31:27 -06:00
Lars T Hansen
6aedb09220 Bug 1140084 - delete list of script counts in tail-recursive fashion. r=bhackett 2015-03-13 08:40:33 +01:00
Boris Zbarsky
05d907aac7 Bug 1142731 followup. Check isInterpreted() before we call environment(), because of the asmjs lambdas. r=waldo, I bet. 2015-03-12 22:47:52 -04:00
Boris Zbarsky
79e58e8dc1 Bug 1141905 part 4. Add some assertions about what enclosingScope can return for non-scope objects. r=waldo 2015-03-12 21:46:57 -04:00
Boris Zbarsky
917efd3acf Bug 1141905 part 3. Use CreateScopeObjectsForScopeChain in DebuggerFrame_evalWithBindings. r=shu 2015-03-12 21:46:57 -04:00
Boris Zbarsky
ef4a4809c8 Bug 1141905 part 2. Make the 5-arg version of CreateScopeObjectsForScopeChain non-static so it can be called from multiple files, and move it to a possibly-saner location. r=shu 2015-03-12 21:46:57 -04:00
Boris Zbarsky
e6ff53d1f2 Bug 1141905 part 1. Make it possible to CreateScopeObjectsForScopeChain with a given non-global scope chain terminator. r=shu 2015-03-12 21:46:57 -04:00
Boris Zbarsky
ec826ffca8 Bug 1142731. Make IsInternalFunctionObject work correctly again. r=waldo 2015-03-12 21:46:57 -04:00
Boris Zbarsky
98e16322f9 Bug 1142311 part 2. Rename the parent arg of NewScriptedFunction to enclosingDynamicScope, and make it optional. r=waldo 2015-03-12 21:46:57 -04:00
Boris Zbarsky
7a4012408f Bug 1142311 part 1. Stop parenting self-hosted objects to the intrinsics holder. r=waldo 2015-03-12 21:46:57 -04:00
Brian Hackett
95a7406bac Bug 1135897 - Use unboxed objects for JSON objects and constant literals embedded in scripts, r=jandem. 2015-03-12 17:09:21 -06:00
Jim Blandy
65e06a8238 Bug 1128603: Remove findReferences and the tests that use it. r=terrence 2015-03-12 14:08:49 -07:00
Luke Wagner
474e73cd2b Bug 1136331 - OdinMonkey: allow stdlib calls in heap expressions (r=bbouvier) 2015-02-24 14:11:37 -06:00
Ryan VanderMeulen
728d720894 Backed out changeset 94f1fc3d9ec8 (bug 1135897) for LSAN leaks.
CLOSED TREE
2015-03-12 15:02:08 -04:00
Ryan VanderMeulen
ebd781abd3 Backed out 8 changesets (bug 1141234) for bustage.
Backed out changeset 9c7dd01f338e (bug 1141234)
Backed out changeset df39d787c523 (bug 1141234)
Backed out changeset 3632c514a358 (bug 1141234)
Backed out changeset 1e8743d47b41 (bug 1141234)
Backed out changeset ddd5d5191e49 (bug 1141234)
Backed out changeset 274b1f5afc29 (bug 1141234)
Backed out changeset 65e299373b5b (bug 1141234)
Backed out changeset eff0109392e9 (bug 1141234)
2015-03-12 15:01:16 -04:00
Terrence Cole
7183032237 Bug 1141234 - Part 8: Suppress a false positive rooting analysis hazard; r=sfink 2015-03-12 11:20:47 -07:00
Terrence Cole
db418d14df Bug 1141234 - Part 7: Reorder the allocator methods for clarity; r=sfink 2015-03-11 11:11:29 -07:00
Terrence Cole
3bbba433af Bug 1141234 - Part 6: Namespace the allocator into GCRuntime; r=sfink 2015-03-11 11:09:31 -07:00
Terrence Cole
f9b6180351 Bug 1141234 - Part 5: Inline the one user of ShouldNurseryAllocate; r=sfink 2015-03-11 11:07:57 -07:00
Terrence Cole
704603d635 Bug 1141234 - Part 4: Move off-thread object allocation above unimplementable operations; r=sfink 2015-03-11 11:07:38 -07:00
Terrence Cole
8ce97cf3d8 Bug 1141234 - Part 3: Share the code to allocate a tenured thing; r=sfink 2015-03-11 11:07:23 -07:00
Terrence Cole
ca98780ec2 Bug 1141234 - Part 2: Use UniquePtr to free slots if object allocation fails; r=sfink 2015-03-11 11:07:22 -07:00
Terrence Cole
f9e8a2e245 Bug 1141234 - Part 1: Abstract PossiblyFail into the OOM testing machinery; r=sfink 2015-03-11 11:06:20 -07:00
Nicolas B. Pierron
4d58c35ad1 Bug 1131846 - Check the return value of MResumePoint::Copy. r=h4writer 2015-03-12 19:17:50 +01:00
Jonathan Griffin
84011a87cc Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Nicolas B. Pierron
25a8fd36fb Bug 1105574 - Range Analysis: Keep folded bitwise instructions alive for bailouts. r=sunfish 2015-03-12 19:01:51 +01:00
Jason Orendorff
69a35609b0 Bug 1133294 - Object.getOwnPropertyDescriptor(obj, key) must always return either undefined or a complete property descriptor, even if obj is a proxy. r=efaust. 2015-02-15 02:49:42 -06:00
Jason Orendorff
0cd4c3d7fe Bug 1133085 - PropDesc::initFromPropertyDescriptor should understand JSPROP_GETTER without JSPROP_SETTER and vice versa. r=efaust.
PropDesc and PropertyDescriptor are at last capable of expressing all valid PropertyDescriptors, both complete and incomplete. This should make them pretty much equivalent. But since this came on gradually, there is a lingering bug in the code that translates between the two structs.
2015-02-13 16:25:31 -06:00
Jason Orendorff
23d5e69e11 Bug 1133094 - Object.defineProperty() on scripted proxy incorrectly sets {[[Configurable]]: true} if it's missing. r=efaust.
It is not immediately clear why the test has anything to do with the code changes, but the code changes do in fact make that test pass, because they cause us not to generate nonsensical PropDesc/PropertyDescriptor records that confuse our DefineProperty machinery.

The first hunk in jsobj.cpp is the key bit, and the rest is mopping up regressions from that change.
2015-02-13 17:07:08 -06:00
Jason Orendorff
89bb3ca00b Bug 1130537 - Reimplement js::SetPropertyIgnoringNamedGetter to follow ES6 draft rev 32 9.1.9 [[Set]]. r=efaust. 2015-02-06 16:55:49 -06:00
Brian Hackett
cc974cd824 Bug 1137180 - Only mark inner scripts as having failed a bounds check after bailing out, r=jandem. 2015-03-12 11:15:01 -06:00
Brian Hackett
073644d89f Bug 1135897 - Use unboxed objects for JSON objects and constant literals embedded in scripts, r=jandem. 2015-03-12 10:58:19 -06:00
Kannan Vijayan
fe33271d68 Bug 1132265 - Handle dummy frames when initializing ProfilingFrameIterator. r=shu 2015-03-12 12:37:21 -04:00
Brian Hackett
9a8d276be2 Bug 1128076 - Clean up naming around unboxed scalar MIR accesses, r=jandem. 2015-03-12 10:25:44 -06:00
Kannan Vijayan
fce2ace714 Bug 1135703 - Add test case. r=shu 2015-03-12 12:19:58 -04:00
Kannan Vijayan
c7c7168bcb Bug 1135703 - Ensure that lastProfilingFrame gets set appropriately on ALL JitActivations when profiling is turned on or off. r=shu 2015-03-12 12:17:40 -04:00
Kannan Vijayan
2e29ef1a61 Bug 1134515 - Ensure SPSBaselineOSRMarker checks pseudostack size properly. r=shu 2015-03-12 12:13:16 -04:00
Jan de Mooij
f115ce48d4 Bug 1128646 part 1 - Optimize calls to own property scripted getters. r=efaust 2015-03-12 16:57:34 +01:00
Hiroyuki Ikezoe
dc9e8a7592 Bug 751387 - Fix crash caused by out-of-bounds accesses in command line options handling. r=bholley 2015-03-12 01:37:00 -04:00
Jan de Mooij
a9e4cec91e Bug 1140428 - Warn when __noSuchMethod__ is used. r=jorendorff 2015-03-12 13:07:02 +01:00
Boris Zbarsky
159438b2c6 Bug 1142282 part 3. Remove the parent argument of NewNativeObjectWithClassProto. r=waldo 2015-03-11 22:33:59 -04:00
Boris Zbarsky
0c06895c2e Bug 1142282 part 2. Remove the parent argument of NewNativeObjectWithGivenTaggedProto. r=waldo 2015-03-11 22:33:59 -04:00