Commit Graph

240888 Commits

Author SHA1 Message Date
Brian Hackett
60675bc44a [INFER] Don't share shapes between objects with different types, bug 620599. 2011-03-16 10:02:19 -07:00
Brian Hackett
e9a256f847 [INFER] Handle undefined values added by String.split, bug 620599. 2011-03-16 07:40:58 -07:00
Brian Hackett
3b88d7085b [INFER] Track multiple types when monitoring SETPROP/SETNAME and calls, bug 641714. 2011-03-15 23:50:44 -07:00
Brian Hackett
9cf0c8606c [INFER] Add MIC for type checking this/arguments at JITScript invokeEntry, bug 641714. 2011-03-15 18:22:23 -07:00
Brian Hackett
ccbb28376d [INFER] Factor TypeSet* out of FrameEntry, bug 641714. 2011-03-15 15:35:01 -07:00
Brian Hackett
c120600f62 [INFER] Make inference spew digestible by scripts, bug 641943. 2011-03-15 13:42:24 -07:00
Brian Hackett
c559b2f9d2 [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
584907e527 Merge TM -> JM 2011-03-14 22:41:04 -07:00
Brian Hackett
2a9d69a52a [INFER] Mark values pushed by overflowing object inc opcodes as doubles, bug 641741. 2011-03-14 22:26:25 -07:00
Jason Orendorff
8730d5b197 Backed out changeset 39de74c74b20, which is causing the browser to leak windows. 2011-03-14 17:37:04 -05:00
Jason Orendorff
28d3dae7d9 Bug 561359 - Change JSOP_LAMBDA to apply the method optimization deterministically. In particular, it no longer depends on whether enclosing Blocks have been reified. This prevents incorrect behavior and assertions when a JSOP_LAMBDA, JSOP_INITMETHOD pair apply the method optimization once, populating the property cache, but later the same JSOP_LAMBDA instruction does not (under the old code) apply the optimization. With this patch, if JSOP_LAMBDA pushes the uncloned function once, it always will. r=brendan. 2011-03-14 15:54:34 -05:00
Brian Hackett
87b2e972ae [INFER] Don't try to infer 'new' objects for non-compileAndGo scripts, bug 641231. 2011-03-13 22:35:51 -07:00
Brian Hackett
c4d60dca1b [INFER] Handle DEFAULTX and CASEX during inference, bug 641235. 2011-03-13 22:05:24 -07:00
Brian Hackett
8112da5281 [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
5825dd19c6 [INFER] Mark all cross-compartment iterations as producing unknown values, bug 641224. 2011-03-13 21:40:55 -07:00
Brian Hackett
74c2720cf5 [INFER] Watch out computing 'new' value for functions given a non-function type via setting __proto__, bug 640993. 2011-03-13 21:29:30 -07:00
Brian Hackett
8d22cd5b3b [INFER] Mark result of 'new Function.prototype' as unknown, bug 619338. 2011-03-13 21:04:43 -07:00
Brian Hackett
e5b7a67b24 [INFER] Add recompilation rejoin calls in JSOP_GETELEM/JSOP_CALLELEM, bug 641269. 2011-03-13 20:46:30 -07:00
Brian Hackett
4abe5eedb9 [INFER] Fix jit-test -mna failures, also call site rejoining at GETPROP, bug 639508. 2011-03-13 20:35:49 -07:00
Brian Hackett
25ef1cf8bf [INFER] Fix call IC monitoring for speculated Function.prototype.call, bug 621942. 2011-03-12 22:33:11 -08:00
Brian Hackett
473fd9c61e [INFER] Use ICs on monitored calls, reenable APPLY optimizations, bug 621942. 2011-03-12 21:59:46 -08:00
Brian Hackett
8c3f2f0bf3 [INFER] Use PICs on monitored SETNAME and SETPROP, bug 621937. 2011-03-11 16:29:38 -08:00
Blake Kaplan
da297b34c9 Bug 606388 - Re-enable browser_popupUI.js. It is trying to use == to compare an Xray wrapper with a SJOW. r=jst 2011-03-11 12:07:43 -08:00
Bill McCloskey
e7eff8b6a0 Bug 639954 - *Really* set cx->compartment to NULL during GC (r=luke) 2011-03-14 10:37:05 -07:00
Jeff Walden
9c2000bde9 Bug 637643 - Tests. r=async.processingjs@yahoo.com
--HG--
extra : rebase_source : 190f79659ffb1305726347310d6c7bb4f4f7d2b1
2011-03-14 10:17:40 -07:00
async.processingjs@yahoo.com
0915122f89 Bug 637643 - A subarray of a typed array subarray not at offset zero doesn't contain the right data. r=jwalden
--HG--
extra : rebase_source : f6fe88592e66101dc065bd82f35e4d2f3fd1cb1a
2011-03-14 10:17:36 -07:00
Andreas Gal
0e5588e8dc Follow-up fix for bug 639729. 2011-03-13 19:20:06 -07:00
Andreas Gal
a163a8e485 Inline GC mark path (bug 639729, r=billm). 2011-03-13 18:13:52 -07:00
Bill McCloskey
7d7eaad649 Bug 596338 - Fix --disable-methodjit --disable-tracejit builds (r=ginn.chen) 2011-03-11 15:40:05 -08:00
Brian Hackett
57f7b187fb Trace Parser::emptyCallShape, bug 641103. r=gal 2011-03-11 14:49:11 -08:00
Jeff Walden
ff4297e5d0 Correct a URL in tests for bug 614608. r=sparky but DONTBUILD because it's such a small and unimportant change 2011-03-11 13:15:58 -08:00
Bill McCloskey
c373416613 Bug 636544 - Fix JavaScript "-m -j" mode (r=dmandelin) 2011-03-11 11:44:57 -08:00
Bill McCloskey
c1bbeac8fb Bug 639858 - Bias the profiler toward tracing scripted getters (r=dmandelin) 2011-03-11 10:21:33 -08:00
Brian Hackett
8b0ee315a2 [INFER] Update property types when defining properties through wrappers, bug 639529. 2011-03-11 07:20:47 -08:00
Brian Hackett
09dd0e6383 [INFER] Fully sync stack when making stub and inline calls, bug 639882. 2011-03-10 23:51:45 -08:00
Brian Hackett
eb6f677bd5 [INFER] Don't check marked bit for static strings, bug 639263. 2011-03-10 20:44:04 -08:00
Brian Hackett
2444f97a3a [INFER] Fix build breaks, bug 639263. 2011-03-10 19:25:49 -08:00
Nicholas Nethercote
2a84837407 Bug 638627 - Properly handle failures to patch guards due to non-32-bit offsets (TM-specific part). r=gal,dvander. 2011-03-10 16:41:50 -08:00
Nicholas Nethercote
4091ef806d Update nanojit-import-rev stamp. 2011-03-10 16:27:55 -08:00
Brian Hackett
9bdadcc044 [INFER] Compute types for singleton/JSON arrays and objects, bug 639263. 2011-03-10 16:17:39 -08:00
Nicholas Nethercote
c4f33efa34 Bug 638627 - Properly handle failures to patch guards due to non-32-bit offsets (NJ-specific part). r=dvander.
--HG--
extra : convert_revision : b3948560bcbc91ed1e7416d2f9ad495e1c8daca1
2011-03-10 16:16:42 -08:00
Gregor Wagner
d27001da51 Bug 638199 - Shrink ArenaHeader (r=wmccloskey) 2011-03-10 15:27:21 -08:00
Nicholas Nethercote
93d1a34c53 merge 2011-03-10 14:32:03 -08:00
Nicholas Nethercote
d4a5263fbf Backed out changeset cc7311c09b56 (bug 602397) due to Maemo Talos breakage. 2011-03-10 14:31:34 -08:00
Brian Hackett
af409eac97 [INFER] Fix uses of FrameEntrys from tracker >= sp, bug 640614. 2011-03-10 12:17:19 -08:00
Brian Hackett
da5f5636cc [INFER] Overhaul inference handling of new object computation, bug 619433. 2011-03-10 12:01:11 -08:00
Brian Hackett
336a850f70 [INFER] Fix incorrect uses of getDenseArrayCapacity, bug 640203. 2011-03-10 09:56:51 -08:00
Brian Hackett
1691022350 Merge TM -> JM 2011-03-10 09:20:42 -08:00
Brian Hackett
a1480ae4d2 [INFER] Fix use of uninitialized VMFrame field, bug 640608. 2011-03-10 08:40:10 -08:00
Brian Hackett
d49fd49233 [INFER] FrameState::isEntryCopied shouldn't look at entries not on the stack, bug 640102. 2011-03-10 08:25:22 -08:00