Commit Graph

62782 Commits

Author SHA1 Message Date
Brian Hackett
5e8a7bd73b [INFER] Fix copies too in fixDoubleTypes, bug 639567. 2011-03-07 16:47:15 -08:00
Brian Hackett
92a273d256 [INFER] Remove hack for telling apart fastcalls and native calls when recompiling, bug 619433. 2011-03-07 16:26:52 -08:00
Brian Hackett
d1ce88fb19 [INFER] Make new type objects whenever associating functions with scripts, bug 619433. 2011-03-07 08:25:27 -08:00
Jan de Mooij
b03d0fdbfd [INFER] Allocate temp register for JSOP_DIV integer check, bug 639459, r=bhackett 2011-03-07 06:58:07 -08:00
Brian Hackett
666b5642e8 [INFER] Turn inference on by default, fold JS_DefinePropertyWithType into JS_DefineProperty, bug 619693. 2011-03-06 22:57:13 -08:00
Brian Hackett
4b8152fc78 [INFER] Fix break in opt builds. 2011-03-06 20:21:31 -08:00
Brian Hackett
f73ea4fa48 [INFER] Compile x === x on known doubles, bug 619433. 2011-03-06 20:10:24 -08:00
Brian Hackett
6f2c05af08 [INFER] Stronger type-correctness assertions when setting or getting properties, bug 619693. 2011-03-06 15:35:09 -08:00
Brian Hackett
964d8f04f6 [INFER] Fix use-after-free error while sweeping type objects, bug 639311. 2011-03-06 08:15:44 -08:00
Brian Hackett
040e1d7b11 [INFER] Compute fp->pc() for frames at the end of previous segments, bug 621526. 2011-03-05 22:31:00 -08:00
Brian Hackett
37ffca03a9 [INFER] Don't collect type objects with unknown properties for mutable __proto__, bug 639126. 2011-03-05 21:23:02 -08:00
Brian Hackett
eef5f2fae3 [INFER] Recheck script->types before forcing analysis with -a in typeSetThis, bug 639128. 2011-03-05 17:34:09 -08:00
Brian Hackett
ca1935e670 [INFER] Remove isTypeCallerMonitored and rejoin from native calls triggering recompilation, bug 638977. 2011-03-05 17:13:40 -08:00
Jan de Mooij
a5cfb6f527 [INFER] Use stderr instead of stdout for inference failures, bug 639176. r=bhackett 2011-03-05 09:10:53 -08:00
Brian Hackett
6581dd4ddb [INFER] Fix uses of vanilla new/delete. 2011-03-04 19:44:08 -08:00
Brian Hackett
5c1f2d510f [INFER] Mark properties of XML.prototype as unknown, bug 638982. 2011-03-04 18:04:46 -08:00
Brian Hackett
30270553a5 [INFER] Handle repeated calls to js_InitFunctionAndObjectClasses, bug 638981. 2011-03-04 17:45:11 -08:00
Brian Hackett
95deeefb27 [INFER] Fix behavior of analyze::Script::localEscapes to match FrameState::isClosedVar. 2011-03-04 17:32:38 -08:00
Brian Hackett
eb12efe47d [INFER] Recompile target script in InvokeSession as necessary, bug 621292. 2011-03-04 15:56:37 -08:00
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
acc0fa2903 [INFER] Restructure tracer disabling to avoid crash in contexts with NULL compartment. 2011-03-04 11:57:53 -08:00
Brian Hackett
13b4f981c6 [INFER] Always analyze executed scripts if -a is used, bug 621654. 2011-03-04 11:28:52 -08:00
Brian Hackett
f868e29684 [INFER] Miscellaneous fixes to get inference passing jstests. 2011-03-04 07:50:32 -08:00
Brian Hackett
801f764f4c [INFER] Fixes from botched merge. 2011-03-03 21:24:13 -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
70aee16fea [INFER] Restore code looking up lazily loaded global properties during inference, bug 613221. 2011-03-02 10:52:10 -08:00
Brian Hackett
e5020a35b3 [INFER] Condense type information during GC, bug 613221. 2011-03-01 13:10:05 -08:00
Paul Biggar
4c6e65a3b2 [INFER] Fix build (fix AnyRegister API change and remove duplicate function). 2011-02-25 12:43:49 -08:00
Brian Hackett
0a2cdd3c56 Merge TM -> JM 2011-02-25 18:21:43 +13:00
mrbkap@gmail.com
f853de3fb7 Fix bug 636097 (r=gal, a=blocker). 2011-02-23 22:13:17 -08:00
Gregor Wagner
f20e96eab6 Bug 636365 - Add separate GCTIMER interval for sweeping Shapes. NPOTB, (r=gal) 2011-02-23 19:58:19 -08:00
kosver
9edd61c77e Remove bogus assertion at jsdbgapi.cpp:781. Bug 635195, r=jorendorff, a=dmandelin.
--HG--
extra : rebase_source : 51b817d95bd254353f136e9cc88d35831f5f5db1
2011-02-23 14:17:00 -06:00
Paul Biggar
8856470313 [INFER] Support multiple filter argument in jsapi-tests.
I'm trying to merge tracemonkey without regressing anything; however some early jsapi-tests fail. This allows me to ignore tests which don't already work.
2011-02-22 17:09:08 -08:00
Paul Biggar
78cc4facc5 [INFER] Fix invalid assertion about JSScript size.
This was triggered by changing the size of JSScript by adding members. The fix is pulled from tracemonkey, where the same thing happened.
2011-02-22 11:07:36 -08:00
Paul Biggar
83154981b3 [INFER] Fix build on 64-bit Mac. 2011-02-22 11:07:25 -08:00
Jason Orendorff
418cca97a6 Remove unused global variable. rs=brendan, npotb.
--HG--
extra : rebase_source : 1f04ea043d3e1ff7abfcad517c0f9ff597b19ea4
2011-02-21 13:10:37 -06:00
Bill McCloskey
227c8948dc Bug 606960 - Purge property cache even for eval scripts (r=brendan,a=beltzner) 2011-02-23 10:23:59 -08:00
bent.mozilla@gmail.com
4a59c6cf4e Only run CC after the GC has run at least once (bug 626768, r=gal). 2011-02-23 00:08:36 -08: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
Bill McCloskey
ca2b3326cd Bug 635594 - Abort recording if closeLoop() fails (r=lw,a=dvander) 2011-02-22 17:51:07 -08:00
Bill McCloskey
5ecac5c965 Bug 635873 - Fix shape marking during per-compartment GCs (r=gal,a=dmandelin) 2011-02-22 12:45:18 -08:00
Steve Fink
530d5125c2 Bug 635298 - Check return value of JS_ValueToString() (r=luke, a=gal)
--HG--
extra : rebase_source : 578154e99a3192c7c6610f62b181bf222373b834
2011-02-18 14:27:00 -08:00
Jason Orendorff
e44513b843 Bug 633890 - Assertion failure: prop == (JSProperty*) shape. r=brendan, a=jst.
--HG--
extra : rebase_source : 8b5f7ad67b3119c56700f3a2d50f84d320fbda11
2011-02-18 10:57:42 -06:00
Jason Orendorff
d516b40847 Add resolver built-in function to the JS shell. This is for testing. r=brendan in bug 458271, a=npotb.
--HG--
extra : rebase_source : 585c1fd53672763341a3f476c46c0704c3e1bf12
2011-02-18 10:57:33 -06:00
Jason Orendorff
23844e2a2c Silence MSVC warnings. no_r=me.
--HG--
extra : rebase_source : edff65eb68b63b90603d552855023a63f2073626
2011-02-18 10:57:28 -06:00
Jeff Walden
c5252060f7 Back out af1e10bea0f4 from a CLOSED TREE for being orangetastic on one platform. 2011-02-20 21:40:06 -08:00
Jeff Walden
0a579d9b1c Back out a8574322a3ba from a CLOSED TREE, for its predecessor is orangetastic on one platform. 2011-02-20 21:38:29 -08:00
Jeff Walden
8eea1185a2 Improve E4X syntax error reporting. r=nnethercote, a=shaver. (relanding in a CLOSED TREE) 2011-02-20 15:07:25 -08:00
Brendan Eich
f3f1c7fa65 Fix unqualified function invocation etc., part deux (635582, r=gal). (relanding in a CLOSED TREE) 2011-02-19 23:13:56 -08:00
Andreas Gal
9a7cc712a8 When idle the GC holds on to unused chunks indefinitely (bug 631733, r=brendan, a=blocker). (relanding in a CLOSED TREE) 2011-02-19 22:59:49 -08:00