Brian Hackett
d03dcc1b1a
[INFER] Array bounds check hoisting, cleanup, bug 618690.
2011-04-05 18:12:03 -07:00
Brian Hackett
42585b287d
[INFER] Revert broken, pointless optimization to EnsureDenseArrayCapacity, bug 647524.
2011-04-03 15:56:37 -07:00
Brian Hackett
f041f52a4a
Merge TM -> JM
2011-04-01 19:57:28 -07:00
Brian Hackett
7adbe26370
[INFER] More fixes for stock JM behavior, bug 647048.
2011-04-01 17:26:34 -07:00
Brian Hackett
164affc87d
[INFER] Restore stock JM behavior with inference off, bug 647048.
2011-03-31 18:11:41 -07:00
Paul Biggar
cfb2a6aebf
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
4c0de7be7e
Merge TM -> JM
2011-03-22 18:07:31 -07:00
Brian Hackett
32212190a4
[INFER] Avoid INT_TO_JSID overflow when deleting element in array_shift, bug 642979.
2011-03-19 09:45:05 -07:00
Brian Hackett
e7c53daa52
[INFER] Improve type handler precision for Array.{slic,pop,shift}, bug 642412.
2011-03-18 08:17:22 -07:00
Brian Hackett
1108f54730
[INFER] Use the 'this' array type as the result in Array.concat, bug 642412.
2011-03-18 07:56:50 -07:00
Brian Hackett
584907e527
Merge TM -> JM
2011-03-14 22:41:04 -07:00
Luke Wagner
ee5173d043
Bug 613457 - clean up string interfaces (r=njn)
...
--HG--
extra : rebase_source : 3e77b67fa9fe2cc31312ad99951cf92258a98e64
2011-03-14 13:59:53 -07:00
Andreas Gal
a163a8e485
Inline GC mark path (bug 639729, r=billm).
2011-03-13 18:13:52 -07:00
Brian Hackett
336a850f70
[INFER] Fix incorrect uses of getDenseArrayCapacity, bug 640203.
2011-03-10 09:56:51 -08:00
Brian Hackett
e4597a953a
Merge TM -> JM
2011-03-09 09:58:49 -08:00
Brian Hackett
df6ca9d613
[INFER] Stronger type-correctness assertions when setting or getting properties, bug 619693.
2011-03-06 15:35:09 -08:00
Brian Hackett
b61f993ebc
[INFER] Remove isTypeCallerMonitored and rejoin from native calls triggering recompilation, bug 638977.
2011-03-05 17:13:40 -08:00
Brian Hackett
ff834d74cd
[INFER] Fixes from botched merge.
2011-03-03 21:24:13 -08:00
Brian Hackett
33a66c9910
[INFER] Fix OOM handling in type inference, convert inference to runtime option, bug 637674.
2011-03-03 14:07:48 -08:00
Brian Hackett
6010fa207c
[INFER] Condense type information during GC, bug 613221.
2011-03-01 13:10:05 -08:00
Brian Hackett
7e16a6bccc
Merge TM -> JM
2011-02-25 18:21:43 +13:00
Jeff Walden
6a6126ed94
Bug 637905 - Add (asserted-infallible) append methods to js::Vector, for use when the vector in question has previously had space reserved, and use them a bunch of places. r=luke
...
--HG--
extra : rebase_source : 89002f1cb5160d89e90a22e54bdca1d57bf9deda
2011-02-18 18:32:29 -08:00
Andreas Gal
7f9365afb0
Remove ObjectOps trace hook (bug 639227, r=dvander).
2011-03-06 22:31:43 -08:00
Andreas Gal
842e6313e7
Backout bug 639227 due to orange.
2011-03-06 21:37:13 -08:00
Andreas Gal
769f6f6b0e
Remove ObjectOps trace hook (bug 639227, r=dvander).
2011-03-06 20:49:54 -08:00
Nicholas Nethercote
52c1a8ea84
Bug 600734 - TM: some jstracer.h clean-ups. r=dmandelin.
2011-03-03 19:59:00 -08:00
Jason Orendorff
7032e92ee5
Remove bogus assertions in the tracer and in ArrayCompPushImpl helper function. Bug 630377, r=brendan.
...
--HG--
extra : rebase_source : 1ed9f873b630f7078f275846d95fbd68b4daeabe
2011-02-17 16:10:10 -06:00
Jim Blandy
2d670dcc54
Bug 537873: Throw errors when strict mode code assigns to an array's length and the truncation would delete non-configurable elements. r=brendan
...
This is the patch that actually fixes the bug.
2011-02-09 11:31:40 -08:00
Jim Blandy
6babbcb6b2
Bug 537873: Add a 'strict' argument to C++ property setter functions. r=brendan
...
This changes the type of setters to JSStrictPropertyOp, which is just like
JSPropertyOp except that it takes a 'JSBool strict' argument. Most of the
patch is introducing distinct types and using the appropriate stubs.
The following are left for subsequent patches:
x Similar fixes to the browser outside SpiderMonkey.
x Actually *using* the newly available strictness information. This patch
should have no user-visible effect. I didn't want the interesting stuff
to get lost in this noise.
2011-02-09 11:31:40 -08:00
Bill McCloskey
7ffeb822e4
Bug 629817 - Add an AutoShapeVector to root shape vectors on the stack (r=luke)
2011-02-07 12:06:32 -08:00
Brian Hackett
a57a2307a1
[INFER] Decouple type sets computed by inference from analysis information, store in new TypeScript struct, bug 621301.
2010-12-28 14:53:50 -05:00
Brian Hackett
6584028397
[INFER] Write barrier for sets to length on non-array objects in array natives, bug 619338.
2010-12-22 22:03:22 -08:00
Brian Hackett
3c05324e02
[INFER] Remove guessing mechanism for unpacked arrays.
2010-12-22 17:02:24 -08:00
Brian Hackett
c6475f9659
[INFER] Fixes for jstests, bug 620599, part 2.
2010-12-21 18:26:09 -08:00
Brian Hackett
8be5cdcb98
[INFER] Fixes for jstests, bug 620599, part 1.
2010-12-21 07:32:21 -08:00
Brian Hackett
49ef27d1e0
[INFER] Fixes for botched merge.
2010-12-20 12:10:57 -08:00
Brian Hackett
8ea3d2869e
[INFER] Account for 'new' case in non-constructor type handlers, bug 618853.
2010-12-20 10:13:39 -08:00
Brian Hackett
d551b1e4ab
Merge TM -> JM
2010-12-20 09:06:43 -08:00
Brian Hackett
c7e2de433a
[INFER] Unwind getProto() changes outside of JS, fix test failures, bug 619271.
2010-12-19 12:21:15 -08:00
Brian Hackett
302a8adf9d
[INFER] Objects with same shape have same type, objects with same type have same prototype, bug 619271.
2010-12-18 20:44:51 -08:00
Brian Hackett
201a276d97
Don't call setProperty from dense array defineProperty, bug 618350. r=waldo
2010-12-16 13:33:49 -08:00
Brian Hackett
c4c526a2cb
[INFER] Handle non-array arguments to Array.concat, bug 617750.
2010-12-13 11:15:56 -08:00
Brian Hackett
a67ebde3f7
[INFER] Fix incorrect uses of getDenseArrayCapacity in array_concat, CloneDensePrimitiveArray, and stubs::GetElem.
2010-12-11 07:30:44 -08:00
Brian Hackett
09461c63a2
[INFER] Fix incorrect use of getDenseArrayCapacity, bug 617745.
2010-12-11 07:07:02 -08:00
Brian Hackett
8c4fb3199c
[INFER] Fix botched merge.
2010-12-08 06:52:49 -08:00
Brian Hackett
c63175a880
Merge TM -> JM
2010-12-07 17:11:37 -08:00
Luke Wagner
e4bb2ca2a9
Bug 609440, part 4 - make JSString::chars() fallible (r=waldo,dvander,igor,dwitte,njn)
2010-12-06 10:26:58 -08:00
Brian Hackett
11bc4a293e
Merge TM -> JM
2010-11-30 09:04:25 -08:00
Brian Hackett
36cd83ac96
[INFER] Overhaul handling of prototypes in type inference, bug 557407.
2010-11-24 20:41:52 -05:00
Jan de Mooij
5f3d75fcf2
Bug 614070 - Fix Array.prototype.unshift to always set the new length on this. r=jwalden
...
--HG--
extra : rebase_source : ee4b0898778b2646087405b177be891867f16380
2010-11-24 23:22:44 +01:00