Commit Graph

63408 Commits

Author SHA1 Message Date
Brian Hackett
b6044f527e [INFER] Fix type handler for Object.valueOf, add testcase, bug 643244. 2011-03-20 10:43:38 -07:00
Brian Hackett
48a71727f1 [INFER] Don't manage hasSpecialEquality if inference is disabled, bug 643241. 2011-03-20 10:35:58 -07:00
Brian Hackett
e5ca2b828f [INFER] Rejoin after recompiling from a cached GETPROP, bug 643182. 2011-03-20 10:27:02 -07:00
Brian Hackett
de3580deca [INFER] Don't try to fully update the pushed types on uncacheable NAME ops, bug 643113. 2011-03-20 09:48:13 -07:00
Brian Hackett
603efe2fef [INFER] Sweep type objects in the TypeResults attached to JSScripts, bug 643284. 2011-03-20 08:44:31 -07:00
Brian Hackett
c738c5d025 [INFER] Fold FrameState closed vars/args analysis into analyze::Script, bug 642569. 2011-03-20 08:23:27 -07:00
Brian Hackett
99c7da4cca [INFER] Add monitoring for premature returns in JSOP_NAME, bug 642412. 2011-03-19 17:03:18 -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
55652ce0ff [INFER] Avoid (unreachable) integer overflow when setting holes in dense arrays, bug 642592. 2011-03-19 10:31:36 -07:00
Brian Hackett
545818365f [INFER] Don't check types with an uninitialized frame on the stack, bug 642985. 2011-03-19 10:07:21 -07:00
Brian Hackett
2f766cc940 [INFER] Avoid INT_TO_JSID overflow when deleting element in array_shift, bug 642979. 2011-03-19 09:45:05 -07:00
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