Commit Graph

63387 Commits

Author SHA1 Message Date
Jeff Walden
9b3c17b455 Fix a compiler warning that occurs when jsgcinlines.h is included before jsobjinlines.h. r=warning-patrol 2011-03-25 17:23:05 -07:00
Jeff Walden
b77f3b09f3 Bug 645121 - Implement js::StringBuffer::finishAtom. r=igor 2011-03-25 12:04:05 -07:00
Jeff Walden
a0e982d7d2 Bug 639343 - Slight adjustment to how typed-array properties are handled in the tracer. r=dvander 2011-03-18 17:57:17 -07:00
Luke Wagner
be794a0b5b Bug 633690 - add HashMap::lookupWithDefault and putNew helper functions (r=billm)
--HG--
extra : rebase_source : 109b7974dac40749562c3b3ad4615029f1699b97
2011-03-23 17:40:11 -07:00
Jeff Walden
c9809f07b4 class RegExp, not struct RegExp. r=windows-bustage
--HG--
extra : rebase_source : 5c31a9b6a5309548db45d2756f03abeec23ed2f9
2011-03-24 15:04:54 -07:00
Nicholas Nethercote
89190c0bb0 Bug 626398 - A decision to abort in the tracer gets lost. r=dmandelin. 2011-03-25 09:02:01 +11:00
Michael Wu
acf7779c21 Another followup to bug 643927 - use the guard-object macro magic to ensure an Auto* class is never temporarily created. r=jwalden 2011-03-24 14:42:23 -07:00
Jeff Walden
4dce1d9ffa Bug 640072 - Convert properties of RegExp objects into true data properties, eliminating a use of shared-permanent properties. r=jorendorff 2011-03-05 15:29:30 -08:00
Jeff Walden
f1b6ce9142 Initialize a member variable in yarr/yarr/RegexParser.h if building with gcc 4.5 or later, because this compiler incorrectly claims the member variable might be used uninitialized. r=cdleary 2011-03-24 13:33:41 -07:00
Jeff Walden
6c7e38b13f Bug 644015 - js_GetArgsProperty doesn't look up properties of strict mode arguments objects correctly. r=dmandelin 2011-03-23 16:34:19 -07:00
Jeff Walden
e18d5f02e1 Bug 396512 - Provide a way to get disassembly output. Original patch by crowder, back in the day, when everything was more hardcore. r=mrbkap 2009-01-28 15:31:30 -08:00
Michael Wu
2e0ace82b8 Follow up to bug 643927 - fix red on debug builds 2011-03-24 13:44:49 -07:00
Michael Wu
4fe78c6fb5 Bug 643927 - Improve handling of state during script serialization, r=igor 2011-03-24 12:56:58 -07:00
Luke Wagner
d45e4526c5 Weaken overzealous assert in JSStackFrame::resetInvokeCallFrame (r=warnings-as-errors) 2011-03-23 19:12:40 -07:00
Nicholas Nethercote
688bb0bf42 Remove workaround for jstests.py problem that I accidentally commmitted as part of bug 637549. 2011-03-23 18:26:05 -07:00
Luke Wagner
69791c5468 Put back nsISSLStatusProvider.idl, again. Same mercurial bug, different repo. I need more 'hg status' 2011-03-22 16:52:59 -07:00
Nicholas Nethercote
26433ccb4c merge 2011-03-23 18:02:33 -07:00
Nicholas Nethercote
fd0ae2765a Bug 637549 - Speed up expression parsing, part 2: inline more aggressively. r=brendan,jimb. 2011-03-23 18:00:20 -07:00
Nicholas Nethercote
aa5f91073a Bug 637549 - Speed up expression parsing, part 1: avoid ungetting/regetting many tokens. r=brendan,jimb. 2011-03-23 18:00:04 -07:00
Bill McCloskey
ace97ac33c Bug 569422 - Fix jsapi-tests recursion assertion (orange) 2011-03-23 14:30:32 -07:00
Bill McCloskey
0f733168cb Bug 569422 - Allocate js::Shape from the GC heap (r=brendan) 2011-03-23 11:57:44 -07:00
Bill McCloskey
3147ade825 Bug 569422 - Fix nits in GC and GC inlines (r=brendan) 2011-03-23 11:57:37 -07:00
Bill McCloskey
1c6a8baf76 Bug 569422 - Remove unions from GC (r=luke) 2011-03-23 11:57:27 -07:00
Bill McCloskey
aa21051629 Bug 569422 - Miscellaneous fixes for GCed shapes (r=brendan) 2011-03-23 11:57:19 -07:00
Bill McCloskey
119f52edb6 Bug 569422 - Add const to some GC type signature (r=brendan) 2011-03-23 11:57:15 -07:00
Luke Wagner
455e932889 See if -fno-stack-protector also fixes the crashes that caused the NEVER_INLINE_ComputeImplicitThis hack 2011-03-23 09:57:38 -07:00
Luke Wagner
6c2ea5cee1 Mac crashes from cf1850399b0b seem to be in bogo regalloc for -fstack-protector stack guard. Try turning it off temporarily to see if that fixes the problem 2011-03-23 00:39:59 -07:00
Nicholas Nethercote
1abd186e4e Update nanojit-import-rev stamp. 2011-03-22 20:38:01 -07:00
Andrew Paprocki
253dedb30a Bug 621043 - AIX: avmplus.h fails in xlC due to GCC-isms only on #ifdef __powerpc__. r=mrbkap.
--HG--
extra : convert_revision : ddf045b983f32d3f9a2cfc666ecbe825efe9b182
2011-03-22 20:25:23 -07:00
Nicholas Nethercote
9a2a676bcd Remove some |r != deprecated_UnknownReg| assertions because they're (bogusly) causing GCC to think that deprecated_UnknownReg might be used as an array index, and thus triggering array bounds warnings, which are now treated as errors in bug 609532, and so burning some builds. These assertions are due for removal anyway if bug 538924's blockers are ever fixed, they're from a deprecated internal API. rs=jwalden.
--HG--
extra : convert_revision : a581d0f455f199f63a3c29661b8809c9799bb3ce
2011-03-22 20:10:04 -07:00
Nicholas Nethercote
044721652f Bug 623362 - nanojit: avoid harmless race on nHints[]. r=jseward.
--HG--
extra : convert_revision : 8ab31790e8a1e57a5a262810c61547ccfd0ac277
2011-03-17 19:54:29 -07:00
Luke Wagner
0c2e8ddaba Bug 636296 - Put activation objects when we pop the frame, not in ScriptEpilogue (r=dvander) 2011-03-14 11:30:36 -07:00
Luke Wagner
a15ba4f804 Bug 636296 - Change meaning of JSStackFrame::hasCallObj to be more sane (r=waldo) 2011-03-14 11:30:36 -07:00
Luke Wagner
5359dd7f1a Bug 636296 - Split out ScriptDebug{Pro,Epi}logue (r=dvander) 2011-03-14 11:30:35 -07:00
Luke Wagner
c10400d3f1 Bug 636296 - Tidy up JSStackFrame (r=dvander) 2011-03-14 11:30:35 -07:00
Nicholas Nethercote
79e934db3e Fix ARM breakage. No bug, r=me.
--HG--
extra : convert_revision : e24543ca392a9420ab706b8a8842a8c9e0f78032
2011-03-12 22:12:19 +11:00
Luke Wagner
6a818f48e3 Silence windows warning from 4290338c3956 (r=me) 2011-03-22 17:21:48 -07:00
Luke Wagner
1b7a97d56f Put back nsISSLStatusProvider.idl. Seems like http://mercurial.selenic.com/bts/issue2471 strikes again (r=burning) 2011-03-22 16:52:59 -07:00
Luke Wagner
c2d405ba7a Bug 613457 - use *ById JSAPIs in storage (r=sdwilsh)
--HG--
extra : rebase_source : bc2548573f500f664b37b24e95bdc3b9502ba28f
2011-03-21 11:37:47 -07: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