Commit Graph

292 Commits

Author SHA1 Message Date
David Anderson
b02bdc8019 Merge from mozilla-central.
--HG--
rename : accessible/src/base/nsOuterDocAccessible.cpp => accessible/src/generic/OuterDocAccessible.cpp
rename : accessible/src/base/nsOuterDocAccessible.h => accessible/src/generic/OuterDocAccessible.h
rename : accessible/tests/mochitest/test_nsOuterDocAccessible.html => accessible/tests/mochitest/test_OuterDocAccessible.html
2012-04-06 16:38:53 -07:00
Steve Fink
7c244884e4 Bug 767141 - moar rooting. r=bhackett
Believed to be complete rooting for jsapi.cpp, ctypes/CTypes.cpp, and frontend/BytecodeCompiler.cpp, and lots of rooting for additional things I encountered along the way

--HG--
extra : rebase_source : 638ab985e7d9c96654347364d053bb4a3acf3b36
2012-06-21 14:19:21 -07:00
Brian Hackett
77930876d9 Bail out from on calling functions if an OOM occurs while during initial bytecode analysis, bug 727341. r=luke 2012-04-10 12:24:46 -07:00
Jeff Walden
b491b04386 Bug 750907 - Move the marking declarations out of jsgcmark.h and into a header with minimal dependencies. r=billm
--HG--
rename : js/src/jsgcmark.cpp => js/src/gc/Marking.cpp
rename : js/src/jsgcmark.h => js/src/gc/Marking.h
extra : rebase_source : 3eb96a33102f0b76438dbb79ecb46e817bc1b767
2012-05-01 14:30:18 -07:00
Matt Brubeck
0b4eb8cbc4 Back out 682bf201edde, ef35ba222ac8, and 6a20cf61289d (bug 750907, bug 751003, bug 751377) because of build failure on a CLOSED TREE
--HG--
rename : js/src/gc/Marking.cpp => js/src/jsgcmark.cpp
rename : js/src/gc/Marking.h => js/src/jsgcmark.h
2012-05-03 14:55:52 -07:00
Jeff Walden
3459a138d6 Bug 750907 - Move the marking declarations out of jsgcmark.h and into a header with minimal dependencies. r=billm
--HG--
rename : js/src/jsgcmark.cpp => js/src/gc/Marking.cpp
rename : js/src/jsgcmark.h => js/src/gc/Marking.h
extra : rebase_source : 2829c44da4316ceb6af0f4627158e337dd6ba28a
2012-05-01 14:30:18 -07:00
Nicolas Pierron
4f1b60893a Revert "Monitor interpreted functions and guard on compile info (Bug732847, r=jandem)"
This reverts commit 0bdf11ca417b276c7c68fd767dee8ce54496e508.
2012-03-27 11:39:10 -07:00
Nicolas Pierron
2cece79b8e Monitor interpreted functions and guard on compile info (Bug732847, r=jandem) 2012-03-27 10:18:10 -07:00
David Anderson
102693736e Merge from mozilla-central. 2012-03-22 11:45:01 -07:00
Brian Hackett
f096dea33e Rename RootedVar to Rooted, bug 756823. r=billm 2012-05-24 16:05:18 -07:00
Steve Fink
a4c88d146d Bug 757682 - Add JSProto_DataView to the setFlagsFromKey assert. r=bhackett
--HG--
extra : rebase_source : 9bffcb95273680a5a6c47a4751215d61ebc889fd
2012-05-24 13:25:49 -07:00
David Anderson
2d8a2de603 Merge from mozilla-central. 2012-03-06 14:08:51 -08:00
David Anderson
d6d4c65b18 Merge from mozilla-central.
--HG--
rename : browser/base/content/syncAddDevice.js => browser/base/content/sync/addDevice.js
rename : browser/base/content/syncAddDevice.xul => browser/base/content/sync/addDevice.xul
rename : browser/base/content/syncNotification.xml => browser/base/content/sync/notification.xml
rename : browser/base/content/syncSetup.js => browser/base/content/sync/setup.js
rename : browser/base/content/syncSetup.xul => browser/base/content/sync/setup.xul
2012-03-01 13:45:48 -08:00
Brian Hackett
e066fab385 Specialize big typed arrays with singleton types, bug 762561. r=dvander 2012-06-27 07:10:50 -07:00
Phil Ringnalda
944872a1da Back out e3ec1bc37d8c (bug 762561) for debug make check orange 2012-06-26 19:53:59 -07:00
Brian Hackett
1c99b9723c Specialize big typed arrays with singleton types, bug 762561. r=dvander 2012-06-26 17:47:20 -07:00
Brian Hackett
1b9f03e039 Use singleton types for global object initializers, bug 731398. r=dvander 2012-03-21 07:37:43 -06:00
David Anderson
1abb45b0aa Merge from mozilla-central. 2012-02-21 15:08:22 -08:00
Terrence Cole
191929071f Bug 728343 - Make unbarriered object marking interface indirect ; r=billm
This will allow us to move objects that are not wrapped in a HeapPtr.
2012-02-17 11:46:11 -08:00
Ed Morley
e63b667897 Backout afeafc02c1de, dfae37833c9b & f9f51c726fa7 (bug 729940 parts 1-3) for talos regressions 2012-03-05 15:22:28 +00:00
Justin Lebar
5b3d13a72b Bug 729940 - Part 2: Stop using crappy hash functions in the js engine. r=bhackett 2012-03-04 15:58:06 -05:00
Justin Lebar
2449f55f11 Back out bug 729940 (a108aee:d75775d) due to 32-bit red. 2012-03-04 14:20:34 -05:00
Justin Lebar
609b52cb35 Bug 729940 - Part 2: Stop using crappy hash functions in the js engine. r=bhackett 2012-03-04 13:49:41 -05:00
David Anderson
7659e2e097 Merge from mozilla-central.
--HG--
rename : content/media/nsMediaStream.cpp => content/media/MediaResource.cpp
rename : content/media/nsMediaStream.h => content/media/MediaResource.h
2012-02-15 13:45:39 -08:00
Igor Bukanov
aabce5f94f Bug 737365 - stop using the cx during finalization, part 3.
This part removes the usage of JSContext* during the finalization and
when sweeping the compartments. That required to change quite a few
methods in type inference, jit and debugger implementation to take a
FreeOp rather than JSContext pointer. In turn that also often required
to replace cx->compartment usage with extracting the compartment from
the passed objects or pass the compartment explicitly. On the plus side
it allowed to remove fallible compartment enter code in methods that
could be called during finalization.
2012-03-20 11:22:05 +01:00
Brian Hackett
6cee4cb673 Add more rooters, bug 772303. r=billm 2012-07-10 19:17:29 -06:00
David Anderson
7c40ec1a28 Fix nomethodjit build (bug 723767, r=cdleary).
--HG--
extra : rebase_source : 98b13d09160b3cafac2088b3cec832c847395dbd
2012-02-03 16:08:11 -08:00
David Anderson
054cc10b42 Merge from mozilla-central. 2012-02-03 14:40:50 -08:00
David Anderson
2ba37be32b Merge from mozilla-central. 2012-01-25 15:27:24 -08:00
David Anderson
e21f567479 Merge from mozilla-central. 2012-01-19 14:27:47 -08:00
Brian Hackett
49f87b254c Add most handles and stack rooters needed for exact scanning on shell benchmarks, bug 714647. r=billm 2012-04-12 09:23:51 -07:00
Matt Brubeck
3f73a423cd Back out e4c82a6b298c, 036194408a50, 39acc9f51df8 (bug 714647 and followups) because of test_finalizer.js crashes in Linux64 PGO builds 2012-04-12 22:07:43 -07:00
Brian Hackett
bf3e148c0a Add most handles and stack rooters needed for exact scanning on shell benchmarks, bug 714647. r=billm 2012-04-12 09:23:51 -07:00
Terrence Cole
753ee85563 Bug 721463 - Clean up and minimize marking interfaces; r=billm
Currently, the marking interfaces are a giant pile of duplicated and,
frequently, unused code.  This patch reworks the interface to clean
up jsgcmark.h.
2012-02-14 09:10:23 -08:00
Brian Hackett
0149f21a7d Compile large scripts in chunks, bug 706914. r=dvander 2012-01-18 16:40:18 -08:00
Nicolas Pierron
ca398b82e8 Extract pc & script argument for inlined frames (Bug 713693, r=dvander) 2012-01-12 19:28:47 +01:00
Ms2ger
2ebe58f6e7 Bug 714728 - Remove jsword/jsuword in favour of intptr_t/uintptr_t; r=Waldo 2012-01-11 09:23:05 +01:00
Jason Orendorff
f82689fa60 Bug 745802 - JS OOM Testing: Crash [@ js::HeapId::operator jsid]. r=bhackett.
--HG--
extra : rebase_source : ef4e762c3e63cbcc09247f861c4d7c030b389b10
2012-04-26 15:57:29 -04:00
Luke Wagner
395fb00310 Bug 713311 - give the remaining scope objects typed interfaces (r=waldo)
--HG--
rename : js/src/vm/CallObject-inl.h => js/src/vm/ScopeObject-inl.h
rename : js/src/vm/CallObject.cpp => js/src/vm/ScopeObject.cpp
rename : js/src/vm/CallObject.h => js/src/vm/ScopeObject.h
extra : rebase_source : 0efa6c9ac4ceb10f48fe7ee7b199333da2b54cd9
2012-01-02 15:02:05 -08:00
Brian Hackett
95d4e2f5d9 Backed out changeset 4282a285d381 (bug 707049 backout). 2011-12-31 07:32:04 -07:00
Ms2ger
a0619211ee Backout 0d642e4e08cf (bug 707049); requested by evilpie. 2011-12-31 15:13:01 +01:00
Brian Hackett
157daeeaa6 Add dynamic analysis for identifying moving GC hazards, autorooter classes, some VM rooters, bug 707049. r=billm 2011-12-30 20:12:45 -07:00
Terrence Cole
b978cd9469 Bug 727281 - Make JSObject* for Root and Barriered marking indirect; r=billm
This will allow us to move HeapPtr and rooted objects when tracing.

--HG--
extra : rebase_source : 6752792c1610899350eee1d5151136090de94f42
2012-02-14 15:19:55 -08:00
Bobby Holley ext:(%2C%20Jason%20Orendorff%20%3Cjorendorff%40mozilla.com%3E)
2e56dac55e Do not innerize an object assigned to __proto__ or used as the target of a with statement. Bug 719841, r=mrbkap. 2012-01-27 14:16:27 -06:00
Brian Hackett
3a886a65cd Allow purging analysis-temporary while retaining jitcode, bug 778724. r=luke 2012-08-22 12:28:34 -06:00
Ed Morley
25981862a2 Backout d62929fa4325 for talos crashes 2012-08-22 14:53:11 +01:00
Brian Hackett
0bfe9633b5 Allow purging analysis-temporary while retaining jitcode, bug 778724. r=luke 2012-08-22 06:27:18 -06:00
Bill McCloskey
ad44974dec Bug 709885 - Simplify read barriers for shapes and types (r=bhackett) 2011-12-28 23:56:55 -08:00
Phil Ringnalda
24835daff9 Back out 88145df4191a, 42408569a696, and 2108d51be2e7 (Bug 719841, Bug 678086, and Bug 695922) for tp crashes on a CLOSED TREE 2012-01-27 14:22:10 -08:00
Bobby Holley ext:(%2C%20Jason%20Orendorff%20%3Cjorendorff%40mozilla.com%3E)
7dfa5bde57 Do not innerize an object assigned to __proto__ or used as the target of a with statement. Bug 719841, r=mrbkap. 2012-01-27 14:16:27 -06:00
Jan de Mooij
15262f5688 Move GETELEM/SETELEM operations to jsinterpinlines (bug 718683, r=pierron) 2012-01-24 16:20:34 +01:00
Geoff Lankow
2e3844c47c Backed out changeset febc999231e4 (bug 719841) 2012-01-21 11:26:37 +13:00
Bobby Holley
79399fd824 Bug 719841 - Assert that inner objects don't appear in prototype chains. r=jorendorff 2012-01-20 13:32:44 -08:00
Jan de Mooij
7fce0c694c Bug 719135 - Move some arithmetic operations to jsinterpinlines. r=dvander 2012-01-20 13:01:44 +01:00
Brian Hackett
012002f0d2 Don't throw away JIT code for compartments in web pages displaying animations, bug 750834. r=billm 2012-05-09 14:14:10 -07:00
Jan de Mooij
9f209fa47a Bug 730836 - Refactor SetObjectElementOperation to avoid a GetPcScript call. r=pierron
--HG--
extra : rebase_source : 889b08873e1cab824f62c09c412e6b8d85a98b28
2012-02-28 12:06:42 +01:00
Phil Ringnalda
565328e834 Back out 61d58d97747a (bug 721463) on expanded suspicion of GC crashes 2012-02-09 21:02:19 -08:00
Terrence Cole
1c23d99cd5 Bug 721463 - Clean up and minimize marking interfaces; r=billm
Currently, the marking interfaces are a giant pile of duplicated and,
frequently, unused code. This patch reworks the interface to clean
up jsgcmark.h.

--HG--
extra : rebase_source : 34797ffbdc8940d3de312b650163910ad8b1b728
2012-01-24 19:34:44 -08:00
Brian Hackett
b80334038f Remove Root<T>, bug 756823. r=billm 2012-05-24 08:52:21 -07:00
Jeff Walden
476c7d19c5 Bug 708735 - Use <stdint.h> types in JSAPI and throughout SpiderMonkey. Continue to provide the {u,}int{8,16,32,64} and JS{Uint,Int}{8,16,32,64} integer types through a single header, however, for a simpler backout strategy -- and also to ease the transition for embedders. r=timeless on switching the jsd API to use the <stdint.h> types, r=luke, r=dmandelin 2011-12-08 22:54:10 -05:00
Brian Hackett
31a7d5b91e Start fixing merge trainwreck, no bug. 2011-11-14 13:03:50 -08:00
Brian Hackett
cc15146e95 Merge MC -> JM 2011-11-14 09:13:33 -08:00
Brian Hackett
08c7936173 Address bug 693754 review comments, r=luke. 2011-11-08 13:42:27 -08:00
Brian Hackett
6697a98273 Merge MC -> JM
--HG--
rename : js/src/frontend/BytecodeGenerator.cpp => js/src/frontend/BytecodeEmitter.cpp
rename : js/src/frontend/BytecodeGenerator.h => js/src/frontend/BytecodeEmitter.h
rename : js/src/frontend/Parser.cpp => js/src/frontend/SemanticAnalysis.cpp
2011-11-02 09:23:25 -07:00
Brian Hackett
d740a1c97c Merge MC -> JM 2011-10-27 14:16:02 -07:00
Brian Hackett
41e18127a7 Add JSScript::function, bug 693754. 2011-10-21 14:31:01 -07:00
Brian Hackett
b37cde22be Try to coerce doubles to integers on tripped type barriers, bug 678687. r=dvander 2011-10-26 18:46:06 -07:00
Brian Hackett
d64dce75db Merge MC -> JM
--HG--
rename : js/src/jsparse.cpp => js/src/frontend/BytecodeCompiler.cpp
rename : js/src/jsparse.h => js/src/frontend/BytecodeCompiler.h
rename : js/src/jsemit.cpp => js/src/frontend/BytecodeGenerator.cpp
rename : js/src/jsemit.h => js/src/frontend/BytecodeGenerator.h
rename : js/src/jsparse.cpp => js/src/frontend/FoldConstants.cpp
rename : js/src/jsparse.cpp => js/src/frontend/ParseNode.cpp
rename : js/src/jsparse.h => js/src/frontend/ParseNode.h
rename : js/src/jsparse.cpp => js/src/frontend/Parser.cpp
rename : js/src/jsparse.h => js/src/frontend/Parser.h
rename : js/src/jsregexpinlines.h => js/src/vm/RegExpObject-inl.h
rename : js/src/jsregexp.cpp => js/src/vm/RegExpObject.cpp
rename : js/src/jsregexp.h => js/src/vm/RegExpObject.h
rename : js/src/xpconnect/src/xpcjsruntime.cpp => js/xpconnect/src/XPCJSRuntime.cpp
rename : js/src/xpconnect/src/xpcquickstubs.cpp => js/xpconnect/src/XPCQuickStubs.cpp
rename : js/src/xpconnect/src/nsXPConnect.cpp => js/xpconnect/src/nsXPConnect.cpp
2011-10-19 14:26:08 -07:00
Brian Hackett
6422769ff8 Add call scope to JSFunction, bug 693754. 2011-10-13 12:10:52 -07:00
Brian Hackett
9c64bfccd6 Remove JSObject::getFunctionPrivate, add call scope to JSFunction, bug 693754. 2011-10-11 15:28:54 -07:00
Brian Hackett
a61bdb81a1 Move JSObject::newType to a hashtable, bug 684410. 2011-10-07 20:09:09 -07:00
Brian Hackett
2762d10152 Add Array.concat stub for concatenating known dense arrays, bug 692960. r=dvander 2011-10-18 11:24:28 -07:00
Bill McCloskey
5ef98ce429 Bug 641027 - Add snapshot-at-the-beginning write barriers for incremental GC (r=luke,bhackett) 2011-10-25 16:07:42 -07:00
Ed Morley
19b43ef359 Backout changeset 3b5b10d76887 (bug 678687) for V8/Dromaeo regressions on multiple platforms; a=mak 2011-10-27 16:11:26 +01:00
Brian Hackett
84f4720fa0 Bail out from compilation if an OOM was triggered during type inference, bug 693961. r=dvander 2011-10-17 14:18:23 -07:00
Chris Leary
14bc4cf54d Bug 684039: rewrite JS LIFO allocator, avoids thrashing. (r=luke)
--HG--
rename : js/src/jsarena.h => js/src/ds/LifoAlloc.h
extra : rebase_source : 098bf9561114f82363ebd0862213acf952709257
2011-09-22 13:22:30 -07:00
Brian Hackett
a21793c57d Merge MC->JM 2011-09-06 00:45:22 -07:00
Brian Hackett
9128f54230 Merge MC -> JM 2011-09-01 13:41:12 -07:00
Brian Hackett
3e0ad0ceba [INFER] Improve performance for non-reentrant closures, bug 663138. 2011-09-01 12:20:30 -07:00
Brian Hackett
6e0458f6d1 [INFER] Watch for recompilation triggered by while compiling a call in an inlined frame, bug 680951. 2011-08-26 08:55:00 -07:00
Brian Hackett
96aa830103 [INFER] Leave type sets initially empty for undefined properties of objects with singleton type, bug 680951. 2011-08-24 21:08:24 -07:00
Igor Bukanov
cc337ac79c bug 674251 - making JSScript a GC-thing. r=jorendorff,bhackett1024 2011-08-09 10:51:59 +02:00
Igor Bukanov
53fcc3230a bug 684010 - remove JSScrit::isAboutToBeFinalized. r=bhackett1024
--HG--
extra : rebase_source : 7281e691bf5cbe62772e7671baa59d514829ff5f
2011-09-01 21:47:07 +02:00
Brian Hackett
eae037f0a7 [INFER] Allow analysis/compilation of top level <script>, bug 662704. 2011-08-18 08:54:36 -07:00
Brian Hackett
f3b5be7a42 [INFER] Allocate typeset data and properties from arenas, occasionally purge observed types in compartments, bug 679329. 2011-08-17 06:48:14 -07:00
Brian Hackett
08395b54ce [INFER] Trigger recompilation when changing or removing newScript information, bug 677006. 2011-08-09 09:52:55 -07:00
Brian Hackett
bee5deec97 [INFER] Improve precision when SETELEM is used on singleton objects, bug 675167. 2011-08-01 22:24:29 -07:00
Brian Hackett
e5364e0c2d [INFER] Don't mark type sets and type objects as unknown when in an inconsistent object/property hash state, bug 674511. Allow compilation logging for specific scripts. 2011-07-31 08:40:46 -07:00
Brian Hackett
beb3e0531e [INFER] Reduce inference-related script overhead, bug 674609. 2011-07-28 09:16:53 -07:00
Brian Hackett
099c11fe90 [INFER] Always maintain flags on non-lazy type flags, bug 673715. 2011-07-25 07:13:02 -07:00
Brian Hackett
baf48d73e8 [INFER] Fix build breaks, orange. 2011-07-21 17:17:25 -07:00
Brian Hackett
6cedc75bac [INFER] Make TypeObject a GC thing, remove lazily created type objects on GC, bug 669969. 2011-07-21 07:28:01 -07:00
Brian Hackett
c091101935 [INFER] Lazily create type objects for singleton JS objects, bug 670185. 2011-07-15 10:14:07 -07:00
Brian Hackett
eb4a0fc5ea Allow JaegerShot to only partially execute frames, bug 665815. r=luke 2011-07-07 21:02:57 -07:00
Shu-yu Guo
359e560eb5 [INFER] Colorize spew for constraints and typesets, bug 664583. r=bhackett 2011-06-15 19:22:27 -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
6dea4378d4 [INFER] Always use type barriers at NAME opcodes, tweak USES_BEFORE_COMPILE and CONTRIBUTION_LIMIT, bug 662383. 2011-06-11 09:46:48 -07:00
Brian Hackett
fa41f89faf [INFER] Read barriers for call results, bug 663381. 2011-06-10 19:03:57 -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
82abccdd14 [INFER] Move inference methods out of JSContext, bug 657412. 2011-06-02 10:40:27 -07:00
Brian Hackett
621ab68f21 [INFER] Optimize arguments accesses, bug 658638. 2011-05-26 12:28:19 -07:00
Brian Hackett
1e358b51f6 Merge TM -> JM 2011-05-22 08:59:06 -07:00
Brian Hackett
1202ff8417 [INFER] Don't rollback properties when clearing new scripts for objects which have finished initialization, bug 658777. 2011-05-21 07:44:54 -07:00
Brian Hackett
f1b91c8773 [INFER] Analysis and compiler improvements for polymorphic call sites, bug 653962. 2011-05-20 19:33:06 -07:00
Brian Hackett
b87d5cbe5d [INFER] Recompile inline parents of scripts when adding type barriers at new sites, bug 658211. 2011-05-19 13:56:11 -07:00
Brian Hackett
79674e33bc [INFER] Audit uses of PC in analysis and inference for UntrapOpcode, bug 657975, bug 657979, bug 657984. 2011-05-19 10:09:17 -07:00
Brian Hackett
61c6f0cd96 Read barriers for property accesses, bug 656920. 2011-05-17 20:29:41 -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
9074d3578c [INFER] Match js_StringIsIndex in termination condition for MakeTypeId, bug 657247. 2011-05-15 21:27:12 -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
Brian Hackett
f4e191294e [INFER] Improved robustness and tracking of 'new' object properties across scripts, bug 653962. 2011-05-12 20:07:23 -07:00
Brian Hackett
543a5fc8ef [INFER] Don't analyze types in compileAndGo scripts with a cleared global, bug 619433. 2011-05-12 17:59:28 -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
3f7deb9632 [INFER] Need to call ensureVarTypes before slotTypes, bug 653395. 2011-05-09 10:27:18 -07:00
Brian Hackett
c280d034f7 Merge. 2011-05-09 07:28:32 -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
a47edd60c2 [INFER] Allow call inlining and LICM to work together, bug 653962. 2011-05-05 13:59:29 -07:00
Paul Biggar
b5c783f971 [INFER] Remove calls to js_free, js_calloc, etc. Also stop checking for this until closer to merge time. 2011-05-04 04:49:14 -07:00
Brian Hackett
838352f9db Merge TM -> JM 2011-04-28 13:02:47 -07:00
Brian Hackett
43c276be4a [INFER] Bytecode SSA analysis, bug 650715. 2011-04-22 07:59:45 -07:00
Brian Hackett
68b35100e1 Merge TM -> JM 2011-04-19 08:23:41 -07:00
Brian Hackett
eaf164a1c9 [INFER] Retest hoisted bounds checks after stub calls, bug 649693. 2011-04-14 21:59:32 -07:00
Brian Hackett
21fd2d8254 [INFER] Direct instance property accesses, bug 649376. 2011-04-12 20:39:16 -07:00
Brian Hackett
2c80c88ba3 [INFER] Direct global name accesses, bug 648994. 2011-04-11 20:10:46 -07:00
Brian Hackett
52950bca44 [INFER] Loop invariant code motion for array slot pointers, bug 618692. 2011-04-07 16:12:37 -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
Brian Hackett
a1f196a052 [INFER] More fixes for stock JM behavior, bug 647048. 2011-04-01 17:26:34 -07:00
Brian Hackett
0efc0215e7 [INFER] Track currently compiled script on the TypeCompartment, 646587. 2011-03-30 14:10:16 -07:00
Brian Hackett
74bba0be53 [INFER] Inline scripted calls, bug 639099. 2011-03-26 19:07:13 -07:00
Brian Hackett
c834eae239 [INFER] Don't follow scripted caller across compartments, bug 643670. 2011-03-22 15:29:41 -07:00
Jan de Mooij
c633bccba3 [INFER] Inline some native functions, bug 621961. r=bhackett 2011-03-21 22:55:27 -07:00
Brian Hackett
d6a84ff015 [INFER] Ensure that TypeObject->unknownProperties implies hasSpecialEquality, bug 619433. 2011-03-20 11:54:33 -07:00
Brian Hackett
f9a4f63af8 [INFER] Fast path for object equality, track equality hooks in type objects, bug 619592. 2011-03-19 16:53:07 -07:00
Brian Hackett
f5cc631abf [INFER] Infer arithmetic on objects as producing ints, bug 642412. 2011-03-17 21:34:36 -07:00
Brian Hackett
97e8452de3 [INFER] Fix corruption-inducing typo, bug 642159. 2011-03-17 18:43:09 -07:00
Brian Hackett
be6137ab0f [INFER] Don't infer array-ness of types from prototype JSObject, bug 642248. 2011-03-17 11:43:46 -07:00
Brian Hackett
bbc5f75d52 [INFER] Use different shapes for functions with different scripts/types, share types better for cloned functions, bug 641525. 2011-03-17 09:42:56 -07:00
Brian Hackett
d10d0da404 [INFER] Track multiple types when monitoring SETPROP/SETNAME and calls, bug 641714. 2011-03-15 23:50:44 -07:00
Brian Hackett
57802e99bd [INFER] Add MIC for type checking this/arguments at JITScript invokeEntry, bug 641714. 2011-03-15 18:22:23 -07:00
Brian Hackett
f1d2dcfc3d [INFER] Make inference spew digestible by scripts, bug 641943. 2011-03-15 13:42:24 -07:00
Brian Hackett
0f8152b6ef [INFER] Use new type objects when the result of 'new' is assigned to a .prototype, bug 641714. 2011-03-15 00:17:07 -07:00
Brian Hackett
bcdddfd208 [INFER] Only add result for markTypeCallerUnexpected when the caller is at a callsite, bug 641229. 2011-03-13 21:59:03 -07:00
Brian Hackett
ee5b69e7a2 [INFER] Use ICs on monitored calls, reenable APPLY optimizations, bug 621942. 2011-03-12 21:59:46 -08:00
Brian Hackett
300a849c3e [INFER] Use PICs on monitored SETNAME and SETPROP, bug 621937. 2011-03-11 16:29:38 -08:00
Brian Hackett
5d55f075a3 [INFER] Compute types for singleton/JSON arrays and objects, bug 639263. 2011-03-10 16:17:39 -08:00
Brian Hackett
a3042809bc [INFER] Overhaul inference handling of new object computation, bug 619433. 2011-03-10 12:01:11 -08:00
Brian Hackett
796650b7b7 [INFER] Introduce cutoff for total contribution of type objects to type sets, bug 619433. 2011-03-09 11:04:36 -08:00