Commit Graph

434 Commits

Author SHA1 Message Date
Brian Hackett
82629392f1 [INFER] Inlined natives for Array.{push,pop}, object flag cleanup, bug 653962. 2011-05-10 23:33:30 -07:00
Brian Hackett
c930c3e982 Merge TM -> JM
--HG--
rename : js/src/GlobalObject.cpp => js/src/vm/GlobalObject.cpp
2011-05-09 09:49:48 -07:00
Brian Hackett
417f1e64b9 [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
Brian Hackett
838352f9db Merge TM -> JM 2011-04-28 13:02:47 -07:00
Jeff Walden
849fe0bfd1 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
e625314785 Bug 653888 - Clean up the Walk internal spec function, make the reviver delete properties from arrays if it returns undefined. r=pbiggar
--HG--
extra : rebase_source : 6d2004b0d6089c0c6d85bdaf4d4b0c8240840109
2011-04-30 03:22:48 -04:00
Jeff Walden
9361f3bfc8 Bug 653782 - Remove js_IndexToId, replace with an inline js::IndexToId. Also removes the redundant IndexToId in jsxml.cpp. r=igor
--HG--
extra : rebase_source : 4cb2b69a8f3d1877ca6514c8f9dfb3dc1af551b7
2011-04-30 03:19:26 -04:00
Brian Hackett
20530cc76c [INFER] Root dense array elements during conversion to slow array, bug 649152. 2011-04-24 07:56:56 -07:00
Brian Hackett
43c276be4a [INFER] Bytecode SSA analysis, bug 650715. 2011-04-22 07:59:45 -07:00
Brian Hackett
fe5aeaab19 Merge TM -> JM 2011-04-20 11:37:46 -07:00
Jan de Mooij
2c7be5f6d4 [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
d57740905e [INFER] Update initialized length in array_pop_dense, bug 651451. r=bhackett 2011-04-20 18:10:59 +02:00
Igor Bukanov
8b0d367736 bug 605029 - ArenaHeader versus Arena<FreeCell> and other cleanups. r=wmccloskey 2011-04-20 07:30:10 +02:00
Brian Hackett
68b35100e1 Merge TM -> JM 2011-04-19 08:23:41 -07:00
Bill McCloskey
3c0cd83aa3 Bug 616666 - Use explicit stack for GC marking (r=gal) 2011-04-15 16:56:08 -07:00
Brian Hackett
eaf164a1c9 [INFER] Retest hoisted bounds checks after stub calls, bug 649693. 2011-04-14 21:59:32 -07:00
Brian Hackett
fc65b95530 Merge TM -> JM 2011-04-13 06:45:06 -07:00
Blake Kaplan
d7c603eab8 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
83e8f1e4ab Merge TM -> JM 2011-04-12 07:04:45 -07:00
Brian Hackett
7fc4e4971f [INFER] Clear initialized length when changing clasp during array slowification, bug 648773. 2011-04-11 06:52:23 -07:00
Brian Hackett
3756228559 [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
012e3b1119 Merge TM -> JM 2011-04-08 19:27:14 -07:00
Brian Hackett
1411ab0bed [INFER] Fix bogus assert, bug 648499. 2011-04-08 16:04:44 -07:00
Brian Hackett
814665de9f [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
4226ea1e6e [INFER] Array bounds check hoisting, cleanup, bug 618690. 2011-04-05 18:12:03 -07:00
Brian Hackett
6e57f07678 [INFER] Revert broken, pointless optimization to EnsureDenseArrayCapacity, bug 647524. 2011-04-03 15:56:37 -07:00
Jeff Walden
af6649155f 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
Brian Hackett
8b7888dd66 Merge TM -> JM 2011-04-01 19:57:28 -07:00
Brian Hackett
a1f196a052 [INFER] More fixes for stock JM behavior, bug 647048. 2011-04-01 17:26:34 -07:00
Brian Hackett
b447aaf9bb [INFER] Restore stock JM behavior with inference off, bug 647048. 2011-03-31 18:11:41 -07:00
Paul Biggar
43b850291d Bug 643548: Remove mozalloc_undef_macro_wrappers hack from JS engine. (r=luke,rs=brendan)
mozalloc_undef_macro_wrappers are brittle and have side-effects that are hard
to debug and fix. The alternative is the just stick an underscore on the end of
malloc, free, etc, which is a comparatively small burden.
2011-03-31 01:14:12 -07:00
Brian Hackett
d737bb3ddb Merge TM -> JM 2011-03-22 18:07:31 -07:00
Luke Wagner
774c050740 Bug 602994 - Preparatory syntactic cleanup (r=waldo) 2011-04-08 10:52:48 -07:00
Brian Hackett
2f766cc940 [INFER] Avoid INT_TO_JSID overflow when deleting element in array_shift, bug 642979. 2011-03-19 09:45:05 -07:00
Jeff Walden
faf5216de3 Bug 635389 - Check for overrecursion in functions that might need it. r=jorendorff
--HG--
extra : rebase_source : 72d6f2c915a4aa19e9820ea4f66039f75421c32d
2011-04-18 16:50:46 -04:00
Luke Wagner
05d2002b66 Bug 644074 - Simplify and consolidate VM stack code into js/src/vm/Stack* 2011-04-13 09:27:37 -07:00
Bill McCloskey
4a9bde3182 Bug 648647 - Eliminate JSObjectMap (r=jorendorff) 2011-04-08 14:21:08 -07:00
Brian Hackett
707a3eae96 [INFER] Improve type handler precision for Array.{slic,pop,shift}, bug 642412. 2011-03-18 08:17:22 -07:00
Brian Hackett
537b627fc2 [INFER] Use the 'this' array type as the result in Array.concat, bug 642412. 2011-03-18 07:56:50 -07:00
Brian Hackett
9d86c615fc Merge TM -> JM 2011-03-14 22:41:04 -07:00
Luke Wagner
7c96945e3c Bug 613457 - clean up string interfaces (r=njn)
--HG--
extra : rebase_source : 3e77b67fa9fe2cc31312ad99951cf92258a98e64
2011-03-14 13:59:53 -07:00
Andreas Gal
0dec3716f6 Inline GC mark path (bug 639729, r=billm). 2011-03-13 18:13:52 -07:00
Brian Hackett
6279a0e820 [INFER] Fix incorrect uses of getDenseArrayCapacity, bug 640203. 2011-03-10 09:56:51 -08:00
Brian Hackett
d639ada378 Merge TM -> JM 2011-03-09 09:58:49 -08:00
Brian Hackett
6f2c05af08 [INFER] Stronger type-correctness assertions when setting or getting properties, bug 619693. 2011-03-06 15:35:09 -08:00
Brian Hackett
ca1935e670 [INFER] Remove isTypeCallerMonitored and rejoin from native calls triggering recompilation, bug 638977. 2011-03-05 17:13:40 -08:00
Brian Hackett
801f764f4c [INFER] Fixes from botched merge. 2011-03-03 21:24:13 -08:00
Brian Hackett
41091b1bb6 [INFER] Fix OOM handling in type inference, convert inference to runtime option, bug 637674. 2011-03-03 14:07:48 -08:00
Brian Hackett
e5020a35b3 [INFER] Condense type information during GC, bug 613221. 2011-03-01 13:10:05 -08:00
Brian Hackett
0a2cdd3c56 Merge TM -> JM 2011-02-25 18:21:43 +13:00