Commit Graph

18514 Commits

Author SHA1 Message Date
Terrence Cole
946e7a9836 Bug 743896 - Fix failure misattribution in jstest runner; r=dmandelin
In the unix task runner, when we kill tasks, we should be checking and returning
bool if we kill so that we then run waitpid in timeout mode.  We weren't, so
tasks were never failing with timeout, only with failure.  It turns out that
this is not safe anyway: it will race against signal delivery.  We're better off
just removing this hack and letting the timeout cutoff be fuzzy.

--HG--
extra : rebase_source : cd44838e67cf541fd5741406e8c3f02ad7530f16
2012-04-11 10:02:33 -07:00
Nathan Froyd
547541ab7c Bug 743988 - unconditionally link PROGRAMS and SIMPLE_PROGRAMS with CXX; r=ted 2012-04-10 10:16:26 -04:00
Jan de Mooij
68d7e98ea7 Bug 742393 - Don't inline array.concat if the array prototype has indexed properties. r=bhackett 2012-04-11 18:49:42 +02:00
Phil Ringnalda
4348c0ace3 Back out 4b82f26f8593:2fcf9cbedd48 (bug 743393, bug 719776) for bustage 2012-04-11 09:06:40 -07:00
Bas Schouten
643a86cf44 Bug 719776 - Part 1 - Followup: Fix one more case of assuming ASSERT expands to an expression. r=bustage 2012-04-11 17:18:30 +02:00
Bas Schouten
57bf03284d Bug 719776 - Part 2: Inline MOZ_Assert and MOZ_Crash. r=waldo 2012-04-11 16:55:31 +02:00
David Rajchenbach-Teller
f5cecb0389 Bug 742384 - CDataFinalizer.dispose now returns a value. r=jorendorff 2012-04-11 10:46:19 +02:00
David Rajchenbach-Teller
1aa5a6da6a Bug 720771 - Implementing finalization for CData values. r=jorendorff 2012-04-05 15:06:25 +02:00
Mike Hommey
f1ca47c4d8 Bug 644608 - Implement full dependencies for expandlibs. r=ted
* * *
Bug 644608 - Fixups
2012-03-31 09:24:39 +02:00
Nicholas Nethercote
9d39f9ab68 Bug 739512: Patch 9: move JSScript::debug into a table. r=jorendorff. 2012-04-10 18:03:01 -07:00
Nicholas Nethercote
1abc4ee40d Bug 739512 - Patch 8: move sourceMap into a table. r=jorendorff.
--HG--
extra : rebase_source : a986cf630b84c9b531e6179afce57b0e8c69d1ff
2012-04-09 19:56:04 -07:00
Andrew McCreight
0f2d884b02 Bug 744272. disable test_watchpoints due to bogus failures. rs=billm 2012-04-10 18:43:22 -07:00
Nicholas Nethercote
3f9ad62aaf Bug 739512 - Patch 7: move scriptCounts into a table (attempt 2). r=bhackett. 2012-04-10 18:41:42 -07:00
Nicholas Nethercote
5d6764adf5 Backed out changeset fdd10e0e6e5e (bug 739512) due to 32-bit bustage. 2012-04-10 18:36:08 -07:00
Nicholas Nethercote
05656f8fc7 Bug 739512 - Patch 7: move scriptCounts into a table. r=bhackett. 2012-04-09 19:50:06 -07:00
Jeff Walden
23a4858cfa Bug 743878 - Move uint8_clamped and associated machinery into ObjectImpl.h, so that the new object representation can use it as well. r=sfink 2012-04-09 15:14:59 -07:00
Terrence Cole
766f061885 Backed out changeset a43eb4a2d2fd 2012-04-10 17:03:25 -07:00
Terrence Cole
431a41bf56 Bug 744192 - Assert that Vectors do not contain implicitly postbarriered types; r=luke
Since vectors move their memory around outside the control of the GC, it is not
valid to store an implicitly post-barriered item in a Vector.
2012-04-10 16:43:54 -07:00
Luke Wagner
b17d72e8f5 Fix --disable-methodjit bustage (no bug, r=red) 2012-04-10 14:57:15 -07:00
Luke Wagner
398d1b2cdc Bug 740259 - add ALIASEDVAR ops, assert they are used iff the variable is aliased (r=bhackett,waldo,jorendorff,dherman) 2012-03-24 12:29:36 -07:00
Luke Wagner
7b63a166b8 Bug 740446 - make 'arguments' more like a normal local binding (r=bhackett) 2012-04-02 08:58:30 -07:00
Luke Wagner
df74b15a74 Bug 740259 - Assert that dynamic binding access is expected (r=bhackett) 2012-03-16 12:02:37 -07:00
Luke Wagner
2fd1b31a43 Bug 740259 - Tighten assertions around closed-var noting (r=bhackett) 2012-03-28 16:36:57 -07:00
Brian Hackett
82d6dfefe1 Treat FILTER and ENDFILTER as unknown ops, bug 740595. r=luke 2012-04-10 12:59:38 -07:00
Brian Hackett
f07d7134e6 Remove bogus assert, bug 727476. r=luke 2012-04-10 12:56:59 -07:00
Brian Hackett
ff26f41a91 Avoid assert botch in makeLazyType after types have been nuked, bug 734978. r=luke 2012-04-10 12:36:26 -07:00
Brian Hackett
0f2b8a2a2b Don't botch assert after OOM while constructing object's lazy type, bug 735016. r=luke 2012-04-10 12:27:13 -07:00
Brian Hackett
8f6d99798b Bail out from on calling functions if an OOM occurs while during initial bytecode analysis, bug 727341. r=luke 2012-04-10 12:24:46 -07:00
Brian Hackett
8bd6082ef9 Preserve invariant between saved array and lifetime variables' saved fields on OOM during analysis, bug 735045. r=luke 2012-04-10 12:16:42 -07:00
Brian Hackett
2f124d21ed Nuking types should be recognized as a recompilation by enclosing monitors, bug 735012. r=dvander 2012-04-10 12:10:04 -07:00
Brian Hackett
1ff7271386 Don't botch assert after OOM while linking ICs, bug 727344. r=dvander 2012-04-10 12:07:26 -07:00
Terrence Cole
ae810f2b36 Bug 744052 - Restructure HashTable::checkOverflow for easier reading; r=luke
When I added this function, I just copied the existing logical structure.  It
makes more sense here to check overflowed and return early, since we can do this
now.
2012-04-10 09:51:48 -07:00
Ehsan Akhgari
54572a4311 Merge mozilla-central into mozilla-inbound 2012-04-10 11:12:26 -04:00
Ehsan Akhgari
0e0d82c20e Merge the last PGO-green changeset from mozilla-inbound into mozilla-central 2012-04-10 11:11:37 -04:00
Igor Bukanov
b600b7db2f Bug 743559 - Remove unused JSRuntime::xml_singleton fields. r=:Waldo
The patch removes unused  anynameObject and functionNamespaceObject fields in JSRuntime.
2012-04-10 11:57:29 +02:00
Terrence Cole
49d3da6509 Bug 743885 - Fix OOM handling regression in HashTable; r=luke
Introduced by me in bug 722946.
2012-04-09 19:07:11 -07:00
Kyle Huey
a321486239 Refix bug 741248 harder. r=me 2012-04-09 17:41:22 -07:00
Brian Hackett
dc3c33f7c6 Don't disable call ICs with the callee frame still on the stack, bug 743088. r=luke 2012-04-09 17:33:42 -07:00
Nicholas Nethercote
69aced89c8 Bug 742163 (follow-up) - Unbreak --disable-methodjit. r=Ms2ger. 2012-04-09 16:41:27 -07:00
Nicholas Nethercote
2e5124c468 Bug 739512 - Patch 2b: rename nClosed{Args,Vars}() as numClosed{Args,Vars}(). r=luke. 2012-04-09 16:37:16 -07:00
Matt Brubeck
0f3bc5ceb0 Merge last green changeset from inbound to mozilla-central 2012-04-09 10:05:48 -07:00
Takanori MATSUURA
714abf89d4 Bug 743433 - Remove .orig files which were accidentally added by bug 680246. r=khuey 2012-04-07 08:48:23 -04:00
Igor Bukanov
5220367ed1 Bug 737364 - part 2 - replace JSContext with JSRuntime in the GC-related API
This part replaces the JSContext *cx argument in most GC-related API
with JSRuntime *rt. When possible, the patch removes the code to obtain
a temporary cx just to run the GC.

The patch also removes JS_DestroyContextMaybeGC. That function is not
used in FF code base and its implementation is broken. It requires that
the context has an entered compartment when it is destroyed, which in
turns implies a missing leave compartment call.
2012-03-28 12:13:30 +02:00
Kyle Huey
e680841744 Fix Bug 743376. r=bz 2012-04-06 17:44:50 -07:00
Mike Hommey
f486d1cc20 Backout bug 644608 for subtly breaking layout/media build 2012-04-06 13:57:24 +02:00
Mike Hommey
63b2524d81 Bug 644608 - Implement full dependencies for expandlibs. r=ted 2012-03-31 09:24:39 +02:00
Mike Hommey
a4aae87aec Bug 741287 - Make expandlibs_gen.py error out when given a missing file. r=ted 2012-04-06 10:16:25 +02:00
Terrence Cole
efc8bb37f1 Bug 730452 - Trigger post barriers on moveDenseArrayElements; r=billm
We cannot do this per-element because it is too slow.  Instead we have a special
storebuffer entry for this case so we can do all work at gc time.

--HG--
extra : rebase_source : 7e48184d38b442b2bdba38553cf93f9d629debf1
2012-04-05 17:56:53 -07:00
Jim Blandy
7fd66f3128 Bug 733461: Implement the 'query' parameter of Debugger.prototype.findScripts. r=jorendorff 2012-04-05 17:10:44 -07:00
Bill McCloskey
2811c81de8 Bug 739899 - Fix clang warning (rs=terrence) 2012-04-05 17:05:34 -07:00