Commit Graph

516 Commits

Author SHA1 Message Date
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
Brian Hackett
34017f15b0 Merge TM -> JM 2011-05-09 09:49:48 -07:00
Brian Hackett
5e9a3d2d57 [INFER] Remove on stack recompilation, allow removed on stack JIT frames to rejoin into the interpreter, bug 650163. 2011-05-09 07:12:47 -07:00
Jeff Walden
44cf288bcd Bug 654170 - Make js_InitArrayClass non-generic. r=bhackett 2011-05-02 14:53:24 -04:00
Brian Hackett
ad099b4ded Merge TM -> JM 2011-04-28 13:02:47 -07:00
Jeff Walden
cd36dedcf4 Bug 652746 - Implement js::ArgumentsObject, js::NormalArgumentsObject, and js::StrictArgumentsObject. r=njn 2011-04-25 22:40:00 -04:00
Jeff Walden
b0af0ddd54 Bug 653888 - Clean up the Walk internal spec function, make the reviver delete properties from arrays if it returns undefined. r=pbiggar (relanding after a first try that appears to have triggered a random orange without methodjit on Linux debug, that went away on two rebuilds) 2011-05-05 00:24:15 -04:00
Jeff Walden
789462d521 Backed out changeset 83ae6e7c572e, maybe caused an orange, trying a backout of the most likely regressor. r=orange 2011-05-04 23:10:16 -04:00
Jeff Walden
9f3407e0c3 Bug 653888 - Clean up the Walk internal spec function, make the reviver delete properties from arrays if it returns undefined. r=pbiggar 2011-04-30 03:22:48 -04:00
Jeff Walden
092453d223 Bug 653782 - Remove js_IndexToId, replace with an inline js::IndexToId. Also removes the redundant IndexToId in jsxml.cpp. r=igor 2011-04-30 03:19:26 -04:00
Brian Hackett
295d41c6d0 [INFER] Root dense array elements during conversion to slow array, bug 649152. 2011-04-24 07:56:56 -07:00
Brian Hackett
6e03ee2f28 [INFER] Bytecode SSA analysis, bug 650715. 2011-04-22 07:59:45 -07:00
Chris Leary
d3a2ee665f Bug 654301: Better interned string API, take 2. (r=Waldo) 2011-05-17 12:15:12 -07:00
Brian Hackett
b833226820 Merge TM -> JM 2011-04-20 11:37:46 -07:00
Jan de Mooij
88befb317a [INFER] Don't update initialized length when it's smaller than length, bug 651451 2011-04-20 19:43:30 +02:00
Jan de Mooij
b63f63bb7f [INFER] Update initialized length in array_pop_dense, bug 651451. r=bhackett 2011-04-20 18:10:59 +02:00
Igor Bukanov
076ddf99fb bug 605029 - ArenaHeader versus Arena<FreeCell> and other cleanups. r=wmccloskey 2011-04-20 07:30:10 +02:00
Brian Hackett
bf8e7f9212 Merge TM -> JM 2011-04-19 08:23:41 -07:00
Bill McCloskey
7e0d823abb Bug 616666 - Use explicit stack for GC marking (r=gal) 2011-04-15 16:56:08 -07:00
Brian Hackett
2aba26951e [INFER] Retest hoisted bounds checks after stub calls, bug 649693. 2011-04-14 21:59:32 -07:00
Brian Hackett
35c3d2d518 Merge TM -> JM 2011-04-13 06:45:06 -07:00
Blake Kaplan
0e5c53d8fc Bug 618176 - Skip multiple wrappers when deciding whether this object is an array. r=gal 2011-04-12 15:56:45 -07:00
Brian Hackett
cf2b42a8ff Merge TM -> JM 2011-04-12 07:04:45 -07:00
Brian Hackett
8e9b5cc4ba [INFER] Clear initialized length when changing clasp during array slowification, bug 648773. 2011-04-11 06:52:23 -07:00
Brian Hackett
5f992cdd2c [INFER] Use both inline and dynamic slots for objects other than dense arrays, bug 648321. 2011-04-08 19:51:40 -07:00
Brian Hackett
eac99c4620 Merge TM -> JM 2011-04-08 19:27:14 -07:00
Brian Hackett
f9a56839e6 [INFER] Fix bogus assert, bug 648499. 2011-04-08 16:04:44 -07:00
Brian Hackett
c9f6465be0 [INFER] Fix cases where dense arrays have initialized length < capacity with disabled inference, bug 648357. 2011-04-07 17:14:15 -07:00
Brian Hackett
bb1fea5966 [INFER] Array bounds check hoisting, cleanup, bug 618690. 2011-04-05 18:12:03 -07:00
Brian Hackett
174d50e260 [INFER] Revert broken, pointless optimization to EnsureDenseArrayCapacity, bug 647524. 2011-04-03 15:56:37 -07:00
Jeff Walden
b3f34db032 Bug 647385 - Implement a ToInteger helper that corresponds to the spec method (rather than inlining its contents everywhere it can be trivially used). Also fixes a couple bugs in one place that should have used ToInteger but didn't. r=cdleary 2011-04-02 11:33:20 -07:00