Brian Hackett
e5852f8376
[INFER] Don't use the default emptyTypeObject for functions decoded by XDR.
2011-03-04 12:59:48 -08:00
Brian Hackett
f868e29684
[INFER] Miscellaneous fixes to get inference passing jstests.
2011-03-04 07:50:32 -08:00
Brian Hackett
41091b1bb6
[INFER] Fix OOM handling in type inference, convert inference to runtime option, bug 637674.
2011-03-03 14:07:48 -08:00
Brian Hackett
e5020a35b3
[INFER] Condense type information during GC, bug 613221.
2011-03-01 13:10:05 -08:00
Brian Hackett
0a2cdd3c56
Merge TM -> JM
2011-02-25 18:21:43 +13:00
brendan@mozilla.org
649f67b373
Unqualified function invocation doesn't use the global object the property was gotten from as |this| (bug 634590, r=gal).
2011-02-22 22:25:10 -08:00
Chris Leary
369b6ada3c
Backed out changeset 62a979cc89a2 due to risk (bug 614155).
2011-02-16 13:33:08 -08:00
Chris Leary
76e3096daf
Bug 614155: free memory for source cache on GC. (r=lw)
2011-02-16 10:17:49 -08:00
Brendan Eich
205799aa5d
Warning fixes (630865, r=jorendorff).
2011-02-15 12:07:23 -08:00
Jason Orendorff
d064deac4d
Bug 630865 - Resolve interpreted function prototypes more eagerly. r=dvander.
2011-02-14 14:04:07 -06:00
Jason Orendorff
afb7e896ef
Bug 633020 - ArgSetter can return false without reporting an error on trace. r=dmandelin, a=sayrer.
2011-02-14 14:01:58 -06:00
Andreas Gal
dc805566a3
Fix bad assert in CallJSNativeConstructor (bug 633043, r=luke, a=NPOTB).
2011-02-09 18:17:34 -08:00
Jim Blandy
de75b9fa19
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
b5bb63ceba
[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
0424213572
[INFER] Always give scripts empty analysis info, bug 619338.
2010-12-22 15:45:43 -08:00
Brian Hackett
cde265e645
[INFER] Fixes for jstests, bug 620599, part 2.
2010-12-21 18:26:09 -08:00
Brian Hackett
89bb1d08e8
Merge TM -> JM
2010-12-20 09:06:43 -08:00
Brian Hackett
d765093435
[INFER] Unwind getProto() changes outside of JS, fix test failures, bug 619271.
2010-12-19 12:21:15 -08:00
Brian Hackett
58a7afb3e0
[INFER] Fix build break, functions get correct proto in CloneFunctionObject, bug 619271.
2010-12-19 09:28:42 -08:00
Brian Hackett
baf09eaede
[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
Brendan Eich
3705041036
Determine whether to shadow a property based on slotful *or* has JSPropertyOp setter (552432, r=jorendorff).
2010-12-13 18:10:39 -08:00
Brian Hackett
accdca294b
Merge TM -> JM
2010-12-07 17:11:37 -08:00
Nicholas Nethercote
fecf9a1832
Bug 588648 - Don't copy chars when scanning. r=brendan.
2010-12-07 15:22:52 -08:00
Luke Wagner
d8719356c0
Bug 609440, part 4 - make JSString::chars() fallible (r=waldo,dvander,igor,dwitte,njn)
2010-12-06 10:26:58 -08:00
Brian Hackett
002fd1a589
Merge TM -> JM
2010-11-30 09:04:25 -08:00
Brian Hackett
abc31759f4
[INFER] Overhaul handling of prototypes in type inference, bug 557407.
2010-11-24 20:41:52 -05:00
Brian Hackett
ee3f068ff9
Merge TM -> JM
2010-11-18 21:09:24 -08:00
Jeff Walden
88d923a99a
Bug 614338 - Move some call object property methods into the js namespace. r=dmandelin
...
--HG--
extra : rebase_source : 3816a3ae6d775e5866030c8a51cc305f09dda1f2
2010-11-16 15:30:57 -08:00
Brian Hackett
007303ab39
[INFER] Monitoring fixes for non-name accesses, bug 608746.
2010-11-15 18:13:05 -08:00
Brian Hackett
e225da4233
Merge TM -> JM.
2010-11-12 09:02:43 -08:00
David Anderson
7487c14d37
Backed out changeset 8e119f847f97 (build busted)
2010-11-11 11:19:42 -08:00
Igor Bukanov
e32ba97023
bug 610198 - Replacing JS_GetStringBytes usage with JS_EncodeString. r=gal
2010-11-02 15:36:25 +01:00
Brendan Eich
cda8308ccf
Add FIXME: bug 611190 for last commit (which was for bug 550391).
2010-11-10 18:14:35 -08:00
Brendan Eich
a1f16f2371
Lots of MISMATCH_EXITS exits due to protohazardshape on voxel rendering demo (550391, r=mrbkap).
2010-11-10 10:59:02 -08:00
Brian Hackett
696cff5132
[INFER] Javascript type inference, bug 557407.
2010-10-29 08:05:55 -07:00
Chris Leary
8692140272
Bug 607724: Minor scope chain function cleanup. (r=mrbkap)
2010-10-27 16:18:16 -07:00
Bill McCloskey
efc89ce679
Bug 563126 - Rename JS instruction tracing -> logging, and ensure it doesn't convert call objs (r=brendan)
2010-10-26 12:07:26 -07:00
Jeff Walden
ca6294d553
Bug 607148 - Remove unnamed namespaces from SpiderMonkey code. rs=luke
2010-10-25 16:47:11 -07:00
Andreas Gal
257334300b
Backed out changeset 685accd622f0 (bug 606065).
2010-10-24 13:21:33 -07:00
Andreas Gal
61a710e895
Move deflated string cache into compartment (606065, r=jorendorff).
2010-10-24 02:07:42 -07:00
Jason Orendorff
bfaf004fd7
Merge.
2010-10-22 19:11:26 -05:00
Jason Orendorff
596862d852
Remove JSObject::title. Bug 606029, r=igor.
2010-10-22 19:04:22 -05:00
Andreas Gal
a4b0c37cda
Remove obsolete wrappedObject extended class hook (604523, r=mrbkap/vlad/dvander).
2010-10-22 15:40:11 -07:00
Andreas Gal
6e672eda05
Backed out changeset 438afef93fd5 (bug 604523) due to suspected orange.
2010-10-20 23:19:05 -07:00
Andreas Gal
e5f45d98a2
Remove obsolete wrappedObject extended class hook (604523, r=mrbkap/vlad/dvander).
2010-10-20 22:41:35 -07:00
Brian Hackett
f9cf7a5b7d
Flexible length JSObject, bug 584917. r=brendan,igor
2010-10-13 11:49:22 -07:00
Jeff Walden
4626f47ec6
Bug 514570 - 3 - Don't box |this| for strict mode functions. r=jorendorff
2010-10-12 11:50:03 -07:00
Jeff Walden
7f75fc0a25
Bug 514570 - 2 - Push |undefined| rather than |null| when calling functions without a specified |this| value, per ES5. r=jorendorff
2010-10-12 11:50:03 -07:00
Nicholas Nethercote
1f1fbee591
Backed out changeset 0343557b0c7a due to orange.
2010-12-13 18:43:11 -08:00
Nicholas Nethercote
225d4f7e2d
Bug 610070 - Large amount of heap allocation from js::PropertyTable::init. r=brendan.
2010-12-13 16:43:39 -08:00