Commit Graph

63690 Commits

Author SHA1 Message Date
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
Andew Paprocki
9937121645 Bug 621027. Fix AIX compiler warnings due to not explicitly saying what kind of inheritance we're doing. r=mrbkap 2011-03-22 17:19:10 -04:00
Andew Paprocki
30910b12ed Bug 621026. Define JS_64BIT for some more compilers. r=mrbkap 2011-03-22 17:19:10 -04:00
Andew Paprocki
d06635f865 Bug 621021. Silence some compiler warnings on AIX. r=mrbkap 2011-03-22 17:19:10 -04:00
Andew Paprocki
82f470cc68 Bug 621004. Make jsval_layout look nicer on AIX. r=mrbkap 2011-03-22 17:19:10 -04:00
Andew Paprocki
d7d8ef01bc Bug 621000. Implement GetNativeStackBaseImpl for AIX. r=mrbkap 2011-03-22 17:19:10 -04:00
Andew Paprocki
d610f1ab70 Bug 587103. Properly scope external calls in templated functions to fix compilation with some compilers. r=mrbkap 2011-03-22 17:19:09 -04:00
Jeff Walden
102c6d9d07 Revert loop limit back to 10k, as stack overflow in JS_DeepFreezeObject is still a concern even if GC stack overflow isn't. r=orange 2011-03-22 12:00:32 -07:00
Jeff Walden
7eafdc943e Fix a couple warnings that are now errors with GCC 4.5.1. r=bustage 2011-03-22 10:52:56 -07:00
Jeff Walden
b8218fdd99 Bug 642199 - jsapi-tests should set a stack quota to avoid blowing out the native stack. r=billm 2011-03-18 17:56:28 -07: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