Commit Graph

17597 Commits

Author SHA1 Message Date
Nicholas Nethercote
97aa494461 Bug 764714 (part 2) - Move Parser::callerFrame to BytecodeEmitter. r=jorendorff. 2012-06-13 23:28:04 -07:00
Nicholas Nethercote
44499374d0 Bug 764714 (part 1) - Only set JSScript::savedCallerFun when appropriate. r=jorendorff. 2012-06-13 17:26:31 -07:00
Nicholas Nethercote
6b90428d43 Bug 766821 - Clear dead wood from Bindings. r=luke.
--HG--
extra : rebase_source : 88a769b7cc17ba4c850208e5c59916c1f7b2bde8
2012-06-20 19:14:35 -07:00
Jeff Walden
fdc16c2d6a Bug 765990 - Never use Rooted<T> as a temporary, so that the Rooted->Handle conversion path occurs in only one manner, not two (ambiguous) manners. r=luke
--HG--
extra : rebase_source : d42f8bcf462de54ff6cc7d9054b2561bdd67686a
2012-06-14 19:13:27 -07:00
Mike Hommey
61c2f7921a Fixup for pymake after bug 763987. r=ted 2012-06-21 14:50:42 +02:00
Randell Jesup
435602cf1a Bug 757637: Rollup makesystem changes for webrtc r=khuey r=ted f=glandium 2012-06-20 07:27:43 -04:00
Ed Morley
976e703db3 Backout 1c5a8d617bff (bug 765990), 617cb36ead59, b3067d05a76a (bug 760995), 79f9a61a1e43 (bug 426163) for bustage 2012-06-21 10:00:36 +01:00
Jeff Walden
1c82d6223a Bug 765990 - Never use Rooted<T> as a temporary, so that the Rooted->Handle conversion path occurs in only one manner, not two (ambiguous) manners. r=luke 2012-06-14 19:13:27 -07:00
Bobby Holley
6ca66fb5a5 Bug 753162 - Don't assume that we end up in the same compartment as we started in CrossCompartmentWrapper. r=mrbkap 2012-06-21 09:53:49 +02:00
Mike Hommey
13388d7565 Bug 763987 - Normalize autoconf.mk.in. r=ted 2012-06-20 09:00:48 +02:00
Jim Blandy
bdae02798a Bug 757400: When we change a compartment's debug mode, ensure we throw away all the outdated analyses. r=billm
Always do a cleansing GC when we turn debug mode off, as well as when we
turn it on. If we don't, it's possible to have stale analyses (generated in
the wrong debug mode state) stick around, and we'll assert in JM.

Have ShouldCleanUpEverything recognize gcreason::DEBUG_MODE_GC as a reason
to discard all jit code and analyses.
2012-06-20 19:14:44 -07:00
Benjamin Peterson
3d0373f154 Bug 764508 - Remove header if it is no longer needed, r=jorendorff 2012-06-20 16:33:19 -07:00
Jeff Walden
b8d624d78f Back out 2fe1b4d570df for obvious browser-build bustage, less-obvious shell build bustage. r=ಠ_ಠ 2012-06-20 15:49:56 -07:00
Jeff Walden
cd9ccb6f57 Fix a NULL-to-bool conversion warning. No bug, trivial, r=themaid 2012-06-20 15:30:14 -07:00
Jeff Walden
db39c5b92b Bug 765990 - Never use Rooted<T> as a temporary, so that the Rooted->Handle conversion path occurs in only one manner, not two (ambiguous) manners. r=luke
--HG--
extra : rebase_source : 5623e436f6cd03a90ba0a188ee5d2fa8f8577766
2012-06-14 19:13:27 -07:00
Aki Sasaki
ccbb1b957f bug 765808 - fix bare 'dn' typo. r=glandium 2012-06-20 13:59:23 -07:00
Benjamin Peterson
c8d1f2b3b2 Bug 765280 - Fake stack depth, so various opcodes that depend on absolute stack depth are not confused, r=jorendorff 2012-06-20 12:03:04 -07:00
Luke Wagner
969c90af65 Bug 764401 - Fix the debugger not to assume the arguments object has been created if needsArgsObj (r=jimb)
--HG--
extra : rebase_source : 7fec2830eb639c5a702685a023d1a6d20cfe2500
2012-06-20 08:56:12 -07:00
Mike Hommey
2c40a7fa85 Backout changeset 6984dace6afb (bug 763987) because of OSX opt jsreftest bustage 2012-06-20 10:55:59 +02:00
Mike Hommey
3beac338fb Bug 734125 - Fail configure when acoutputfast.pl fails to find one of the input files. r=ted 2012-06-20 09:45:45 +02:00
Mike Hommey
95bbba592a Backout changeset efc2f07a829b (bug 734125) because of bustage 2012-06-20 09:23:41 +02:00
Mike Hommey
dc16dcec90 Re-sync config/config.mk after bug 763987. r=me 2012-06-20 09:14:05 +02:00
Mike Hommey
028b759dbf Bug 764286 - Remove unused AC_SUBSTs. r=ted 2012-06-20 09:00:48 +02:00
Mike Hommey
7d33543b83 Bug 763987 - Normalize autoconf.mk.in. r=ted 2012-06-20 09:00:48 +02:00
Mike Hommey
2026efa911 Bug 734125 - Fail configure when acoutputfast.pl fails to find one of the input files. r=ted 2012-06-20 09:00:48 +02:00
Jeff Walden
bbbbea1dec Initialize an outparam (to a totally bogus value) so that gcc doesn't complain about may-be-used-uninitialized in a case that can't actually be reached. No bug, rs=jorendorff
--HG--
extra : rebase_source : c1aed684b0113e4cfcff55f43b5a6e6e460fafe6
2012-06-15 14:59:34 -07:00
Jeff Walden
08838770af Bug 765341 - Change js_ValueToAtom to return a JSAtom* directly, and rename it to js::ToAtom. r=sfink
--HG--
extra : rebase_source : 44f039cd09ac2ab1825e7f9fd1e2a01f5907bb67
2012-06-12 16:03:10 -07:00
Jeff Walden
b6fa2253dc Fix narrowing-initializer warnings with gcc 4.7. No bug, r=themaid
--HG--
extra : rebase_source : a5cf16fbc9eb408a9eb286a2f0bb6194835a4bc2
2012-06-12 15:03:12 -07:00
Jeff Walden
35fb39c8b3 Fix an obvious bool-to-pointer conversion warning, no bug, r=sparky
--HG--
extra : rebase_source : 19e61d09183c54e413ef1f76ae47a623edbed464
2012-06-18 13:48:58 -07:00
Nicholas Nethercote
540d4de6c6 Bug 766004 - Remove LookupCompileTimeConstant(). r=bhackett.
--HG--
extra : rebase_source : 27e505a79158eb87fd38adf700bc21a666415733
2012-06-19 18:05:43 -07:00
Nicholas Nethercote
8fd90f055f Bug 765976 - Simplify CompileFunctionBody's control flow. r=sfink.
--HG--
extra : rebase_source : 4d5e88fdae064f5a68c0938ee5cbc6e619d02c85
2012-06-18 16:54:55 -07:00
Andreas Gal
e33f6ca94b Bug 637014 - use the right global in MakeFinalizeObserver (r=luke) 2012-06-19 11:13:42 -07:00
Benjamin Smedberg
ed825e08a8 Bug 755724 part A - add makefile variable DIST_SUBDIR to ship code to a subdirectory of dist/bin, r=ted
--HG--
extra : rebase_source : ef52dff3c4f42b99148e99335ee82d9a207faf46
2012-06-19 10:45:24 -04:00
Tom Schuster
a609b6f9e9 Bug 720396 - Fix Debugger.addDebuggee with Debuger.prototype. r=jorendorff 2012-06-19 17:24:57 +02:00
Terrence Cole
505612f32d Bug 765909 - Report slice when time as slice start, not end; r=billm
--HG--
extra : rebase_source : 8ccea5f0d1bb06f2bff26a96d9d0c43556757e42
2012-06-18 18:15:06 -07:00
Bill McCloskey
3c71eb2278 Bug 754725 - Fix type tags during VM stack scanning (r=bhackett) 2012-06-18 17:04:56 -07:00
Bill McCloskey
4c2d61cf13 Bug 757431 - Fix stack scanning in Splat (r=bhackett) 2012-06-18 17:04:52 -07:00
Bill McCloskey
a28b77fa3e Bug 758846 - Disable cross-compartment wrapper checking during creation (r=luke) 2012-06-18 17:04:48 -07:00
Bill McCloskey
b8cfc6f014 Bug 762982 - Fix verifybarriers() shell call (r=luke) 2012-06-18 17:04:43 -07:00
Jeff Walden
fb7e6c0e93 Bug 763000 - Remove MOZ_Assert. r=Ms2ger, r=terrence, r=ted 2012-06-07 14:41:11 -07:00
Joey Armstrong
5ae0125514 bug 757855: move xpidl* logic into a named makefile - batch #1 2012-06-01 11:13:07 -04:00
Luke Wagner
a546dae90d Bug 765297 - free up bits in String::lengthAndFlags for new string subtypes (r=njn)
--HG--
extra : rebase_source : 798f9c1e1a1176ce218bb4d336f6403e1cbd55aa
2012-06-18 09:37:25 -07:00
Jan de Mooij
470afb9d91 Bug 765733 - Don't emit singleton array initializers for empty arrays. r=bhackett 2012-06-18 16:54:22 +02:00
Bobby Holley
eb49fa0fd9 Bug 764289 - Null-check desc->obj after calling Proxy::getPropertyDescriptor. r=jorendorff 2012-06-18 15:19:39 +02:00
Luke Wagner
6ad1fafe50 Bug 764249 - Fix the non-reentrant-closure fix in bug 762473 (r=dvander) 2012-06-17 23:44:27 -07:00
Luke Wagner
6e0566a137 Backout 925c31734424 (wrong bug, wrong patch) 2012-06-17 23:40:47 -07:00
Benjamin Peterson
90142e4f80 Bug 763954: give the rest argument integer properties, r=bhackett 2012-06-16 17:27:13 +12:00
Terrence Cole
82639a6888 Bug 764440 - Add config option and code to enable exact stack rooting; r=billm
Now that we have Handles working in most of the engine, we need to provide the
ability to use them in GC for testing.

--HG--
extra : rebase_source : cb3e21ec1a5b537207dbe2ebef558b0da247d30c
2012-06-13 11:15:23 -07:00
Terrence Cole
65eb4f944e Bug 763636 - Do not OOM after rekeying a HashTable; r=luke
This makes the overloaded case fixup after a rekey infallible by rehashing into
the existing table, rather than allocating a new one.

--HG--
extra : rebase_source : fdd3f8bb1c9d2788c7281b69c974fdea0464fea8
2012-06-15 13:21:24 -07:00
Luke Wagner
4f2f1f18f9 Bug 764249 - Fix the non-reentrant-closure fix in bug 762473 (r=dvander)
--HG--
extra : rebase_source : c5db1eda08f62721b5dc1aa92e13f9169c69c587
2012-06-13 11:36:13 -07:00