Ed Morley
ee57bf1d01
Backout bug 684110 (08b6eaf6aad0, cf8b35fa1010, 25ee45edabe1, 659f5c7d2cc9, 870f6dd82586 & e1ad65d6a7fd) and bug 684344 (cd1957f6628d) on a CLOSED TREE; a=bustage-fairies
2011-09-03 03:21:25 +01:00
Luke Wagner
ec00ca00c4
Bug 684110 - Clean JSObject::clasp usage (r=pbiggar)
2011-09-02 17:23:26 -07:00
Brian Hackett
f0ce5ff29e
Merge MC -> JM.
2011-07-28 18:10:31 -07:00
Brian Hackett
b4f1169cc2
Merge MC -> JM
2011-07-15 14:40:15 -07:00
Bill McCloskey
00900864c2
Bug 673451 - Add getters and setters to make JS write barriers easier to implement (r=cdleary)
2011-07-13 15:43:33 -07:00
Tom Schuster
db104ed1d8
Bug 652771 - Update Unicode character support for space categorization, also somewhat for uppercase and lowercase (although these will only be fully fixed in followup bugs). r=jwalden. Further (lumped together to address interdependencies): Bug 672760 - Don't pass the EOF non-character to any of the Unicode character-categorization functions. r=jwalden
2011-07-26 14:10:33 -07:00
Brian Hackett
f849f86a7d
Merge TM -> JM
2011-07-05 18:22:24 -07:00
Brian Hackett
f67cd0c0cc
Merge TM -> JM
2011-07-01 16:24:32 -07:00
Ehsan Akhgari
b98b3d81cc
Backout bug 670205 and bug 673451 because of build bustage
2011-07-26 14:41:43 -04:00
Bill McCloskey
9559dbc15a
Bug 673451 - Add getters and setters to make JS write barriers easier to implement (r=cdleary)
2011-07-13 15:43:33 -07:00
David Anderson
86d67629e4
Remove LeaveTrace and related structures (bug 698201 part 5, r=luke).
2011-11-22 17:41:43 -05:00
David Anderson
3a8e74c6da
Remove traceable natives (bug 698201 part 3, r=luke).
2011-11-22 17:41:42 -05:00
Jeff Walden
0cb11915d2
Bug 671143 - Rename ValueToNumber to ToNumber, to be more like the spec nomenclature. r=cdleary
2011-06-13 21:49:59 -07:00
Brian Hackett
14255cbaf1
[INFER] Read barriers for call results, bug 663381.
2011-06-10 19:03:57 -07:00
Makoto Kato
421ccc25fe
Bug 635617 - 64-bit crash [@ MakeDay] r=jwalden
2011-06-08 10:41:37 +09:00
Brian Hackett
0effc78aae
[INFER] Move inference methods out of JSContext, bug 657412.
2011-06-02 10:40:27 -07:00
Luke Wagner
73ff885804
Bug 690825 - Fix nativeCall assert; HandleNonGenericMethodClassMismatch should not assume args.callee() is the native (r=waldo)
2011-10-04 10:48:36 -07:00
Brian Hackett
d03a05a6ae
[INFER] Cleanup for review, bug 657412.
2011-05-16 22:59:40 -07:00
Brian Hackett
44c831f085
[INFER] Move addTypeProperty barriers under obj->setProperty, obj->defineProperty, bug 619693.
2011-05-16 16:15:37 -07:00
Luke Wagner
bedc73af5b
Bug 683361, part 4 - Handle transparent proxies correctly in non-generic methods (r=waldo)
2011-09-08 21:18:23 -07:00
Luke Wagner
4260644e14
Bug 683361, part 2 - use CallArgs more (r=waldo)
2011-09-08 21:02:26 -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
Brian Hackett
ad099b4ded
Merge TM -> JM
2011-04-28 13:02:47 -07:00
Brian Hackett
bf8e7f9212
Merge TM -> JM
2011-04-19 08:23:41 -07:00
Brian Hackett
cf2b42a8ff
Merge TM -> JM
2011-04-12 07:04:45 -07:00
Brian Hackett
9c0a11d239
Merge TM -> JM
2011-04-01 19:57: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
Paul Biggar
70a9d26e32
Bug 634155: Account for NewCompartment's memory, and change allocation APIs (r=nnethercote)
...
This changes the allocation API, in the following way:
js_malloc -> {cx->,rt->,OffTheBooks::}malloc
js_calloc -> {cx->,rt->,OffTheBooks::}calloc
js_realloc -> {cx->,rt->,OffTheBooks::}realloc
js_free -> {cx->,rt->,Foreground::,UnwantedForeground::}free
js_new -> {cx->,rt->,OffTheBooks::}new_
js_new_array -> {cx->,rt->,OffTheBooks::}new_array
js_delete -> {cx->,rt->,Foreground::,UnwantedForeground::}delete_
This is to move as many allocations as possible through a JSContext (so that they may be aken into account by gcMallocBytes) and to move as many deallocations to the background as possible (except on error paths).
2011-03-31 01:13:49 -07:00
Jeff Walden
d5842484b7
Bug 686002 - Refactor Date class initialization. r=bhackett
2011-05-03 15:18:36 -04: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
Luke Wagner
891a911367
Bug 602994 - Preparatory syntactic cleanup (r=waldo)
2011-04-08 10:52:48 -07: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
Chris Leary
b8f37db93a
Merge mozilla-central and tracemonkey.
2011-04-26 10:42:36 -07:00
Tom Schuster
12cae3c23a
Bug 649575 - Date.prototype.toISOString must throw a RangeError for non-finite dates. r=jwalden
2011-04-22 22:46:59 -04: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
Jonathan Kew
254a559ea4
Backed out changeset 80451fb8f11c (bug 585152) as per discussion in the bug.
2011-04-13 14:35:06 +01:00
Brian Hackett
269f4956b9
Merge TM -> JM
2011-02-25 18:21:43 +13: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
Brian Hackett
9a3983e810
Merge TM -> JM
2010-12-20 09:06:43 -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
a567e7d35e
Merge TM -> JM
2010-12-07 17:11:37 -08:00
Saint Wesonga
5a87b99e51
Remove unused js_DateSetXXX API. Bug 524179, r=brendan.
2010-12-07 12:46:19 -06:00
Luke Wagner
8014a0fd10
Bug 609440, part 4 - make JSString::chars() fallible (r=waldo,dvander,igor,dwitte,njn)
2010-12-06 10:26:58 -08:00
Brian Hackett
3a36969da3
[INFER] Overhaul handling of prototypes in type inference, bug 557407.
2010-11-24 20:41:52 -05:00
Jason Orendorff
ab076a61ee
Fix structured cloning deserialization bug that could create invalid Date objects. Bug 602806, r=gal.
2010-12-03 12:15:06 -06:00
Brian Hackett
6004d8b9cb
Merge TM -> JM
2010-11-18 21:09:24 -08:00
Brian Hackett
4370805084
[INFER] Javascript type inference, bug 557407.
2010-10-29 08:05:55 -07:00
Jeff Walden
78f59bd5e3
Bug 607148 - Remove unnamed namespaces from SpiderMonkey code. rs=luke
2010-10-25 16:47:11 -07:00
Brian Hackett
462c3fd58a
Flexible length JSObject, bug 584917. r=brendan,igor
2010-10-13 11:49:22 -07:00
Igor Bukanov
32e44f7d15
bug 617215 - eliminating JS_NewString usage in FF while fixing a leak there. r=bz
2010-12-09 11:22:15 +01:00