Commit Graph

451 Commits

Author SHA1 Message Date
Brian Hackett
1354314184 Merge TM -> JM 2011-05-27 15:08:04 -07:00
Brian Hackett
1e358b51f6 Merge TM -> JM 2011-05-22 08:59:06 -07:00
Brian Hackett
f1b91c8773 [INFER] Analysis and compiler improvements for polymorphic call sites, bug 653962. 2011-05-20 19:33:06 -07:00
Brian Hackett
4cb0c5c5ef [INFER] Cleanup for review, bug 657412. 2011-05-16 22:59:40 -07:00
Brian Hackett
98763bc2cb [INFER] Move addTypeProperty barriers under obj->setProperty, obj->defineProperty, bug 619693. 2011-05-16 16:15:37 -07:00
Brian Hackett
309753c03d [INFER] Fix bogus assert in array_pop_dense, bug 657245. 2011-05-15 22:08:10 -07:00
Brian Hackett
afdce01248 Merge TM -> JM 2011-05-15 11:32:09 -07:00
Brian Hackett
9d91cd346a [INFER] Use initialized length instead of capacity in Array.join optimization, bug 655769. 2011-05-14 07:39:42 -07:00
Brian Hackett
543a5fc8ef [INFER] Don't analyze types in compileAndGo scripts with a cleared global, bug 619433. 2011-05-12 17:59:28 -07:00
Brian Hackett
55015fcf39 Merge TM -> JM 2011-05-11 20:37:23 -07:00
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
5d29251946 Bug 652746 - Implement js::ArgumentsObject, js::NormalArgumentsObject, and js::StrictArgumentsObject. r=njn
--HG--
extra : rebase_source : 84258ffa658ba09928ab9b86f8017fa6683f3146
2011-04-25 22:40:00 -04:00
Jeff Walden
77b801ddde 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)
--HG--
extra : rebase_source : 4cef6936c39d63e232363baa64d24c0d1fabc60e
2011-05-05 00:24:15 -04: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
Chris Leary
a7253cc393 Bug 654301: Better interned string API, take 2. (r=Waldo) 2011-05-17 12:15:12 -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