Commit Graph

609 Commits

Author SHA1 Message Date
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
Ehsan Akhgari
b98b3d81cc Backout bug 670205 and bug 673451 because of build bustage 2011-07-26 14:41:43 -04:00
Bill McCloskey
9559dbc15a 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
a0163a853b [INFER] Cleanup type info tracking object classes, track which type objects are definitely typed arrays, bug 663485. 2011-06-15 11:26:12 -07:00
Jeff Walden
0cb11915d2 Bug 671143 - Rename ValueToNumber to ToNumber, to be more like the spec nomenclature. r=cdleary 2011-06-13 21:49:59 -07:00
Brian Hackett
14255cbaf1 [INFER] Read barriers for call results, bug 663381. 2011-06-10 19:03:57 -07:00
Jan de Mooij
cb59186efd [INFER] Fix parseInt to return integers instead of doubles where possible, rewrite some setNumber calls, bug 662766. r=bhackett 2011-06-08 20:11:42 +02:00
Brian Hackett
61a28b08bb [INFER] Apply arguments and script review comments, bug 657412. 2011-06-06 08:32:41 -07:00
Brian Hackett
0effc78aae [INFER] Move inference methods out of JSContext, bug 657412. 2011-06-02 10:40:27 -07:00
Brian Hackett
3d372781d6 [INFER] Address array review comments, add back backedge table, bug 657412. 2011-06-01 11:15:51 -07:00
Brian Hackett
acb4adb868 Merge TM -> JM 2011-05-27 15:08:04 -07:00
Brian Hackett
2c1bfca902 Merge TM -> JM 2011-05-22 08:59:06 -07:00
Brian Hackett
f298136568 [INFER] Analysis and compiler improvements for polymorphic call sites, bug 653962. 2011-05-20 19:33:06 -07:00
Brian Hackett
d03a05a6ae [INFER] Cleanup for review, bug 657412. 2011-05-16 22:59:40 -07:00
Brian Hackett
44c831f085 [INFER] Move addTypeProperty barriers under obj->setProperty, obj->defineProperty, bug 619693. 2011-05-16 16:15:37 -07:00
Brian Hackett
26008b2e7f [INFER] Fix bogus assert in array_pop_dense, bug 657245. 2011-05-15 22:08:10 -07:00
Brian Hackett
3735a2e3df Merge TM -> JM 2011-05-15 11:32:09 -07:00
Brian Hackett
559928f279 [INFER] Use initialized length instead of capacity in Array.join optimization, bug 655769. 2011-05-14 07:39:42 -07:00
Brian Hackett
7328c54dd1 [INFER] Don't analyze types in compileAndGo scripts with a cleared global, bug 619433. 2011-05-12 17:59:28 -07:00
Brian Hackett
16527b9127 Merge TM -> JM 2011-05-11 20:37:23 -07:00
Brian Hackett
d003a0dcad [INFER] Inlined natives for Array.{push,pop}, object flag cleanup, bug 653962. 2011-05-10 23:33:30 -07:00