Commit Graph

609 Commits

Author SHA1 Message Date
Brian Hackett
39d67cf8d7 Remove JSObject::privateData, bug 693479. 2011-10-10 17:14:38 -07:00
Brian Hackett
2e9764e92f Remove JSObject::capacity and JSObject::initializedLength, split JSObject::slots into slots and elements, bug 693221. 2011-10-10 11:41:03 -07:00
Brian Hackett
43a6a0454e Move JSObject::newType to a hashtable, bug 684410. 2011-10-07 20:09:09 -07:00
Brian Hackett
268229a26e Fix --disable-tracejit build. 2011-10-18 14:50:35 -07:00
Brian Hackett
a797020b12 Add Array.concat stub for concatenating known dense arrays, bug 692960. r=dvander 2011-10-18 11:24:28 -07:00
Brian Hackett
428c560e3b Speed up Array.shift, and Array.{pop,shift} on empty arrays, bug 692847. r=dvander 2011-10-18 11:08:52 -07:00
Terrence Cole
67580791ab Bug 690204 - Migrate jsarray.cpp to CallArgs; r=waldo
Except for array_splice and array_concat which have other
work outstanding.
2011-10-25 02:02:36 +01:00
Brian Hackett
c85845ba0d Merge MC -> JM 2011-09-30 07:01:18 -07:00
Brian Hackett
b9dce9b51c Remove direct class pointer from JSObject, bug 690133. 2011-09-29 08:20:06 -07:00
Brian Hackett
b18259bebf Remove shape numbers and Shape::slotSpan, factor Shape getter/setter into BaseShape, bug 684505. 2011-09-28 15:04:55 -07:00
Terrence Cole
c8245d9d7c Bug 697322 - Add easier to use reset method to CallReceiver; r=luke
All users of InvokeArgsGuard that use calleeHasBeenReset use it before
setting a new callee/this in a loop.  We should make it easier to use
by combining the reset with the setup with the setting of the new
callee.
2011-11-08 10:17:25 -08:00
Terrence Cole
84a59711a6 Bug 692547 - Split up array_extra; r=Waldo
Using array_extra as a common implementation method does not shave off many
bytes of code and makes understanding all of the functions it implements very
difficult.  This patch splits this mess up and makes these methods follow
ECMA steps.
2011-11-04 15:56:40 -07:00
Jeff Walden
10e2a9cbb2 Bug 687621 - Convert getProperty to take a PropertyName*, and make getGeneric the only way to get a property for a jsid. r=luke 2011-09-15 11:44:10 -07:00
Jeff Walden
9304354106 Bug 687621 - Introduce js::SpecialId, encapsulating the non-index, non-string bizarro property names. r=luke 2011-09-20 14:34:11 -07:00
Jeff Walden
20cd82e08f Bug 687621 - Further split ObjectOps to add a third property type (and temporarily a fourth to use for a property of indeterminate type), to encapsulate object-valued jsids and properties that don't fit in the property name/element distinction. r=luke 2011-08-12 14:26:48 -04:00
Luke Wagner
765347e745 Bug 684526 - Remove Jsvalify/Valueify (r=waldo) 2011-09-20 11:40:24 -07:00
Brian Hackett
2f8f2388c4 [INFER] Reapply 7db908db3669 (bug 684084) 19ed9da5789d (bug 684824) a250c3cb749a (bug 686178) 820f11a3fdb1 (bug 686179) e678ced82a6a (bug 686418) 300e1f974f55 (bug 669715) 5c131d458c53 (bug 686396) 3a8b5e4a286b (bug 683140). 2011-09-18 07:36:51 -07:00
Brian Hackett
7fa103ff71 [INFER] Backout 3a8b5e4a286b for suspected M-oth orange. 2011-09-16 20:31:54 -07:00
Brian Hackett
0ca624e189 Merge MC -> JM 2011-09-16 08:51:41 -07:00
Brian Hackett
d051aa69cf [INFER] Don't change prototype of new objects when reusing type in Array.{slice,splice,concat}. bug 683140. 2011-09-15 17:16:57 -07:00
Igor Bukanov
22ce8b190b bug 686017 - avoid Cell::arenaHeader() on fast paths. r=bhackett1024 2011-08-16 12:27:34 +02:00
Bill McCloskey
267d9855a3 Bug 641027 - Add snapshot-at-the-beginning write barriers for incremental GC (r=luke,bhackett) 2011-10-25 16:07:42 -07:00
Jeff Walden
cb28ecfc4b Bug 693469 - Use mozilla::ArrayLength and mozilla::ArrayEnd in preference to JS_ARRAY_LENGTH whenever possible. r=cjones 2011-10-10 23:00:28 -07:00
Jeff Walden
8b54fc3ddd Bug 692978 - Split lookupProperty into property and generic forms, and use them throughout the engine. r=bhackett 2011-10-08 15:45:04 -07:00
Luke Wagner
f9e006b18b Bug 689362 - Remove empty jsstaticcheck.h (r=billm) 2011-10-12 10:28:56 -07:00
Justin Lebar
cdd2a1c3c3 Back out rev 4c0e6b3f7791 (bug 689362) due to suspected mac x64 opt moth orange. 2011-10-12 23:07:04 -04:00
Luke Wagner
6871d88c3b Bug 689362 - Remove empty jsstaticcheck.h (r=billm) 2011-10-12 10:28:56 -07:00
Jeff Walden
c5e5f873d1 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
9fa225e900 Bug 692978 - Split lookupProperty into property and generic forms, and use them throughout the engine. r=bhackett 2011-10-08 15:45:04 -07:00
Jeff Walden
9dc00cdc62 Bug 639469 - Use mozilla::ArrayLength and mozilla::ArrayEnd in preference to JS_ARRAY_LENGTH whenever possible. r=cjones 2011-10-10 23:00:28 -07:00
David Anderson
86d67629e4 Remove LeaveTrace and related structures (bug 698201 part 5, r=luke). 2011-11-22 17:41:43 -05:00
David Anderson
3a8e74c6da Remove traceable natives (bug 698201 part 3, r=luke). 2011-11-22 17:41:42 -05:00
David Anderson
51e3170c4c Remove jstracer and nanojit (bug 698201 part 1, r=dmandelin). 2011-11-22 17:41:41 -05:00
Terrence Cole
9ed0949ec8 Bug 696232 - Clean up InitArrayElement's prototype; r=Waldo
We should pass the flag value as an enum and return bool, since this
is only used internally.
2011-11-08 14:54:57 -08:00
Brian Hackett
f9e139ad74 Remove bogus assert, bug 696039. r=dvander 2011-11-21 19:15:38 -05:00
Igor Bukanov
7cedc178a8 Bug 701560 - template version of merge sort. r=luke
This is the second attempt to land this - the previous landing attempt had compilation errors and warnings on 64 bit Linux.
2011-11-16 15:00:32 +01:00
Igor Bukanov
60f9a41782 Backed out changeset e1587f23d2f0, bug 701560 - compilation errors 2011-11-18 15:52:35 +01:00
Igor Bukanov
4eadbd8408 Bug 701560 - template version of merge sort. r=luke 2011-11-16 15:00:32 +01:00
Jeff Walden
566bfd0a08 Bug 686582 - Start adjust existing algorithms to use element-specific methods in preference to jsid-generalized ones. r=dvander 2011-08-10 14:54:52 -07:00
Jeff Walden
10cdb9e766 Bug 686582 - Begin to specialize ObjectOps::setElement to not just delegate to ObjectOps::setProperty. r=dvander 2011-08-10 14:54:52 -07:00
Jeff Walden
21b39d16b3 Bug 686582 - Begin to specialize ObjectOps::defineElement to not just delegate to ObjectOps::defineProperty. r=dvander 2011-08-10 14:54:52 -07:00
Jeff Walden
583a0ae21c Bug 686582 - Begin to specialize ObjectOps::deleteElement to not just delegate to ObjectOps::deleteProperty. r=dvander 2011-08-10 14:54:52 -07:00
Jeff Walden
2d2130f6a4 Bug 686582 - Begin to specialize ObjectOps::setElementAttributes to not just delegate to ObjectOps::setAttributes. r=dvander 2011-08-10 14:54:52 -07:00
Jeff Walden
b345338050 Bug 686582 - Begin to specialize ObjectOps::getElementAttributes to not just delegate to ObjectOps::getAttributes. r=dvander 2011-08-10 14:54:52 -07:00
Jeff Walden
b337f39c47 Bug 686582 - Begin to specialize ObjectOps::getElement to not just delegate to ObjectOps::getProperty. r=dvander 2011-08-10 14:54:52 -07:00
Jeff Walden
3ecb8d9d0c Bug 686582 - Begin to specialize ObjectOps::lookupElement to not just delegate to ObjectOps::lookupProperty. r=dvander 2011-08-10 14:54:52 -07:00
Jeff Walden
88fb757463 Bug 686009 - Clean up some comments in jstracer.cpp which refer to js_InitClass uses which are now mostly removed. Also remove an obsolete comment in JSObject::makeDenseArraySlow that referred to use of js_InitClass to initialize Array. r=bhackett 2011-05-04 16:54:24 -04:00
Luke Wagner
2a9b8deba6 Bug 683361, part 5 - Handle transparent proxies correctly in [[Class]] == "X" queries (r=waldo) 2011-09-20 16:48:50 -07:00
Luke Wagner
bedc73af5b Bug 683361, part 4 - Handle transparent proxies correctly in non-generic methods (r=waldo) 2011-09-08 21:18:23 -07:00
Luke Wagner
4260644e14 Bug 683361, part 2 - use CallArgs more (r=waldo) 2011-09-08 21:02:26 -07:00