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
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
Andreas Gal
36269f6040
Inline GC mark path (bug 639729, r=billm).
2011-03-13 18:13:52 -07:00
Brian Hackett
d5363ae595
[INFER] Fix incorrect uses of getDenseArrayCapacity, bug 640203.
2011-03-10 09:56:51 -08:00
Brian Hackett
42dca7e4ba
Merge TM -> JM
2011-03-09 09:58:49 -08:00
Brian Hackett
ca3296da88
[INFER] Stronger type-correctness assertions when setting or getting properties, bug 619693.
2011-03-06 15:35:09 -08:00
Brian Hackett
9b95d078c6
[INFER] Remove isTypeCallerMonitored and rejoin from native calls triggering recompilation, bug 638977.
2011-03-05 17:13:40 -08:00
Brian Hackett
08c135b748
[INFER] Fixes from botched merge.
2011-03-03 21:24:13 -08:00
Brian Hackett
81b4a51f7c
[INFER] Fix OOM handling in type inference, convert inference to runtime option, bug 637674.
2011-03-03 14:07:48 -08:00
Jeff Walden
30ae04d328
Bug 657665 - Add documentation comments to ArgumentsObject detailing its structure, and add ArgumentsObject::getElement{,s} to abstract attempting to speedily get the value of one or more elements. r=bhackett
2011-05-18 11:45:27 -07:00
Brian Hackett
92e10c5077
[INFER] Condense type information during GC, bug 613221.
2011-03-01 13:10:05 -08:00
Brian Hackett
269f4956b9
Merge TM -> JM
2011-02-25 18:21:43 +13:00
Jeff Walden
70e937e769
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
2011-02-18 18:32:29 -08:00
Jeff Walden
a2eaaf6bd8
Bug 645468 - Remove js_TryMethod: its semantics aren't what most of its users want, and its utility is limited. r=luke
2011-03-28 20:01:53 -07:00
Andreas Gal
faed51e50f
Remove ObjectOps trace hook (bug 639227, r=dvander).
2011-03-06 22:31:43 -08:00
Andreas Gal
e2ecb615ac
Backout bug 639227 due to orange.
2011-03-06 21:37:13 -08:00
Andreas Gal
8b96babfed
Remove ObjectOps trace hook (bug 639227, r=dvander).
2011-03-06 20:49:54 -08:00
Nicholas Nethercote
3c3c43f5fa
Bug 600734 - TM: some jstracer.h clean-ups. r=dmandelin.
2011-03-03 19:59:00 -08:00
Jason Orendorff
c6bc3fe118
Remove bogus assertions in the tracer and in ArrayCompPushImpl helper function. Bug 630377, r=brendan.
2011-02-17 16:10:10 -06:00
Jim Blandy
2b4a76714e
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
005f4f08aa
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
3fc1a876f6
Bug 629817 - Add an AutoShapeVector to root shape vectors on the stack (r=luke)
2011-02-07 12:06:32 -08:00
Igor Bukanov
c5d6c2cd8f
bug 627016 - remove JSProperty out param from DefineNativeProperty. r=jorendorff
2011-01-21 14:10:16 +01:00
Brian Hackett
361372d7f2
[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
a45ea14370
[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
d5042fced4
[INFER] Remove guessing mechanism for unpacked arrays.
2010-12-22 17:02:24 -08:00
Brian Hackett
92e1dc3d0f
[INFER] Fixes for jstests, bug 620599, part 2.
2010-12-21 18:26:09 -08:00
Brian Hackett
943ffa00ec
[INFER] Fixes for jstests, bug 620599, part 1.
2010-12-21 07:32:21 -08:00
Brian Hackett
e4b5d90dd3
[INFER] Fixes for botched merge.
2010-12-20 12:10:57 -08:00
Brian Hackett
fc509c0776
[INFER] Account for 'new' case in non-constructor type handlers, bug 618853.
2010-12-20 10:13:39 -08:00
Brian Hackett
9a3983e810
Merge TM -> JM
2010-12-20 09:06:43 -08:00
Brian Hackett
0c95b765de
[INFER] Unwind getProto() changes outside of JS, fix test failures, bug 619271.
2010-12-19 12:21:15 -08:00
Brian Hackett
09a5a525ff
[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
1de05ba8b9
Don't call setProperty from dense array defineProperty, bug 618350. r=waldo
2010-12-16 13:33:49 -08:00