Commit Graph

242065 Commits

Author SHA1 Message Date
Brian Hackett
5c3642f6c0 [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
f07e7c981f [INFER] Use unique shapes when cloning objects, bug 619433. 2011-03-16 18:33:46 -07:00
Brian Hackett
f5e8d2edbd [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
Mark Finkle
8f792d3955 bug 642203 - Must treat locale pref as localized in multi-locale builds r=blassey,dougt,gavin,mossop a=blocking-fennec 2011-03-16 19:17:59 -04:00
Brian Hackett
293ec73b3d [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
941c865d9f [INFER] Fix type handler for timeout function, bug 642247. r=bhackett 2011-03-16 15:57:41 -07:00
Brian Hackett
f9b048e286 [INFER] Compute PC for interpreted frames which failed to compile, bug 641225. 2011-03-16 15:56:43 -07:00
Jan de Mooij
084ccc1d25 [INFER] Don't call syncData for known doubles, bug 642198. r=bhackett 2011-03-16 15:29:04 -07:00
Brian Hackett
6959323b8e [INFER] Clear native return address for interpreter frames, bug 641225. 2011-03-16 15:22:51 -07:00
Ehsan Akhgari
c07982a406 Backed out changeset 75147c0a4b89 because it actually changes code, and is not test-only. a=silly-me 2011-03-16 18:03:35 -04:00
Hiroyuki Ikezoe
79224d86b2 Bug 582216 - Make sure that we set _scrollTarget in every case in order to address intermittent failures in tabbrowser overflow handling; r=dao a=test-only 2011-03-16 18:01:34 -04:00
Benjamin Stover
1b10203ab4 Bug 642205 Followup: Remove bogus assertion r=roc a=followup-for-blocking-fennec 2011-03-16 14:17:25 -07:00
Benjamin Stover
a75b4799a5 Bug 642205 Do not build layers for asynchronous scrolling if element shouldn't be scrollable r=tn a=blocking-fennec 2011-03-16 13:18:35 -07:00
Jan de Mooij
ae5397c993 [INFER] Add overflow check for Math.pow(1, x), bug 642154. r=bhackett 2011-03-16 12:17:06 -07:00
Brian Hackett
db525548f6 Merge. 2011-03-16 12:09:30 -07:00
Brian Hackett
1b7e6f5157 [INFER] Fix broken jstests, bug 620599. 2011-03-16 12:03:47 -07:00
Brian Hackett
67d6cf28c5 [INFER] Fix jsop_instanceof on known object, bug 642174. 2011-03-16 10:41:44 -07:00
Paul Biggar
ebf89f996a [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
6f6d2799a6 [INFER] Bug 642062 - Add type annotations for jitstats object (r=bhackett) 2011-03-16 10:03:00 -07:00
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
Luke Wagner
ee5173d043 Bug 613457 - clean up string interfaces (r=njn)
--HG--
extra : rebase_source : 3e77b67fa9fe2cc31312ad99951cf92258a98e64
2011-03-14 13:59:53 -07:00
Luke Wagner
ff54a85337 Bug 613457 - slightly simplify string-equality ic (r=dvander)
--HG--
extra : rebase_source : f79bb59589c4d1a39db846f42da82809a73097a2
2011-03-14 13:55:51 -07:00
Luke Wagner
8d021fe786 Bug 616562 - speed up JSString::isStatic (r=njn)
--HG--
extra : rebase_source : 9f0b553b8ab54bfbbd5290ba936581bda8bb40ec
2011-03-14 13:55:55 -07:00
Andreas Gal
a3b82fb97c Bug 637010. Add some null checks to js_IteratorNext and js_IteratorMore. r=dvander 2011-03-22 17:19:10 -04:00
Landry Breuil
979308ff7e Bug 634609. Fix GetNativeStackBaseImpl() on OpenBSD. r=gal 2011-03-22 17:19:10 -04:00
Andew Paprocki
9a24d4f104 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
272b9c0870 Bug 621026. Define JS_64BIT for some more compilers. r=mrbkap 2011-03-22 17:19:10 -04:00
Andew Paprocki
f3a44a94bf Bug 621021. Silence some compiler warnings on AIX. r=mrbkap 2011-03-22 17:19:10 -04:00
Andew Paprocki
a03b77c449 Bug 621004. Make jsval_layout look nicer on AIX. r=mrbkap 2011-03-22 17:19:10 -04:00
Andew Paprocki
0adf604028 Bug 621000. Implement GetNativeStackBaseImpl for AIX. r=mrbkap 2011-03-22 17:19:10 -04:00
Andew Paprocki
aab96a2a19 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
3617f8fe30 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
48ca90de75 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
6bba5c6b3e 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
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