Jeff Walden
e5483b3b1e
Bug 678998 - Rename IsFunctionQName to GetLocalNameFromFunctionQName and make it infallible, now that QName's localName slot stores an atom and conversion to jsid can be infallible. r=luke
...
--HG--
extra : rebase_source : 5f0958ab3053b07ca87eb5955b274e3bd551d23d
2011-08-15 00:12:48 -04:00
Jeff Walden
1b36104399
Bug 678998 - Make the QName localName slot store a local name that's been atomized, for simplicity. r=luke
...
--HG--
extra : rebase_source : 87d44a95111da809436322d95abd506e1c7beb00
2011-08-15 00:12:48 -04:00
Brian Hackett
418174fe1d
Merge TM -> JM
...
--HG--
rename : js/src/GlobalObject.cpp => js/src/vm/GlobalObject.cpp
2011-05-09 09:49:48 -07:00
Brian Hackett
c0de8c6bb8
[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
b0347962e1
Bug 675745 - Don't specify JSCLASS_CONSTRUCT_PROTOTYPE for js_AttributeNameClass or js_AnyNameClass. The flag's only used in a code path that neither class will ever enter. r=igor
...
--HG--
extra : rebase_source : 8731f262aae07a01a87ae4063d1370d81b9e5141
2011-08-01 15:14:38 -07:00
Jeff Walden
8c859c2315
Bug 675745 - Initialize the XML class by creating the prototype and constructor manually, and by initializing each according to its special needs. r=igor
...
--HG--
extra : rebase_source : 925e746f64092c53915b226df3c42cb3f12d90a5
2011-05-04 16:54:24 -04:00
Jeff Walden
45573f159d
Bug 675745 - Initialize the QName class by creating the prototype and constructor manually, and by initializing each according to its special needs. r=igor
...
--HG--
extra : rebase_source : d7e2c26cdb1742c8ac239c4b596e236bc8028211
2011-05-04 16:54:24 -04:00
Jeff Walden
fb5c96b629
Bug 675745 - Initialize the Namespace class by creating the prototype and constructor manually, and by initializing each according to its special needs. r=igor
...
--HG--
extra : rebase_source : 467661fe15b099da27e29d7f2ceb02c39c4a2b92
2011-05-04 16:54:24 -04:00
Luke Wagner
cf6b877312
Bug 650618 - Make sure XML objects get a (rooted-at-global) parent (r=waldo)
2011-07-15 13:56:12 -07:00
Brian Hackett
ae1bb92435
Merge TM -> JM
2011-04-28 13:02:47 -07:00
Jeff Walden
180d9e56f6
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
Chris Leary
4fef967f20
Bug 654301: Better interned string API, take 2. (r=Waldo)
2011-05-17 12:15:12 -07:00
Brian Hackett
d720258b49
Merge TM -> JM
2011-04-20 11:37:46 -07:00
Bill McCloskey
94318256e1
Bug 616666 - Use explicit stack for GC marking (r=gal)
2011-04-15 16:56:08 -07:00
Brian Hackett
1122e26106
Merge TM -> JM
2011-04-12 07:04:45 -07:00
Brian Hackett
9ec8194839
Merge TM -> JM
2011-04-08 19:27:14 -07:00
Brian Hackett
f041f52a4a
Merge TM -> JM
2011-04-01 19:57:28 -07:00
Brian Hackett
46e965d917
[INFER] Inline scripted calls, bug 639099.
2011-03-26 19:07:13 -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
Paul Biggar
1b17519a11
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
Luke Wagner
5672553177
Bug 665247 - Remove unused metering code (r=igor)
...
--HG--
extra : rebase_source : 78ec31e4236f63f8a91024f34b1b99a889dc47f5
2011-06-21 10:26:22 -07:00
Igor Bukanov
49581e5a08
bug 665781 - do not shrink XML arrays during GC. r=gal
2011-06-21 12:23:14 +02:00
Jeff Walden
841d0bfb68
Bug 655192 - Declare variables as late as possible in js_InitXMLClass. r=jorendorff
...
--HG--
extra : rebase_source : 13cf4e90f5f6dc549ef1500cc91cb9507ce47d90
2011-05-04 16:54:24 -04:00
Brendan Eich
029df9a3ef
Inherited non-configurable accessor properties mis-reported as own properties (637994, r=jwalden).
2011-06-14 23:48:59 -07:00
Jeff Walden
7589c39be1
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
2afe24d969
Bug 656462, part 4 - Simplify stack code, keep track of native calls, create new iterator over native/scripted callstack, make JS_SaveFrameChain fallible (r=waldo,mrbkap)
...
--HG--
extra : rebase_source : 756a640568464d11fe6bb00104a2fdb6f6d02d02
2011-05-13 08:56:26 -07:00
Luke Wagner
749dfad05a
Bug 656462, part 3 - Syntactic touchups (r=waldo)
...
--HG--
extra : rebase_source : 7a81c352a96b9e23fc8f7bee5cb1d095c5cdb998
2011-05-24 16:08:40 -07:00
Luke Wagner
de38701887
Bug 656462, part 1 - Remove StackSegment::initialVarObj (r=waldo)
...
--HG--
extra : rebase_source : 54ae58bec51c4c7fcc58db2148167be828dda8a3
2011-05-24 15:05:30 -07:00
Brian Hackett
4c0de7be7e
Merge TM -> JM
2011-03-22 18:07:31 -07:00
Paul Biggar
6eb04a6eac
Backed out changeset 00313f95d106 (bug 651864).
2011-04-28 09:02:13 -07:00
Paul Biggar
6996d452cb
Bug 651864 - Extract magic slot formula into inline functions (r=jwalden)
...
The global object has special slots for built-in objects' prototypes,
constructors and properties. This makes explicit the formula to calculate the
slot number for these special slots.
2011-04-28 07:18:11 -07:00
Luke Wagner
5c163adc54
Bug 644074 - Simplify and consolidate VM stack code into js/src/vm/Stack*
2011-04-13 09:27:37 -07:00
Jeff Walden
3061720c84
Bug 641655 - Add a js::GlobalObject subtype of JSObject. r=njn
2011-04-18 16:50:47 -04:00
Jeff Walden
300e8819a9
Backed out changeset c8ba5bd72b0c, we have too many test harnesses and I forgot to run one. r=tree-decorator
2011-04-21 16:29:54 -04:00
Jeff Walden
8eccf2de16
Bug 641655 - Add a js::GlobalObject subtype of JSObject. r=njn
2011-04-18 16:50:47 -04: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
Brian Hackett
da5f5636cc
[INFER] Overhaul inference handling of new object computation, bug 619433.
2011-03-10 12:01:11 -08:00
Brian Hackett
e4597a953a
Merge TM -> JM
2011-03-09 09:58:49 -08:00
Brian Hackett
8d651f8a5f
[INFER] Handle DEFAULT_NAMESPACE_ID in MakeTypeId, bug 640079.
2011-03-08 23:00:28 -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
3c65dd379a
[INFER] Mark properties of XML.prototype as unknown, bug 638982.
2011-03-04 18:04:46 -08:00
Brian Hackett
910ca5777c
[INFER] Miscellaneous fixes to get inference passing jstests.
2011-03-04 07:50:32 -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
7e16a6bccc
Merge TM -> JM
2011-02-25 18:21:43 +13:00
Jeff Walden
e45097ad79
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
Jeff Walden
313285871c
Backed out changeset 4d86e63ff60d, diagnostic patch; back out 3da12edf735e, followup fix; back out bug 631135 completely, unexplained intermittent orange.
...
--HG--
extra : rebase_source : e2e56a78bc0eea0d6e005bc976c74b33d8c22281
2011-02-19 19:50:19 -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
Andreas Gal
a07fb4c669
Remove obsolete JSMarkOp API (bug 638291, r=jorendorff).
2011-03-05 14:50:11 -08:00