Commit Graph

57080 Commits

Author SHA1 Message Date
Ginn Chen
e033f58482 Bug 605428 Implement NJ_EXPANDED_LOADSTORE for SPARC r=wmaddox
--HG--
extra : convert_revision : e3715e4e883cc90ab92d02e688ee22d9c365ffb5
2010-11-05 16:25:14 +08:00
Rick Reitmaier
fab45d40d1 Bug 601724 - nanojit: Reduce indirect call overhead caused by CodeAlloc.alloc (r+wmaddox,nnethercote)
Part I re-work addMem() with no functional changes.

--HG--
extra : convert_revision : 480ca3961ba156b7654f1cf361963e9532717684
2010-11-04 15:41:24 -07:00
Rick Reitmaier
146df9729a Remove dead code introduced with nop insertion checkin
--HG--
extra : convert_revision : 41e11d89f9d92656e1924ab600651dcd381b8655
2010-11-04 12:39:12 -07:00
Edwin Smith
7a56c25bf8 CodeAlloc comment updates
.
. attachment 483153 - Clarify block and chunk terminology and roles of CodeList and CodeAlloc
.

--HG--
extra : convert_revision : 3b0fb708c5c9e12f20897d6d7de8ff79ebc66d6d
2010-10-14 07:10:00 -07:00
Rick Reitmaier
b8b2a58c9f Bug 587727 - nanojit: Reduce paging traffic from calls to CodeAlloc.markExec (r+nnethercote,edwsmith)
Second patch in the series which is explained in
https://bugzilla.mozilla.org/show_bug.cgi?id=587727#c14

--HG--
extra : convert_revision : aac6fffb12645c20a91f8151fb74778de75e3da2
2010-11-03 18:09:05 -07:00
Nicholas Nethercote
8bcd915a2d Bug 610815 - TM: print more info for guards in LIR dumps. r=bz. 2010-11-10 14:23:37 -08:00
Blake Kaplan
df7a668a02 Bug 571849 - Fix enumerateOwn and the Iterate constructor on Xray wrappers. r=gal 2010-11-10 14:08:44 -08:00
Blake Kaplan
57a2e504c5 Bug 605760 - Deal with null a subject principal here. r=jst 2010-11-10 14:08:11 -08:00
Jim Blandy
15430ee67a Bug 553778: Don't orphan placeholder definition nodes when a real definition is found. r=brendan
When we incorporate an inner function's lexdeps into our own lexdeps and
decls tables, always create a fresh definition node for an identifier we
don't have an entry for yet, and turn the inner definition node into a use
of that definition, to ensure that references to those definitions from
TOK_UPVARS nodes properly resolve to the outer definitions that capture
them.

This patch also changes MakePlaceholder to initialize the new node's type
and op. Normally, JSParseNode::create initializes them from the current
token, but that creates a fragile dependency of placeholder construction on
lexing state, and is not actually what two out of (now) three call sites
want.
2010-11-10 13:18:15 -08:00
Luke Wagner
6d8362bfc5 Bug 592992 - hoist outerizing from js::Invoke to js::ExternalInvoke (r=mrbkap) 2010-11-10 11:43:22 -08:00
Luke Wagner
fe37ac898b Bug 610848 - merge js::Int32ToString and js_IntToString (r=waldo) 2010-11-10 11:43:22 -08:00
Luke Wagner
7f39d48096 Bug 605013 - obj_keys should be cool with object ids (r=waldo) 2010-11-10 11:43:22 -08:00
Luke Wagner
94f3b9a8d2 Bug 610901 - need to explicitly construct/destruct JITScript (r=dvander) 2010-11-10 11:43:22 -08:00
Steve Fink
80ba8d7cfd Bug 605330 - extend jscalls (bug 507012) tracking to cover JM and fix some mismatched calls, r=dvander, a=NPODB
--HG--
extra : rebase_source : 77f64a8ee2c88cbb00ac5671ba2532f71551f28b
2010-09-20 12:43:51 -07:00
Boris Zbarsky
e06eeb9206 Bug 610583. When guarding on no indexed properties on our proto chain, use a branch exit, and reduce the number of guards involved. r=brendan 2010-11-09 21:46:18 -05:00
Brendan Eich
fdf9d2fd7c Handle extended indexes around JSOP_*BLOCKCHAIN (610026, r=billm). 2010-11-05 15:03:39 -07:00
Daniel Holbert
44a3f3c372 Bug 610642: s/NULL/0/ to fix build warning "NULL used in arithmetic". r=dmandelin a=shaver
--HG--
extra : transplant_source : %92H%08%90%1D%CE%90%DDx%97%99/%F9%90%F3%CCX%BDnb
2010-11-09 11:50:24 -08:00
Brendan Eich
7ca60435b0 Lazy resolution of standard classes changes the shape of Object.prototype (610697, r=mrbkap).
--HG--
extra : rebase_source : 7d95f23e2dbf9b11a416f07ae51d409d95e130cb
2010-11-09 12:09:07 -08:00
Jim Blandy
f27d13f045 Bug 602139: Add js_UpdateWatchpointsForShape, to correctly update watchpoints after shape changes. r=jorendorff
Many of the watchpoint bugs have to do with wp->setter and wp->shape
getting out of sync. The new function js_UpdateWatchpointsForShape takes
care of bringing all relevant watchpoints fully up to date; it is called
from the places in jsscope.cpp where property changes take place, and is
also used by the watchpoint creation code. DropWatchPointAndUnlock becomes
simpler; js_FindWatchPoint, js_WrapWatchedSetter and js_watch_set_wrapper
become static to jsdbgapi.cpp.
2010-11-09 15:04:12 -08:00
Jim Blandy
f591cd6663 Bug 602139: Trivial cleanups to watchpoint implementation. r=jorendorff
Separated for ease of review.
2010-11-09 15:04:11 -08:00
Jim Blandy
4b9db975ae Bug 602139: Watchpoint tests. r=jorendorff
This includes:
- a test showing how adding and deleting watchpoints can lose a property's JSPropertyOp setter;
- tests for watchpoints on properties that change from setters to value properties and vice versa, or from one setter to another; and
- tests for watchpoints set on inherited setter properties.
2010-11-09 15:04:11 -08:00
David Mandelin
a7b546995a Bug 608868 part 2: verify that scope chain start is native before IC'ing, r=dvander, a=beta8+ 2010-11-09 12:28:11 -08:00
Brendan Eich
126b6b5647 Prebrand standard classes with standard methods (610698, r=jorendorff). 2010-11-09 11:40:56 -08:00
Robert Sayre
78fcef6d2d Merge mozilla-central to tracemonkey. 2010-11-09 15:29:44 -05:00
David Bolter
6ca53e4829 Bug 609574 - Crasher (also ASSERTION: invalid array index: 'i < Length()', file nsTArray.h). r=surkov,neil a=blocking2.0 2010-11-09 14:34:25 -05:00
Chris Leary
8a45dd1cea Back out 8ae5fce0f19b. 2010-11-09 10:12:53 -08:00
Paul O’Shannessy
efca389758 Bug 589246 - Closed window state getting corrupted when closing and reopening last browser window without exiting browser [r=dietrich, a=blocking2.0:betaN] 2010-11-09 10:00:30 -08:00
Dave Townsend
9aa3ede467 Bug 602577: Recover from a corrupt database or incorrect schema after startup. r=robstrong, a=blocks-betaN 2010-11-09 09:25:39 -08:00
Kai Engert
a6c7eae2cd Bug 521849, SSL broken, may crash when FIPS softtoken checksum verification fails
r=honzab.moz, a=blocking2.0-final+=bsmedberg
2010-11-09 17:10:40 +01:00
Mounir Lamouri
6fa67dd0f8 Bug 610214 - Create reftest.js to add methods to check HTML attribute reflection. r=smaug a=tests
--HG--
rename : content/html/content/test/test_bug601061.html => content/html/content/test/reflect.js
2010-11-09 16:41:15 +01:00
Josh Aas
3e01275064 Bug 610238: Sync to npapi-headers rev 31. r=bsmedberg a=blocking2.0betaN+ 2010-11-09 10:26:44 -05:00
Mounir Lamouri
de2840de11 Bug 603141 (2/2) - <select multiple> should show 4 rows by default. r=bz a=blocking-b8 2010-11-09 15:24:01 +01:00
Mounir Lamouri
360f9e70d5 Bug 603141 (1/2) - Make select.size returns 0 by default. r=bz a=blocking-b8 2010-11-09 15:23:50 +01:00
Walter Meinl
df6a6b1a8e Bug 577011 there's another typo a=bustage 2010-11-09 19:29:09 +08:00
Walter Meinl
13c3934d2c Bug 577011 fix typo of last commit a=bustage 2010-11-09 19:17:10 +08:00
Ginn Chen
a12a9e22a5 Bug 608201 fix typo a=blocking-2.0 2010-11-09 18:53:18 +08:00
Ginn Chen
11cebfab45 Bug 597832 Compile nsUTF8ToUnicode.cpp with SSE2 options for Solaris Studio compiler r=ted.mielczarek a=NPOTB 2010-11-09 18:31:24 +08:00
Walter Meinl
48d1e8997b Bug 577011 - [OS/2] make _declspec unconditionally default symbol export r=daveryeo@telus.net a=benjamin
--HG--
extra : rebase_source : f73a926174bd7905f177b2e914492e42b90ac8c0
2010-11-09 11:13:03 +01:00
Taras Glek
da127e365a Bug 610040 - OOM abort under nsBufferedStream::Init. r=dtownsend
--HG--
extra : rebase_source : 52ef8d0c9333d75e5e67e2ca042131159102b15f
2010-11-09 11:12:46 +01:00
Ginn Chen
20e1d8d269 Bug 597963 crash [@ nsIDocument::GetContainer() ] r=surkov.alexander a=blocking-2.0 2010-11-09 18:22:59 +08:00
Ginn Chen
481e714b50 Bug 608201 File chooser and some other dialogs are not added to Firefox a11y tree r=surkov.alexander,roc a=blocking-2.0 2010-11-09 18:21:56 +08:00
Ginn Chen
cb951b68f9 Bug 590436 nsCSSParser.cpp failed to compile with Sun Studio compiler r=roc a=benjamin 2010-11-09 18:16:18 +08:00
Dão Gottwald
7664cda114 Bug 565575 - Retain location bar focus when switching tabs. r=mano a=b 2010-11-09 10:25:07 +01:00
bjarne@runitsoft.com
7494f64840 Bug 596443 - [Unit test] SVG embedded by reference is not loading r=bz 2010-11-09 10:24:42 +01:00
Chris Jones
5629202ce0 Followup to bug 550611: Use a different placement-dtor form so as to appease gcc 4.5. rs=tn a=bustage 2010-11-09 00:17:06 -06:00
Chris Leary
0cc4fbc8f7 Bug 576837: Fix YARR character-class range parsing. (r=jwalden)
--HG--
extra : rebase_source : 95095586a0a15f774b304ad797e59322f9ec0c37
2010-11-08 18:08:32 -08:00
Luke Wagner
36b12087f9 Bug 610038 - apply should not ignore indexed properties on the prototype (r=waldo) 2010-11-09 09:06:57 -08:00
Jeff Walden
66a45d8a26 Back out 9e5cd5815d4d, our own tests turn it orange -- paging compartments people... r=#ffa500 2010-11-08 18:05:54 -08:00
Phil Ringnalda
47919e620f Bug 610307 - Clean up packaging of WeaveCrypto, r+a=ted 2010-11-07 19:36:18 -08:00
Chris Jones
703c658a1c Bug 562424: Switch IPDL interfaces to infallible TArray. r=bent a=blocking 2010-11-08 20:49:00 -06:00