Commit Graph

63704 Commits

Author SHA1 Message Date
Brian Hackett
48bf0fa617 [INFER] Remove bogus assert, bug 642758. 2011-03-19 09:25:15 -07:00
Brian Hackett
70b6822b2f [INFER] Only patch ints->doubles in existing frames for slots the recompiler thinks are doubles, bug 642412. 2011-03-19 09:11:56 -07:00
Brian Hackett
260957aae4 [INFER] Monitor the possible values pushed by each JSOP_NAME/CALLNAME, bug 642412. 2011-03-19 08:20:46 -07:00
Brian Hackett
3ac25e55a7 [INFER] OOL path for truncating doubles slightly outside the int32 range, bug 643037. 2011-03-18 16:42:00 -07:00
Brian Hackett
d88b1fda69 [INFER] Speculate that all ELEM accesses are on integers, use monitoring for strings, bug 642412. 2011-03-18 10:30:21 -07:00
Brian Hackett
707a3eae96 [INFER] Improve type handler precision for Array.{slic,pop,shift}, bug 642412. 2011-03-18 08:17:22 -07:00
Brian Hackett
537b627fc2 [INFER] Use the 'this' array type as the result in Array.concat, bug 642412. 2011-03-18 07:56:50 -07:00
Brian Hackett
7241be7304 [INFER] Monitor calls to non-functions dynamically, bug 642412. 2011-03-17 23:52:10 -07:00
Jan de Mooij
b9ae9ee15b [INFER] Optimize JSOP_NEG on known integers, bug 640293. r=bhackett 2011-03-17 21:40:40 -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
02c52e04ab [INFER] Don't set script->isCachedEval until it is on the compartment's scriptsToGC, bug 642422. 2011-03-17 12:22:57 -07:00
Brian Hackett
665681fe59 [INFER] Add recompilation rejoin points for GETELEM/CALLELEM, bug 642405. 2011-03-17 12:07:48 -07:00
Brian Hackett
a8df70f4be [INFER] Avoid unnecessary cast, bug 642319. 2011-03-17 11:57:32 -07:00
Brian Hackett
e28643fdf7 [INFER] Fix bogus assert when restoring analysis types, bug 642254. 2011-03-17 11:54:06 -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
40f76095d8 [INFER] Don't bootstrap the __proto__ of the global or Function.prototype if their __proto__ has mutated, bug 642206. 2011-03-17 10:48:02 -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
ffb4c8d567 [INFER] Remove cruft for handling overflowing INCNAME/etc. ops, bug 642164. 2011-03-16 22:25:32 -07:00
Brian Hackett
6d84d0e761 [INFER] Add recompilation rejoin points for SETELEM, bug 641535. 2011-03-16 22:08:14 -07:00
Brian Hackett
32ed3e9e97 [INFER] Mark unexpected undefined result for JSON.stringify, bug 642161. 2011-03-16 19:26:49 -07:00
Brian Hackett
0fe6bffa50 [INFER] Always ensure obj->numSlots() >= obj->slotSpan() after its scope has been initialized, bug 642326. 2011-03-16 18:59:20 -07:00
Brian Hackett
b124474b65 [INFER] Use unique shapes when cloning objects, bug 619433. 2011-03-16 18:33:46 -07:00
Brian Hackett
6e8d1fb68d [INFER] Spot fix for shapes not being marked when a child is held by AutoShapeRooter, bug 642209. 2011-03-16 18:24:20 -07:00
Brian Hackett
d3770c1fb6 [INFER] Sweep cloned type sets in call ICs before destroying the objects they reference, bug 641491. 2011-03-16 16:17:29 -07:00
Jan de Mooij
2fa09b6cfe [INFER] Fix type handler for timeout function, bug 642247. r=bhackett 2011-03-16 15:57:41 -07:00
Brian Hackett
08bb521026 [INFER] Compute PC for interpreted frames which failed to compile, bug 641225. 2011-03-16 15:56:43 -07:00
Jan de Mooij
7402e9d136 [INFER] Don't call syncData for known doubles, bug 642198. r=bhackett 2011-03-16 15:29:04 -07:00
Brian Hackett
5db6d556af [INFER] Clear native return address for interpreter frames, bug 641225. 2011-03-16 15:22:51 -07:00
Jan de Mooij
14e4e340a9 [INFER] Add overflow check for Math.pow(1, x), bug 642154. r=bhackett 2011-03-16 12:17:06 -07:00
Brian Hackett
16c589a815 Merge. 2011-03-16 12:09:30 -07:00
Brian Hackett
d321e040a2 [INFER] Fix broken jstests, bug 620599. 2011-03-16 12:03:47 -07:00
Brian Hackett
ba45077705 [INFER] Fix jsop_instanceof on known object, bug 642174. 2011-03-16 10:41:44 -07:00
Paul Biggar
3e3068a96b [INFER] Bug 642059 - Add -n flag to JITFLAGS, turning on type inference during jit-tests (r=bhackett) 2011-03-16 10:03:02 -07:00
Paul Biggar
4378de9fe1 [INFER] Bug 642062 - Add type annotations for jitstats object (r=bhackett) 2011-03-16 10:03:00 -07:00
Brian Hackett
7469fa7a3a [INFER] Don't share shapes between objects with different types, bug 620599. 2011-03-16 10:02:19 -07:00
Brian Hackett
dde269529f [INFER] Handle undefined values added by String.split, bug 620599. 2011-03-16 07:40:58 -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
8e6af618c3 [INFER] Factor TypeSet* out of FrameEntry, bug 641714. 2011-03-15 15:35:01 -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
9d86c615fc Merge TM -> JM 2011-03-14 22:41:04 -07:00
Brian Hackett
7bc4de5d27 [INFER] Mark values pushed by overflowing object inc opcodes as doubles, bug 641741. 2011-03-14 22:26:25 -07:00
Jason Orendorff
ec6e3d3332 Backed out changeset 39de74c74b20, which is causing the browser to leak windows. 2011-03-14 17:37:04 -05:00
Luke Wagner
7c96945e3c Bug 613457 - clean up string interfaces (r=njn)
--HG--
extra : rebase_source : 3e77b67fa9fe2cc31312ad99951cf92258a98e64
2011-03-14 13:59:53 -07:00
Luke Wagner
7b695c0de6 Bug 613457 - slightly simplify string-equality ic (r=dvander)
--HG--
extra : rebase_source : f79bb59589c4d1a39db846f42da82809a73097a2
2011-03-14 13:55:51 -07:00
Luke Wagner
fee4a41733 Bug 616562 - speed up JSString::isStatic (r=njn)
--HG--
extra : rebase_source : 9f0b553b8ab54bfbbd5290ba936581bda8bb40ec
2011-03-14 13:55:55 -07:00
Andreas Gal
11a52c11b6 Bug 637010. Add some null checks to js_IteratorNext and js_IteratorMore. r=dvander 2011-03-22 17:19:10 -04:00
Landry Breuil
e531be2d49 Bug 634609. Fix GetNativeStackBaseImpl() on OpenBSD. r=gal 2011-03-22 17:19:10 -04:00