Commit Graph

609 Commits

Author SHA1 Message Date
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
Brian Hackett
9c0a11d239 Merge TM -> JM 2011-04-01 19:57:28 -07:00
Brian Hackett
1aa9a11b32 [INFER] More fixes for stock JM behavior, bug 647048. 2011-04-01 17:26:34 -07:00
Jeff Walden
ae1c0cce06 Bug 646129 - [[DefaultValue]] on Date objects is wrong when called with no hint. r=luke 2011-04-01 15:24:21 -07:00
Brian Hackett
34e3947863 [INFER] Restore stock JM behavior with inference off, bug 647048. 2011-03-31 18:11:41 -07:00
Jeff Walden
8c57048d2e Remove the unused js_CoerceArrayToCanvasImageData. rs=luke 2011-06-09 01:12:28 -07:00
Paul Biggar
17e5445d64 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
Luke Wagner
f6e92fa08c Bug 689362 - Create js/public (with the intention that its contents will eventually be the only INSTALLED_HEADERS), move Vector and HashTable to js/public and some dependencies (r=billm,sr=dmandelin) 2011-10-04 15:33:00 -07:00
Paul Biggar
cc5a4d7653 Bug 668024 - Make Array.prototype.splice better conform to ES5, with a clearer stepwise algorithm. Patch also includes modifications from jwalden. r=jwalden, r=bhackett 2011-09-23 12:13:11 -07:00
Chris Leary
ee39028ca4 Merge mozilla central and tracemonkey. 2011-06-20 16:49:20 -07:00
Jeff Walden
dffc24089c Bug 662946 - Remove various headers from INSTALLED_HEADERS that shouldn't be there. r=jimb 2011-06-09 01:12:21 -07:00
Brian Hackett
3d67384c02 Merge TM -> JM 2011-03-22 18:07:31 -07:00
Luke Wagner
891a911367 Bug 602994 - Preparatory syntactic cleanup (r=waldo) 2011-04-08 10:52:48 -07:00
Brian Hackett
d8201c90c9 [INFER] Avoid INT_TO_JSID overflow when deleting element in array_shift, bug 642979. 2011-03-19 09:45:05 -07:00
Jeff Walden
28c4962978 Bug 635389 - Check for overrecursion in functions that might need it. r=jorendorff 2011-04-18 16:50:46 -04:00
Luke Wagner
2ce61d2047 Bug 644074 - Simplify and consolidate VM stack code into js/src/vm/Stack* 2011-04-13 09:27:37 -07:00
Bill McCloskey
11b4358e1a Bug 648647 - Eliminate JSObjectMap (r=jorendorff) 2011-04-08 14:21:08 -07:00
Brian Hackett
475f37a01e [INFER] Improve type handler precision for Array.{slic,pop,shift}, bug 642412. 2011-03-18 08:17:22 -07:00
Brian Hackett
090e7aa4f0 [INFER] Use the 'this' array type as the result in Array.concat, bug 642412. 2011-03-18 07:56:50 -07:00
Brian Hackett
f24b762afb Merge TM -> JM 2011-03-14 22:41:04 -07:00
Luke Wagner
bd750d98e0 Bug 613457 - clean up string interfaces (r=njn) 2011-03-14 13:59:53 -07:00