Bobby Holley
b0e37aa6d8
Bug 743843 - Introduce the options object for Components.Exception. r=Ms2ger,sr=mrbkap
2012-04-15 17:51:37 -07:00
Bobby Holley
50e6634137
Bug 743843 - Ditch the confusing switch-based parsing and add some comments. r=Ms2ger
2012-04-15 17:51:36 -07:00
Bobby Holley
1e648b7690
Bug 743843 - Factor individual argument parsers into helper methods. r=Ms2ger
2012-04-15 17:51:36 -07:00
Bobby Holley
d8267ab1e1
Bug 743843 - Factor out Exception argument parsing into a helper class. r=Ms2ger
...
For ease of reviewing, note that there are only 2 changes to the big switch statement:
1 - return ThrowAndFail(...) -> return false.
2 - eMsgBytes -> messageBytes
2012-04-15 17:51:36 -07:00
Bobby Holley
d3e1c85a70
Bug 745422 - Factor fundamental traps into js::AbstractWrapper. r=gal
2012-04-15 16:43:14 -07:00
Ms2ger
1de8ab38d4
Bug 742893 - Part a: Make xpc_qsValueTo{Uint,Int}64 public; r=bholley
2012-04-14 15:07:31 +02:00
Ms2ger
c6ce9f7d79
Bug 741349 - Get rid of the mozilla::xpconnect::memory namespace; r=bholley
2012-04-14 15:05:19 +02:00
Ms2ger
a37d5dbaac
Bug 741347 - Remove nsIXPConnect::DefineDOMQuickStubs, call DOM_DefineQuickStubs directly instead; r=bholley
2012-04-14 15:05:17 +02:00
Jeff Walden
4c415c06fb
Bug 736591 - Reduce the amount of string allocation attempted in ecma_5/RegExp/regress-617935.js to hopefully reduce intermittent orange. (The limit the test previously checked is no longer correct, so the allocation need not be repeated quite so many times as it was before this patch.) r=luke
2012-04-16 17:34:36 -07:00
Christian Holler
826d2446be
Bug 734976 - Call js_ReportOutOfMemory in jsgcinlines when simulating OOM. Original patch by Brian Hackett. r=luke,bhackett,jdemooij
2012-04-14 11:37:32 -07:00
Nicolas Pierron
71deb3e9bf
Bug 745360 - Native calls are not function frames. r=luke
2012-04-13 18:27:57 -07:00
Luke Wagner
4cfaa1893c
Fix warnings in js/src (no bug, rs=dvander)
2012-04-13 18:03:33 -07:00
Terrence Cole
d0699e95a8
Bug 735549 - Generate the JS reftest suite's manifests automatically; r=dmandelin
...
--HG--
extra : rebase_source : 910bca5b40e37a69427cb3ab1332f24c00a0b2e7
2012-03-22 18:52:12 -07:00
Bobby Holley
dd4ac27670
Bug 745661 - Make TI assertion handle safe mode, too. r=khuey
2012-04-16 16:57:36 -07:00
David Anderson
f84d3b7b8d
Remove more uses of JS_FrameIterator (bug 744617, r=mrbkap).
2012-04-16 12:30:04 -07:00
David Anderson
2b1abddde3
Remove simple JS_FrameIterator uses in xpconnect (bug 744617, r=bholley).
...
--HG--
extra : rebase_source : c206450cf46011543f58cded4c5aff2d49932afd
2012-04-16 12:25:28 -07:00
Matt Brubeck
db7e149288
Merge mozilla-central to mozilla-inbound
2012-04-13 14:09:05 -07:00
Nicolas Pierron
b013fffd14
Bug 744670 - Port StackIter modification of IonMonkey. r=luke
2012-04-13 13:45:01 -07:00
Jim Blandy
7cddb22750
Bug 743351: Implement Debugger.Script.prototype.staticLevel. r=jorendorff
2012-04-13 13:17:18 -07:00
Matt Brubeck
b950055584
Bug 745233 - Back out 33e485d0e23b, 26eb08593f89, ce72679ffb95, 10b783e85c1e (bug 720771, bug 742384) because of Linux64 PGO crashes
2012-04-13 10:40:27 -07:00
Matt Brubeck
b7d725d72a
Back out e4c82a6b298c, 036194408a50, 39acc9f51df8 (bug 714647 and followups) because of test_finalizer.js crashes in Linux64 PGO builds
2012-04-12 22:07:43 -07:00
Jeff Walden
971c198c3d
Attempt to fix OS X (gcc 4.2) build bustage. No bug, r=gcc-42-should-die
2012-04-12 18:32:25 -07:00
Jeff Walden
2e8482d1bf
Fix clang JS shell build bustage. No bug, r=billm over irl
2012-04-12 18:15:26 -07:00
Luke Wagner
f5f4ed58b7
Bug 744842 - don't include actual args in error.stack.toString (r=dmandelin)
...
--HG--
extra : rebase_source : 66a780c6abfc4fadc7cc08ed97224296af20ad61
2012-04-11 18:07:44 -07:00
Jeff Walden
a7643a91b4
Bug 739380 - Convert the defineElement hooks to use an ECMAScript-style [[DefineOwnProperty]] interface, not the old-school SpiderMonkey defineProperty interface. r=bhackett
...
--HG--
extra : rebase_source : e43fcbfdb76c61b4ecd7a5f4b1d17aefa0d19f83
2012-04-09 15:15:46 -07:00
Joey Armstrong
e4b8ee53ac
Bug 742835 - autotargets.mk: handle mkdir dot requests - r=ted
2012-04-13 14:44:24 -04:00
David Mandelin
0447d76457
Bug 736609: fix typo, r=sfink, a=akeybl
...
--HG--
extra : rebase_source : 4299196454f1a078ada48328a953d571efea9a4a
2012-04-12 11:54:47 -07:00
Bobby Holley
ac0a01ac3b
Bug 744034 - Link the script context to the outer window earlier to ensure that we always have TI for content. r=mrbkap
2012-04-12 11:21:12 -07:00
Bill McCloskey
4212ec544a
Bug 744489 - Fix incremental GC assertion in ValidateIncrementalMarking (r=igor)
2012-04-12 11:14:43 -07:00
Bill McCloskey
026a334c4f
Bug 742843 - Clean up weakmap header (r=terrence)
2012-04-09 11:42:04 -07:00
Bill McCloskey
80d2dc87c2
Bug 740609 - Handle null filename (r=luke)
2012-04-12 11:03:45 -07:00
Bill McCloskey
2ae805f612
Bug 740509 - Trace through all type properties for non-GC tracers (r=bhackett)
2012-04-12 11:03:40 -07:00
Bill McCloskey
870b30c42a
Bug 744285 - Fix conservative stack scanning for non-GC tracers (r=igor)
2012-04-12 11:03:20 -07:00
Brian Hackett
90b23329e3
Add most handles and stack rooters needed for exact scanning on shell benchmarks, bug 714647. r=billm
2012-04-12 09:23:51 -07:00
Nathan Froyd
70e094f740
Bug 614188 - Part 3: build double-conversion as a part of MFBT; r=Waldo
2012-04-09 12:05:11 -04:00
Terrence Cole
870bfd5f18
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.
--HG--
extra : rebase_source : 2cef4d855cc4e926cea872cda18e5cf29230f0a7
2012-04-11 17:14:11 -07:00
Bas Schouten
67b6c99e9f
Bug 719776 - Part 2: Make MOZ_CRASH and MOZ_ASSERT expand inline. r=waldo
2012-04-12 02:03:07 +02:00
Brian Hackett
0adbe5e564
Use right compartment iterator when profiling scripts, bug 744611. r=billm
2012-04-11 15:54:55 -07:00
Terrence Cole
0335016a75
Bug 743868 - Fix barriers in SupressDeletedProperties; r=billm
...
Right now, we simply stop tracing through deleted properties. This causes us to
delete things that are still in the write buffer. We need to, in addition, set
the reference to NULL to ensure that the write buffer doesn't dereference these
dead entries.
--HG--
extra : rebase_source : add220d5fb47e0e3ffd767c9b5ebd6172df07671
2012-04-09 16:52:50 -07:00
Masatoshi Kimura
5ca99795f4
Bug 743049 - Part 1: Add a friend API to get an error type name from a number. r=luke
2012-04-11 17:55:22 -04:00
Masatoshi Kimura
23049011a9
Bug 730161 - Replace IDBDatabaseException and FileException with DOMException. r=sicking
2012-04-11 17:55:21 -04:00
Terrence Cole
50754226d0
No bug - Warning fix for 91357:fa24b215d49e; r=luke
...
--HG--
extra : rebase_source : 9d48a4a09cb54d711a24da41576ffc24d44a3cb4
2012-04-11 10:32:50 -07:00
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
Jeff Walden
ac5f9be17e
Attempt to fix OS X (gcc 4.2) build bustage. No bug, r=gcc-42-should-die
2012-04-12 18:32:25 -07:00
Jeff Walden
5e9385a53d
Fix clang JS shell build bustage. No bug, r=billm over irl
2012-04-12 18:15:26 -07:00
Brian Hackett
71506db37a
Add most handles and stack rooters needed for exact scanning on shell benchmarks, bug 714647. r=billm
2012-04-12 09:23:51 -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
Bill McCloskey
83c4e91ed6
Bug 739899 - Fix orange
2012-04-05 16:50:40 -07:00
Terrence Cole
73120263f6
no bug: Warning fix at predeclaration of AutoCompartment; r=jorendorff
2012-04-05 16:31:26 -07:00
Bill McCloskey
65a72b84c2
Bug 742570 - Improve shell control of incremental GC (r=igor)
2012-04-04 15:07:36 -07:00
Bill McCloskey
6e3982b839
Bug 742570 - Improve GC testing functions (r=igor)
2012-04-03 14:07:38 -07:00
Bill McCloskey
90e65d2fdb
Bug 742570 - Change API for compartment GCs (r=igor)
2012-04-03 12:23:11 -07:00