Commit Graph

547 Commits

Author SHA1 Message Date
Brian Hackett
dee99963bb Merge TM -> JM 2011-07-01 16:24:32 -07:00
Brian Hackett
9f8045748c [INFER] Cleanup type info tracking object classes, track which type objects are definitely typed arrays, bug 663485. 2011-06-15 11:26:12 -07:00
Brian Hackett
fa41f89faf [INFER] Read barriers for call results, bug 663381. 2011-06-10 19:03:57 -07:00
Brian Hackett
b716dfa3de [INFER] Make sure to get the topmost scripted frame's pc in ContextStack::currentScript, bug 662562. 2011-06-07 17:44:07 -07:00
Brian Hackett
28d4850580 [INFER] Watch for singleton function objects in js_AllocFlatClosure, bug 662338. 2011-06-07 17:21:14 -07:00
Brian Hackett
1186d01428 Merge TM -> JM 2011-06-06 09:48:04 -07:00
Brian Hackett
b0ae81df4a [INFER] Apply arguments and script review comments, bug 657412. 2011-06-06 08:32:41 -07:00
Brian Hackett
de9c3c81f6 [INFER] Apply stack review comments, bug 657412. 2011-06-05 22:39:45 -07:00
Brian Hackett
9ee5994b69 [INFER] Apply object review changes, bug 657412. 2011-06-03 20:48:16 -07:00
Brian Hackett
5c5438cc38 Merge TM -> JM 2011-06-02 12:59:28 -07:00
Brian Hackett
82abccdd14 [INFER] Move inference methods out of JSContext, bug 657412. 2011-06-02 10:40:27 -07:00
Alon Zakai
2f4274045c Bug 644241, part 1 - Remove script stack quota. r=igor 2011-06-03 17:54:26 -07:00
Brian Hackett
621ab68f21 [INFER] Optimize arguments accesses, bug 658638. 2011-05-26 12:28:19 -07:00
Brian Hackett
7963fd4feb [INFER] Always monitor argument types at FUNCALL/FUNAPPLY, always check arguments at script entry in DEBUG, bug 659439. 2011-05-24 14:35:19 -07:00
Brian Hackett
1e358b51f6 Merge TM -> JM 2011-05-22 08:59:06 -07:00
Bill McCloskey
6a8823ab66 Bug 658055 - Always use getter to access fun->script() (r=dmandelin) 2011-05-20 11:27:27 -07:00
Bill McCloskey
b902b98248 Bug 650978 - Add gczeal setting to GC on every allocation (r=gwagner) 2011-06-01 17:48:52 -07:00
Brian Hackett
14097cb845 [INFER] Remove cx->newTypeObject, bug 657412. 2011-05-19 09:15:12 -07:00
Brian Hackett
4cb0c5c5ef [INFER] Cleanup for review, bug 657412. 2011-05-16 22:59:40 -07:00
Brian Hackett
98763bc2cb [INFER] Move addTypeProperty barriers under obj->setProperty, obj->defineProperty, bug 619693. 2011-05-16 16:15:37 -07:00
Brian Hackett
afdce01248 Merge TM -> JM 2011-05-15 11:32:09 -07:00
Brian Hackett
2d27a22974 [INFER] Allow read barriers at property accesses and call sites, bug 656920. 2011-05-14 05:45:13 -07:00
Chris Leary
4d1fba5db8 Merge mozilla-central and tracemonkey. 2011-05-13 15:06:53 -07:00
Brian Hackett
55015fcf39 Merge TM -> JM 2011-05-11 20:37:23 -07:00
Brian Hackett
82629392f1 [INFER] Inlined natives for Array.{push,pop}, object flag cleanup, bug 653962. 2011-05-10 23:33:30 -07:00
Brian Hackett
c930c3e982 Merge TM -> JM
--HG--
rename : js/src/GlobalObject.cpp => js/src/vm/GlobalObject.cpp
2011-05-09 09:49:48 -07:00
Brian Hackett
417f1e64b9 [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
838352f9db Merge TM -> JM 2011-04-28 13:02:47 -07:00
Jeff Walden
5d29251946 Bug 652746 - Implement js::ArgumentsObject, js::NormalArgumentsObject, and js::StrictArgumentsObject. r=njn
--HG--
extra : rebase_source : 84258ffa658ba09928ab9b86f8017fa6683f3146
2011-04-25 22:40:00 -04:00
Jeff Walden
a0caea8ac7 Bug 655921 - Check for Function being forbidden before creating the function private which would ordinarily be returned. Also create that function private with an explicitly specified parent, that being the Function function's global object. r=mrbkap
--HG--
extra : rebase_source : d0638bf75648e5dc0f9bb0c1fcf61559d1422771
2011-05-10 14:56:49 -07:00
Jeff Walden
90cdb85452 Bug 656365 - Creating an arguments object shouldn't require a parent, only a callee. r=luke
--HG--
extra : rebase_source : 0f4b0bc449bd7e0a2bd4e929c10e775d79e788ea
2011-05-11 14:04:25 -07:00
Brian Hackett
fe5aeaab19 Merge TM -> JM 2011-04-20 11:37:46 -07:00
Chris Jones
6fd4cbff2d Bug 642381, part 2: Rename LazilyConstructed to Maybe. r=luke 2011-04-28 17:48:51 -05:00
Brian Hackett
68b35100e1 Merge TM -> JM 2011-04-19 08:23:41 -07:00
Bill McCloskey
3c0cd83aa3 Bug 616666 - Use explicit stack for GC marking (r=gal) 2011-04-15 16:56:08 -07:00
Brian Hackett
fc65b95530 Merge TM -> JM 2011-04-13 06:45:06 -07:00
Brian Hackett
83e8f1e4ab Merge TM -> JM 2011-04-12 07:04:45 -07:00
Brian Hackett
3756228559 [INFER] Use both inline and dynamic slots for objects other than dense arrays, bug 648321. 2011-04-08 19:51:40 -07:00
Brian Hackett
012e3b1119 Merge TM -> JM 2011-04-08 19:27:14 -07:00
Dave Herman
829e7dc189 added missing JS_HAS_GENERATORS #if/#endif (r=gal) 2011-04-08 13:46:19 -07:00
Dave Herman
98fe02ea81 Function.isGenerator (bug 648355, r=brendan) 2011-04-08 13:31:14 -07:00
Brian Hackett
4226ea1e6e [INFER] Array bounds check hoisting, cleanup, bug 618690. 2011-04-05 18:12:03 -07:00
Brian Hackett
8b7888dd66 Merge TM -> JM 2011-04-01 19:57:28 -07:00
David Anderson
61cc68f032 Fix clang warnings (bug 647280, r=luke). 2011-04-14 13:45:06 -07:00
Brian Hackett
dc5232e83a [INFER] Inline callees at polymorphic call sites, bug 639099. 2011-03-27 18:25:05 -07:00
Brian Hackett
02df7e9a1d [INFER] Wait for code to get hot before inlining calls, bug 639099. 2011-03-27 07:48:03 -07:00
Brian Hackett
7074cd94d6 [INFER] Don't clone functions with singleton types. 2011-03-26 20:18:58 -07:00
Brian Hackett
74bba0be53 [INFER] Inline scripted calls, bug 639099. 2011-03-26 19:07:13 -07:00
Paul Biggar
43b850291d 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
Jeff Walden
1bfc2c45f1 Bug 667646 - fun.caller should be null, not undefined, when fun is being called by global code. r=evilpie 2011-06-27 15:57:50 -07:00