Commit Graph

516 Commits

Author SHA1 Message Date
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
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
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
Jeff Walden
c41653d712 Bug 677703 - Add element-valued methods to ObjectOps. Implement forward-to-property versions where necessary for classes which have custom ObjectOps. r=cdleary 2011-08-10 14:54:51 -07:00
Luke Wagner
55f0cd3222 Bug 674998 - Remove InvokeSessionGuard; it's bug-prone and we should self-host instead (r=bhackett) 2011-09-06 09:06:07 -07:00
Luke Wagner
99a71c8f45 Bug 684110 - Remove/inline array helper (r=pbiggar) 2011-09-02 17:23:36 -07:00
Luke Wagner
8fe42d3496 Bug 684110 - Clean JSObject::clasp usage (r=pbiggar) 2011-09-02 17:23:26 -07:00
Ed Morley
ee57bf1d01 Backout bug 684110 (08b6eaf6aad0, cf8b35fa1010, 25ee45edabe1, 659f5c7d2cc9, 870f6dd82586 & e1ad65d6a7fd) and bug 684344 (cd1957f6628d) on a CLOSED TREE; a=bustage-fairies 2011-09-03 03:21:25 +01:00
Luke Wagner
5ed4bf2382 Bug 684110 - Remove/inline array helper (r=pbiggar) 2011-09-02 17:23:36 -07:00
Luke Wagner
ec00ca00c4 Bug 684110 - Clean JSObject::clasp usage (r=pbiggar) 2011-09-02 17:23:26 -07:00
Igor Bukanov
734ef93837 bug 681884 - faster slow path of GC allocations. r=wmccloskey 2011-08-18 09:16:08 +02:00
Brian Hackett
996be48178 [INFER] Don't use type barriers when compiling GETELEM on typed arrays, bug 678782. 2011-08-17 16:11:38 -07:00
Brian Hackett
13b25028bf Merge MC -> JM 2011-08-14 19:51:16 -07:00
Brian Hackett
e55eec1dbb Merge MC -> JM 2011-08-09 13:29:11 -07:00
Tom Schuster
6967f6f11e Bug 653175 - An array index with a null character could wrongly be considered to be valid. r=jorendorff 2011-08-06 00:37:54 +02:00
Jason Orendorff
0f4f69a746 Merge from mozilla-central to jsdbg2. 2011-08-09 10:21:12 -05:00
Brian Hackett
f0ce5ff29e Merge MC -> JM. 2011-07-28 18:10:31 -07:00
Brian Hackett
b8c5a9a940 [INFER] Allow the same shape to be shared by objects with different types, bug 674621. 2011-07-28 14:17:42 -07:00
Jason Orendorff
b576c7167f Merge from mozilla-central to jsdbg2. 2011-07-28 13:45:51 -05:00
Jason Orendorff
0a46d5195d Merge from mozilla-central to jsdbg2 branch. 2011-07-27 18:23:16 -05:00
Brian Hackett
91605d7192 Merge MC -> JM 2011-07-21 18:53:37 -07:00
Jason Orendorff
9a04eb1611 Bug 637985 - Reimplement watchpoints using a JSObject bit. r=jimb. 2011-07-27 17:44:43 -05:00
Jason Orendorff
74a8bfceab Merge mozilla-central to jsdbg2. 2011-07-18 10:58:56 -05:00
Brian Hackett
b4f1169cc2 Merge MC -> JM 2011-07-15 14:40:15 -07:00
Jeff Walden
ba04fc3200 Remove code for JS_HAS_ARRAY_EXTRAS, and make the extra methods ES5 added to Array.prototype always present. rs=luke 2011-07-15 14:06:40 -07:00
Brian Hackett
966e60ebab [INFER] Lazily create type objects for singleton JS objects, bug 670185. 2011-07-15 10:14:07 -07:00
Bill McCloskey
00900864c2 Bug 673451 - Add getters and setters to make JS write barriers easier to implement (r=cdleary) 2011-07-13 15:43:33 -07:00
Brian Hackett
a7369720ca [INFER] Fix build breaks with --disable-methodjit. 2011-07-05 16:52:39 -07:00
Jason Orendorff
17781060f2 Merge from tracemonkey to jsdbg2. 2011-07-01 19:02:40 -05:00
Brian Hackett
f67cd0c0cc Merge TM -> JM 2011-07-01 16:24:32 -07:00
Jason Orendorff
faf9b28aff Add Script.prototype.getAllOffsets and getLineOffsets. 2011-06-28 14:46:00 -05:00
Jeff Walden
90c6599e6d Bug 657298 - Various bugs in setting the length of an array. r=dmandelin 2011-06-28 10:05:53 -07:00
Jeff Walden
ba2afcb9f9 Bug 667527 - Remove the array-length limitation from the method used in certain cases to append values to newborn arrays, and name it more generally than previously. r=dmandelin 2011-06-28 10:05:40 -07:00