Commit Graph

13910 Commits

Author SHA1 Message Date
Brian Hackett
9849da7614 [INFER] Don't evict existing type register when allocating data register in storeTop, bug 643653. 2011-03-24 12:12:09 -07:00
Paul Biggar
a8948c1eb5 [INFER] Fix typos that were part of the build failure on ARM. (r=redness) 2011-03-23 17:55:51 -07:00
Paul Biggar
2b96612a07 Fix build redness due to warnings-as-errors from parentheses. 2011-03-23 15:09:08 -07:00
Paul Biggar
9caae16818 Fix warnings-as-errors fallout from TM merge (r=redness) 2011-03-23 13:43:16 -07:00
Brian Hackett
d737bb3ddb Merge TM -> JM 2011-03-22 18:07:31 -07:00
Luke Wagner
6a818f48e3 Silence windows warning from 4290338c3956 (r=me) 2011-03-22 17:21:48 -07:00
Brian Hackett
732fe004fb [INFER] Don't immediately evict data register when storing top frame entry, bug 643653. 2011-03-22 16:54:15 -07:00
Brian Hackett
7933449143 [INFER] Don't store a integer result in a double slot in JSOP_NEG, bug 643913. 2011-03-22 16:06:09 -07:00
Brian Hackett
c834eae239 [INFER] Don't follow scripted caller across compartments, bug 643670. 2011-03-22 15:29:41 -07:00
Brian Hackett
989848101e [INFER] Rejoin during CALLPROP if either compilation did a GETPROP for string accesses, bug 643669. 2011-03-22 14:40:07 -07:00
Brian Hackett
bd9e58285b [INFER] Don't use pic->atom after possibly triggering recompilation in CallProp, bug 643552. 2011-03-22 14:21:56 -07:00
Brian Hackett
0c9d96a072 [INFER] Use type sets instead of known pushed types when looking for static overflows, bug 643376. 2011-03-22 13:41:56 -07:00
Brian Hackett
bad0d7d4a8 [INFER] Fix NULL deref in testSingletonPropertyTypes. 2011-03-22 12:37:01 -07:00
Jan de Mooij
49c9ac30f6 [INFER] Don't push a constant value in JSOP_TYPEOF, bug 643733. r=bhackett 2011-03-22 12:35:05 -07:00
Brian Hackett
bf929fa84d [INFER] Handle recompilations triggered in ICs by obj->lookupProperty, bug 643272. 2011-03-22 12:23:37 -07:00
Brian Hackett
356a520709 [INFER] Disable typed array ICs, bug 643266. 2011-03-22 11:57:15 -07:00
Brian Hackett
c4cfa981d7 [INFER] More robust handling of constant object frame entries. 2011-03-22 05:27:03 -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
79574bddbd [INFER] Always store script->fun, bug 643299. 2011-03-20 11:22:33 -07:00
Brian Hackett
d136cbd77a [INFER] Mark generic scripted functions as having unknown properties / return type, bug 643285. 2011-03-20 11:01:33 -07:00
Brian Hackett
140d584eed [INFER] Avoid constructing unnecessary FreezeObjectKind constraints, bug 643249. 2011-03-20 10:47:47 -07:00
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