Commit Graph

29079 Commits

Author SHA1 Message Date
Nicholas Nethercote
22f5e7c43c Bug 916531 (follow-up) - Re-landed changeset 47e05e8df03b (bug 915482, part 4) because it wasn't causing hangs on Windows after all. r=me.
--HG--
extra : rebase_source : 6c6e6dfa327e591a227e4da4bdb0539b6aaa2f05
2013-09-12 17:44:47 -07:00
Nicholas D. Matsakis
e35e1b0fd2 Bug 917360 - Fix tests in case that BINARYDATA or PARALLELJS are not enabled. r=nbp 2013-09-17 13:34:45 -04:00
Wes Kocher
8009e15796 Backed out changeset bba922f6d4f3 (bug 914405) for mochitest-bc bustage 2013-09-17 17:34:51 -07:00
Bill McCloskey
6b584f8a05 Bug 899697 - Try to silence spurious Windows jit-test failures (r=terrence) 2013-09-17 17:32:25 -07:00
Dan Gohman
123229e2fe Bug 916681 - SpiderMonkey: Remove obsolete mjit counters. r=luke 2013-09-17 15:44:43 -07:00
Dan Gohman
e06f5ad3ba Bug 916681 - Cleanup obsolete references to mjitalways and friends in the testsuite. r=luke 2013-09-17 15:44:43 -07:00
Dan Gohman
4a977da908 Bug 916683 - SpiderMonkey: Delete unused code. r=n.nethercote 2013-09-17 15:44:43 -07:00
Dan Gohman
e34e9710c4 Bug 916683 - SpiderMonkey: Delete a function which has been obsolete for over 3 years. r=n.nethercote 2013-09-17 15:44:43 -07:00
Dan Gohman
dfdba8ca0e Bug 916683 - SpiderMonkey: Tidy up misc preprocessor stuff. r=n.nethercote 2013-09-17 15:44:42 -07:00
Dan Gohman
8c26df1afd Bug 916167 - IonMonkey: Explicitly break dependencies from partial-writes to xmm registers. r=jandem 2013-09-17 15:27:27 -07:00
Jim Blandy
0389359c56 Bug 914405: Define makeGlobalObjectReference, a quick way to get D.O's referring to global objects, to simplify the web console. r=jorendorff r=msucan 2013-09-17 15:21:11 -07:00
Dan Gohman
7a283c2261 Bug 910877 - SpiderMonkey: Fix autoconf detection of routines in libm. r=ted.mielczarek 2013-09-17 09:13:24 -07:00
Luke Wagner
cdd0628365 Bug 917064 - ARM: enable HWCAP_ARMv7 on qemu (r=mjrosenb)
--HG--
extra : rebase_source : d92c495130f557f379b09ab445918521a74bf378
2013-09-17 17:01:14 -05:00
Luke Wagner
8b5e71c37a Bug 916912 - Remove Operand(void*) overload (r=jandem)
--HG--
extra : rebase_source : 26dd0e59e2a2ca660f74c13466dfe213683e53a3
2013-09-17 10:34:22 -05:00
Luke Wagner
9fd40202bb Bug 916912 - Add addConstantDouble to avoid static double usage (r=jandem)
--HG--
extra : rebase_source : 831893b2a7406ffe40f2d3892e3dd1b563481267
2013-09-17 10:34:20 -05:00
Luke Wagner
3027e07bc3 Bug 916912 - Convert loadStatic(Float|Double) to loadConstant(Float|Double) (r=jandem)
--HG--
extra : rebase_source : 6b04ef4545610b33d0f7d0601acc3137b5f3ce59
2013-09-17 10:32:06 -05:00
Steve Fink
66d1472935 Bug 916986 - Implement a JSAutoAssertNoGC for the analysis to pay attention to, r=terrence 2013-09-17 10:50:03 -07:00
Benjamin Bouvier
4a8127c107 Bug 916712: Convert Float32 TableSwitch inputs to doubles; r=jandem
--HG--
extra : rebase_source : c5622e25d7fa8c82ef8e972c8dc6e0b4ed0fdd1b
2013-09-17 11:42:26 -07:00
Ryan VanderMeulen
674f67066f Merge m-c to inbound on a CLOSED TREE. 2013-09-17 16:55:23 -04:00
Gregory Szorc
cdffdcbee4 Merge mozilla-central into build-system 2013-09-17 09:16:10 -07:00
Alex Keybl
9312d29ec1 Merging in version bump NO BUG 2013-09-17 09:38:37 -04:00
Gregory Szorc
b31c10426d Bug 907902 - Create system isolated virtualenv, remove --system-ply support; r=glandium 2013-09-16 17:21:59 -07:00
Douglas Crosher
f6abf0fcd6 Bug 916755 - visitClampVToUint8 creates unused oolTruncateDouble code and does not bind a return label. r=shu 2013-09-16 22:43:54 +10:00
Douglas Crosher
56bb67929a Bug 916539 - ARM: Integer multiplication by a constant negative power of two is incorrectly optimized to a shift operation. r=mjrosenb 2013-09-15 21:53:58 +10:00
Douglas Crosher
4a68436bac Bug 916413 - Odinmonkey: Disable attempts to hoist bounds checks when compiling asm.js code as it is not applicable. r=luke 2013-09-14 16:31:46 +10:00
Douglas Crosher
1b1c1a55a8 Bug 911254 - Odinmonkey: Support a wider range of heap lengths rather than just powers of two. r=luke 2013-09-17 08:13:45 +10:00
Gregory Szorc
af19e5b485 Bug 799189 - Use mozprocess in cl.py; r=mshal 2013-09-16 12:55:34 -07:00
Jeff Walden
f30faa8301 Bug 916394 - Change expected results for an it-using test that crept in since tryservering. r=orange in a CLOSED TREE 2013-09-17 10:53:54 -07:00
Brian Hackett
dd3604dea2 Bug 916753, Bug 916531, Bug 916504 - Fix various deadlocks, r=billm,jandem. 2013-09-17 11:29:28 -06:00
Terrence Cole
27c201da79 Bug 916147 - Clean up jit-test's --tinderbox output format; r=dminor
--HG--
extra : rebase_source : 906b32403a231316b6bb7511c42eb04d51d04a49
2013-09-13 10:04:01 -07:00
Terrence Cole
b25c74c014 Bug 916993 - Handlify the public JSString APIs; r=bz,jonco
--HG--
extra : rebase_source : 35c5d7832d794ce37be622db3140309d2605c212
2013-09-16 18:33:40 -07:00
Jeff Walden
cc7b514bd3 Bug 912701 - Expand some Intl self-hosting assertion messages to aid in debugging-by-eye. r=trivial
--HG--
extra : rebase_source : 736ee90d527ea2b44cc3929e0ba7a40947842a0b
2013-09-16 14:26:56 -07:00
Jeff Walden
9ef88ee9ca Bug 916394 - Remove the |it| object from the shell: everything it tests is better-tested with a JSAPI test these days, and it's largely redundant. r=jorendorff
--HG--
extra : rebase_source : f97d63fdf89a0eacf0f2e091fc3f64aa590371eb
2013-09-12 15:45:43 -07:00
Bobby Holley
14890f5c3c Bug 905926 - Remove workaround in xpcshell. r=billm 2013-09-17 09:46:33 -07:00
Bobby Holley
e6da6b2483 Bug 905926 - Be more explicit about GCing twice in the nsXPConnect destructor. r=billm
In the current setup, we'll end up GCing once when destroying the SafeJSContext,
and then once again immediately after in the explicit GC we do before destroying
the XPCJSRuntime. It would be nice to avoid the first GC entirely, but we
currently need both to avoid leaking.

All in all, these patches cause us to GC three times during shutdown, rather
than twice as we did before, because the second GC was rolled together with
the runtime destruction GC when we destroyed the last JSContext. There are a
number of ways to eliminate these, at least in opt builds, but mccr8 thinks
it probably doesn't matter, since there shouldn't be much left in the heap after
the second GC.

We can probably get away with eliminating rambo GC entirely at some point. But
this might become irrelevant for the browser if we end up doing bug 662444.

It would also be interesting to see what, if anything, the rambo GC actually
collects. We might even be able to get away with asserting that all the zones
are gone and removing the GC entirely.

We also take the opportunity to kill mOwnSafeJSContext, which no longer holds
any meaning.
2013-09-17 09:46:32 -07:00
Bobby Holley
db0f1b2486 Bug 905926 - Stop using hasContexts(). r=billm,jonco
This patch is a joint effort between billm and myself. I'm marking myself as
the author because I worked on it more recently, which means that Bill should
probably review it again in addition to jonco, and self-review is frowned upon.

There were a few places where we relied on !rt->hasContexts() to mean
"this is the last GC". That was never really valid, and it especially isn't
valid with the previous patch. This patch replaces the check everywhere it's
used in the GC.
2013-09-17 09:46:32 -07:00
Bill McCloskey
405434ea57 Bug 905926 - Move rambo GC to runtime destruction. r=jonco 2013-09-17 09:46:32 -07:00
Bobby Holley
1ad8df102b Bug 905926 - Remove watchpoints on all compartments during shutdown, not just the cx compartment. r=billm 2013-09-17 09:46:32 -07:00
Bobby Holley
c681efb5f2 Bug 905926 - Invoke JS_DestroyRuntime before we totally tear down the XPCJSRuntime. r=billm 2013-09-17 09:46:31 -07:00
Bobby Holley
f52162ac7e Bug 905926 - Stop creating an ephemeral JSContext during XPConnect shutdown. r=billm
This interacts badly with our attempts to shut things down nicely, and happens
to be entirely unused. the primary impact of it ends up being that the cx
destruction triggers a GC, which we depend on. But we can do that manually.
2013-09-17 09:46:31 -07:00
Bobby Holley
c7e7c05aa3 Bug 905926 - Explicitly track whether a context has been created. r=billm
The current mechanism is pretty sloppy, and falls over if the context count ever
drops to zero and then increases again. Let's do this right.
2013-09-17 09:46:31 -07:00
Bill McCloskey
abdd2621a2 Bug 905926 - Fix small bugs. r=jonco
This patch fixes two small issues.

(1) It tightens an assertion in finalizeNow. Stuff finalized in finalizeNow
    should never be finalized off the main thread, so we shouldn't have to
    worry about BFS_JUST_FINISHED.

(2) If the only compartment that's left to GC is the atoms compartment, then
    we're not collecting it. I just moved the |any| check down below the
    code that decides whether to schedule the atoms compartment for GC.
2013-09-17 09:46:31 -07:00
Bobby Holley
04cc7dffd1 Bug 916983 - Stop allowing writes for named access to cross-origin properties. r=bz 2013-09-17 09:46:30 -07:00
Bobby Holley
f8051a0c81 Bug 860494 - Tests. r=bz 2013-09-17 09:46:30 -07:00
Ehsan Akhgari
e748e79566 Bug 917267 - Remove some unneeded code in xpconnect; r=bholley 2013-09-17 12:38:56 -04:00
Brian Hackett
fd18d7f13c Bug 916914 - Remove ScriptAnalysis::ionInlineable(), r=jandem. 2013-09-17 08:39:01 -06:00
Ed Morley
cdd4002812 Merge mozilla-central and inbound 2013-09-17 15:30:21 +01:00
Luke Wagner
74e5ee91ed Bug 909709 - Reuse MOZ_LINKER IsSignalHandlingBroken to disable asm.js signal handlers (r=glandium)
--HG--
extra : rebase_source : 8f9daa6efb8ccd3344fa789a98a3fff93bbdd68b
2013-09-16 12:58:38 -05:00
Luke Wagner
d61eaccce2 Bug 909709 - Fix # indentation in AsmJSSignalHandlers.cpp (r=glandium)
--HG--
extra : rebase_source : b610d4904e7a052216189796ea2ced52097c6a3b
2013-09-16 12:58:37 -05:00
Tooru Fujisawa
33a4d5016c Bug 762363 - ES6 spread-call syntax: f(...args). r=jorendorff. 2013-09-13 18:32:21 +09:00