Commit Graph

63370 Commits

Author SHA1 Message Date
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
Jason Orendorff
efd9982808 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
25336e741f [INFER] Don't try to infer 'new' objects for non-compileAndGo scripts, bug 641231. 2011-03-13 22:35:51 -07:00
Brian Hackett
4e909bc147 [INFER] Handle DEFAULTX and CASEX during inference, bug 641235. 2011-03-13 22:05:24 -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
0d6e549246 [INFER] Mark all cross-compartment iterations as producing unknown values, bug 641224. 2011-03-13 21:40:55 -07:00
Brian Hackett
22ba7f2973 [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
4750d53d19 [INFER] Mark result of 'new Function.prototype' as unknown, bug 619338. 2011-03-13 21:04:43 -07:00
Brian Hackett
4c77f186e9 [INFER] Add recompilation rejoin calls in JSOP_GETELEM/JSOP_CALLELEM, bug 641269. 2011-03-13 20:46:30 -07:00
Brian Hackett
95aba8f452 [INFER] Fix jit-test -mna failures, also call site rejoining at GETPROP, bug 639508. 2011-03-13 20:35:49 -07:00
Brian Hackett
25bc5395d9 [INFER] Fix call IC monitoring for speculated Function.prototype.call, bug 621942. 2011-03-12 22:33:11 -08: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
Blake Kaplan
f93c39ea90 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
4f00dab2ab Bug 639954 - *Really* set cx->compartment to NULL during GC (r=luke) 2011-03-14 10:37:05 -07:00
Jeff Walden
1b4892e303 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
c5822baf18 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
0dc25a462f Follow-up fix for bug 639729. 2011-03-13 19:20:06 -07:00
Andreas Gal
0dec3716f6 Inline GC mark path (bug 639729, r=billm). 2011-03-13 18:13:52 -07:00
Bill McCloskey
7d23f82de0 Bug 596338 - Fix --disable-methodjit --disable-tracejit builds (r=ginn.chen) 2011-03-11 15:40:05 -08:00
Brian Hackett
257e8d9e66 Trace Parser::emptyCallShape, bug 641103. r=gal 2011-03-11 14:49:11 -08:00
Jeff Walden
ea8b05778f 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
b58bb18728 Bug 636544 - Fix JavaScript "-m -j" mode (r=dmandelin) 2011-03-11 11:44:57 -08:00
Bill McCloskey
274e0534d2 Bug 639858 - Bias the profiler toward tracing scripted getters (r=dmandelin) 2011-03-11 10:21:33 -08:00
Brian Hackett
58c0e1b4c9 [INFER] Update property types when defining properties through wrappers, bug 639529. 2011-03-11 07:20:47 -08:00
Brian Hackett
e13c945067 [INFER] Fully sync stack when making stub and inline calls, bug 639882. 2011-03-10 23:51:45 -08:00
Brian Hackett
6811ee3e16 [INFER] Don't check marked bit for static strings, bug 639263. 2011-03-10 20:44:04 -08:00
Brian Hackett
2406358b4d [INFER] Fix build breaks, bug 639263. 2011-03-10 19:25:49 -08:00
Nicholas Nethercote
4aa7aa5390 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
5632ad613f Update nanojit-import-rev stamp. 2011-03-10 16:27:55 -08:00
Brian Hackett
5d55f075a3 [INFER] Compute types for singleton/JSON arrays and objects, bug 639263. 2011-03-10 16:17:39 -08:00
Nicholas Nethercote
ec0be2faaa 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
a372a8f059 Bug 638199 - Shrink ArenaHeader (r=wmccloskey) 2011-03-10 15:27:21 -08:00