Commit Graph

13550 Commits

Author SHA1 Message Date
Nicholas Nethercote
ee01b045d2 Fix build breakage from bug 639420. 2011-03-16 15:50:57 -07:00
Nicholas Nethercote
89729b1105 Bug 639420 - Speed up the scanner ten ways, part 10. r=brendan. 2011-03-16 15:19:04 -07:00
Nicholas Nethercote
61bd87fadf Bug 639420 - Speed up the scanner ten ways, part 9. r=brendan. 2011-03-16 15:18:46 -07:00
Nicholas Nethercote
1314a29d73 Bug 639420 - Speed up the scanner ten ways, part 8. r=brendan. 2011-03-16 15:18:29 -07:00
Nicholas Nethercote
5ad8a57af8 Bug 639420 - Speed up the scanner ten ways, part 7. r=brendan. 2011-03-16 15:18:12 -07:00
Nicholas Nethercote
28a77c1f07 Bug 639420 - Speed up the scanner ten ways, part 6. r=brendan. 2011-03-16 15:17:55 -07:00
Nicholas Nethercote
d95e2e0aec Bug 639420 - Speed up the scanner ten ways, part 5. r=brendan. 2011-03-16 15:17:38 -07:00
Nicholas Nethercote
e5921d70f1 Bug 639420 - Speed up the scanner ten ways, part 4. r=brendan. 2011-03-16 15:17:21 -07:00
Nicholas Nethercote
dac6a13a66 Bug 639420 - Speed up the scanner ten ways, part 3. r=brendan. 2011-03-16 15:17:05 -07:00
Nicholas Nethercote
c55ccc15b1 Bug 639420 - Speed up the scanner ten ways, part 2. r=brendan. 2011-03-16 15:16:21 -07:00
Nicholas Nethercote
f1da0064c5 Bug 639420 - Speed up the scanner ten ways, part 1. r=brendan. 2011-03-16 15:16:08 -07:00
Bob Clary
21eae29ff1 Bug 610185 - JavaScript Tests - temporarily mark ecma/Date/15.9.5.34-1.js as random due to DST orange, r=jorendorff. 2011-03-16 14:39:30 -07:00
Igor Bukanov
6990aee491 Bug 633219 - replacing resolve hashtable with a linked list. r=luke 2011-03-07 23:00:00 +01:00
Michael Wu
7aa8609a45 Bug 632253 - Move filename check to JS_XDRScript, r=igor 2011-03-15 18:01:00 -07:00
Michael Wu
0759a05636 Bug 632253 - Move magic check to JS_XDRScript, r=igor 2011-03-15 18:00:58 -07:00
Luke Wagner
9e6a66371c Bug 640852 - Don't try to avoid marking atoms in ropes and dependent strings (r=gwagner)
--HG--
extra : rebase_source : 5cd329574101889ba97b512ad464b23f1e2e693e
2011-03-14 13:55:58 -07:00
Luke Wagner
0db79e7ad5 Bug 640274 - rm {JS_,js_,}GetExternalStringGCType (r=brendan)
--HG--
extra : rebase_source : 1a2b1df8c7ed9cdbf0455e6e8c117382cb1fb2bb
2011-03-14 13:55:43 -07:00
Luke Wagner
36db816b49 Bug 640294 - Remove constant conditional from js_AtomizeString (r=gal)
--HG--
extra : rebase_source : c0eaaa662857ef420002f7446fe82132f12d21f9
2011-03-14 13:55:24 -07:00
Jim Blandy
df6f0b2ee9 Bug 554955: Give blocks and call objects unique shapes when they have parents that may be extended with new bindings. r=jorendorff
The comments for js::Bindings::extensibleParents explain why this is necessary.

AssertValidPropertyCacheHit should have been catching this bug, but for
reasons I don't understand, it is restricted from checking this case. This
patch extends it to assert when the bug is detected.

I've gathered the infallible parts of the initialization for Call objects
and cloned block objects into their own functions.
2011-03-15 12:18:36 -07:00
Jim Blandy
50a3f48159 Bug 554955: Make JSObject::setMap not pretend to take a const shape. r=jorendorff 2011-03-15 12:18:36 -07:00
Jim Blandy
13ac5c4e5d Bug 554955: Introduce a typed accessor for retrieving functions from JSFunctionBoxes. r=brendan 2011-03-15 12:18:36 -07:00
Jim Blandy
757515298e Bug 554955: Fix comment for JSOP_NEW. no r. 2011-03-15 12:18:36 -07:00
Jim Blandy
ce11400fbc Bug 554955: Revert test and assertion changes from bug 633890. r=jorendorff
At present, AssertValidPropertyCacheHit doesn't catch most property cache
failures. I would like to fix it, but doing so makes
jit-test/tests/basic/bug633890.js fail with a C++ assertion, not a JS shell
assertion, which jit-test/jit_test.py can't handle.

I think it's important to have AssertValidPropertyCacheHit doing its job;
it would have caught problems like bug 554955 earlier. Since bug633890.js
is a known failure (bug 458271), deleting it doesn't reduce coverage.

This patch deletes that test. A later patch in the series fixes
AssertValidPropertyCacheHit.
2011-03-15 12:18:35 -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
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
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
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
Nicholas Nethercote
352a80e463 merge 2011-03-10 14:32:03 -08:00
Nicholas Nethercote
585033aa98 Backed out changeset cc7311c09b56 (bug 602397) due to Maemo Talos breakage. 2011-03-10 14:31:34 -08:00
Jacek Caban
183c92c817 Bug 633924 - MethodGIT broken on mingw-w64 win64 build r=dvander 2011-03-10 11:32:23 +00:00
Nicholas Nethercote
76f4d326e3 Bug 602397 - TM: clean up TraceRecorder::alu(). r=wmccloskey. 2011-03-09 15:21:07 -08:00
Brendan Eich
ca4763311f Fix assertion botched by function using a previously mentioned name and therefore claiming its placeholder or declared definition; the function must have sane end vs. begin source coordinates for error reporting purposes (640075, r=njn). 2011-03-08 23:51:27 -08:00
Andreas Gal
436b7e7f79 Don't shrink object slots during GC (bug 639727, r=bhackett). 2011-03-09 00:53:56 -08:00
Andreas Gal
e787b97701 Sweep compartments when no objects live in them (bug 639270, r=gregor). 2011-03-08 20:58:38 -08:00
Phil Ringnalda
d21d12b55b Back out 80d8431f209e (bug 639270) for failing to actually compile 2011-03-08 19:59:30 -08:00
Andreas Gal
033fce6c39 Sweep compartments when no objects live in them (bug 639270, r=gregor). 2011-03-08 18:10:47 -08:00
Blake Kaplan
cfa571b106 Fix some stuff brendan pointed out. 2011-03-08 18:08:59 -08:00
Nicholas Nethercote
155ec564ef Bug 638034 - Make scanning safer. r=brendan. 2011-03-08 16:10:51 -08:00