Commit Graph

26364 Commits

Author SHA1 Message Date
Nicholas D. Matsakis
cdc6685302 Bug 854400 - Disable double conversion in parallel mode r=bhackett 2013-05-08 14:08:38 -04:00
Ed Morley
bdc4468608 Backed out changeset 47e92fbb6153 (bug 860965) for Win8 xpcshell assertions 2013-05-13 13:01:40 +01:00
Dão Gottwald
9ae00fda47 Bug 870868 - Freeze the second number of the UA Gecko version at zero. r=glandium 2013-05-13 13:31:50 +02:00
Ed Morley
36fb30076b Backed out changeset 496846474ed3 (bug 864774) 2013-05-13 10:05:49 +01:00
Mike Shal
02469b68e2 Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey
From 140b9201e3b5d2d8efe7af286d279c2411dbc197 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Ehsan Akhgari
6437aef98e Bug 871259 - Fix rooting hazards in ContextWrapperChild.h; r=till 2013-05-12 15:45:52 -04:00
Vladimir Vukicevic
f5a6dcb943 b=866431, Create XHR ArrayBuffer directly instead of going via nsCString, r=bz,sfink 2013-04-27 15:25:24 -04:00
Ehsan Akhgari
05fd8d38f6 Bug 871192 - Fix more rooting hazards in the JS debugger; r=till 2013-05-12 09:13:22 -04:00
Shu-yu Guo
3534bfcabb Bug 860965 - Move 1D ParallelArray operations to Array. (r=luke) 2013-05-11 22:39:46 -07:00
David Zbarsky
4cf96f4173 Bug 868312 - Rooting fixes for dom r=bz 2013-05-12 01:17:42 -04:00
Ehsan Akhgari
7aebe2e2f5 Bug 871182 - Fix rooting hazards in ObjectWrapperParent.cpp; r=till
--HG--
extra : rebase_source : 374a30e6001d8a1935f7cf57e8bf8a7cf2e03b05
2013-05-12 01:10:43 -04:00
Ehsan Akhgari
64416d00de Bug 871181 - Fix rooting hazards in ObjectWrapperChild.cpp; r=till
--HG--
extra : rebase_source : 6666339f5970fe0a65b46868e1155c1af74f27d2
2013-05-12 01:09:51 -04:00
Josh Matthews
8f0773e606 Bug 597064 - Add timeout logic to xpcshell test runner. r=ted 2012-12-20 03:43:19 -05:00
Jan de Mooij
278ef20681 Bug 868990 part 2 - Remove ScriptFrameIter and rename StackIter to ScriptFrameIter. r=luke
--HG--
extra : rebase_source : b344fae9d8f62e045bac61a4481cf80c32bd38d1
2013-05-09 13:31:03 +02:00
Jon Coppeard
cc5d536d60 Bug 869526 - GC: Fix more rooting hazards in xpconnect r=bholley 2013-05-09 10:39:21 +01:00
David Zbarsky
7921fbf41a Bug 868312: Root dom/workers r=bz 2013-05-09 03:27:40 -04:00
Jan de Mooij
7d7e6ac79a Bug 868990 - rm CallArgsList, StackIter cleanup. r=luke 2013-05-07 09:00:24 +02:00
Ehsan Akhgari
7e435ac3f8 Backed out changeset 694322457a64 (bug 860867) because the clang bug which required this workaround has been fixed 2013-05-08 20:26:00 -04:00
Sean Stangl
d7355c9aa3 Bug 870149 - Move common x86/x64 lowering code to x86-shared. r=h4writer 2013-05-08 16:00:03 -07:00
Luke Wagner
5c26ef4193 Bug 870144 - don't assume non-definition argument has a name when reporting asm.js validation errors (r=terrence)
--HG--
extra : rebase_source : 7b7ecf87bcbe04618c17cc117b299b733957f088
2013-05-08 16:34:01 -07:00
Luke Wagner
b7e2927bf2 Make test_asmjs.html run faster (no bug,r=me)
--HG--
extra : rebase_source : 22f32a01d39e1de3ae7e2a070ee1ea01dc4b9a75
2013-05-07 16:47:18 -07:00
Sean Stangl
b46ec25993 Bug 870095 - Prefer clobbering binary operands with no further uses. r=h4writer 2013-05-08 16:42:50 -07:00
Dan Gohman
d5ec8dc50e Bug 869507 - Eliminate unnecessary NaN checks. r=me
Several common floating-point conditions can be implemented without using a
separate NaN test.
2013-05-08 16:38:39 -07:00
Dan Gohman
c47646b6dd Bug 869532 - Eliminate unnecessary NaN checks and emit less redundant code. r=me 2013-05-08 16:38:39 -07:00
Brian Hackett
1eece0a0ed Bug 868890 - Correctly generate barrier when accessing undefined properties of objects whose prototype also has the property, r=dvander. 2013-05-08 17:25:24 -06:00
Kannan Vijayan
3e9d4f4af2 Bug 870051 - Fix build warning. r=dholbert 2013-05-08 18:11:55 -04:00
Terrence Cole
cd1aec056b Bug 777548 - Make non-cc-participant tracing indirect; r=smaug,billm,jst 2013-03-28 13:37:22 -07:00
Boris Zbarsky
53dd2065b3 Bug 869040. Fix ion IC for non-overridebuiltins named gets on ListBase proxies to not cache lack of a property when it's just missing on the prototype. r=djvj 2013-05-08 15:50:58 -04:00
Terrence Cole
15c82ffb31 Bug 869234 - No need for barriers on the LIR constant pool. r=bhackett 2013-05-08 11:45:22 -07:00
Terrence Cole
e17648d8c9 Bug 869222 - Allow GC things embedded in IonScript to move. r=dvander
IonScripts normally live as long as their owner JSScript; however, they can
occasionally get destroyed outside the context of a GC by FinishInvalidationOf.
Because of this case, we cannot use the normal store buffer to guard them.
Instead we use the generic buffer to mark the owner script, which will mark the
IonScript's fields, if it is still alive.
2013-05-08 11:43:32 -07:00
Terrence Cole
6dce690619 Bug 868610 - Do not use the arena header when cloning object literals. r=billm 2013-05-02 16:33:15 -07:00
Terrence Cole
b1182fbff4 Bug 863808 - Implement a store buffer for marking whole objects. r=billm 2013-04-19 13:38:25 -07:00
Ryan VanderMeulen
f83acac229 Backed out changeset 97163e4941f2 (bug 869507) for checktest assertions and crashes.
CLOSED TREE
2013-05-08 14:59:12 -04:00
Dan Gohman
656c306ccf Bug 869507 - IonMonkey x86: Eliminate unnecessary NaN checks. r=nbp
Several common floating-point conditions can be implemented
without using a separate NaN test.
2013-05-08 11:28:55 -07:00
Sean Stangl
be79970657 Bug 861440 - Add VTune Instrumentation to OdinMonkey. r=luke 2013-04-15 14:30:12 -07:00
Jan de Mooij
53754c4605 Bug 868042 - Bump PropertyTree::MAX_HEIGHT for objects not used as hashmaps. r=bhackett 2013-05-08 19:05:59 +02:00
Dan Gohman
f3a5ee6183 Bug 869501 - Add an accessor to MCompare for testing whether the comparison is
any flavor of double comparison, and use it when testing whether to create
LCompareAndBranch nodes. r=bhackett
2013-05-08 10:03:53 -04:00
Brian Hackett
1c38c3fc37 Bug 869706 - Track nonNativeGetElement and accessGetter info in baseline scripts, r=jandem. 2013-05-08 07:53:49 -06:00
Jon Coppeard
7ada5be6f3 Bug 869469 - GC: Fix typo in rooting analysis script and add annotation for MDefinition.opName r=sfink 2013-05-08 11:38:12 +01:00
Jon Coppeard
a1c817d9c7 Bug 869479 - GC: Fix rooting hazards in jsapi tests r=terrence 2013-05-08 11:38:12 +01:00
Nicholas D. Matsakis
139b0f007f Bug 865028 - Fuse ParallelDo and ForkJoin r=shu 2013-05-08 05:15:32 -04:00
Hannes Verschore
79ee3bf2fc Bug 864468: IonMonkey: Skip argument type checks when type is known to match, r=jandem 2013-05-08 09:54:39 +02:00
Makoto Kato
80436162a3 Bug 800220 - Part 1. Replace PL_strlen with strlen. r=ehsan 2013-05-08 12:40:12 +09:00
Ryan VanderMeulen
210edab1cd Merge inbound to m-c. 2013-05-07 22:10:19 -04:00
Ehsan Akhgari
40bfbec9ac Backed out changeset 11a3ee38afff (bug 853494) for various types of bustage on a CLOSED TREE 2013-05-07 18:36:43 -04:00
Ehsan Akhgari
f4df5ffb5c Backed out changeset da02b1166a5c (bug 597064) because of mochitest failures on a CLOSED TREE 2013-05-07 18:33:49 -04:00
Luke Wagner
0adc1f4120 Bug 868184 - OdinMonkey: enable by default on beta/release (r=vlad)
--HG--
extra : rebase_source : c97bf37723eded74f95aae21e2baa692cf059c2e
2013-05-07 13:34:17 -07:00
Josh Matthews
3bdacf49cb Bug 597064 - Add timeout logic to xpcshell test runner. r=ted 2012-12-20 03:43:19 -05:00
Benoit Jacob
6f750168b3 Bug 853494 - both --disable-optimize and --enable-debug should imply --disable-icf - r=glandium 2013-05-07 16:20:57 -04:00
Chris Peterson
bc0d81d57f Bug 869517 - Fix JSFlatString RootKind compilation error when building with --enable-root-analysis. r=billm 2013-05-05 21:07:29 -07:00
Kannan Vijayan
9cfe41c270 Bug 869056 - Added optimized baseline stubs for JSOP_FUNAPPLY with MagicValue(Arguments) as second arg. r=evilpie 2013-05-07 15:17:54 -04:00
Dan Gohman
d440381c4e Bug 869539 - Eliminate padding in x64 Operand and add missing const. r=sstangl 2013-05-07 11:52:37 -07:00
Dan Gohman
06974d5afd Bug 869511 - Fix a copy+pasto in a comment. r=sstangl 2013-05-07 11:52:34 -07:00
Kannan Vijayan
cf8ed4eb5f Bug 869529 - Fix LiveRangeAllocator loopWorkList handling. r=bhackett 2013-05-07 14:49:02 -04:00
Dan Gohman
4b64a0f416 Bug 869510 - x86 assembler spew improvements. r=sstangl 2013-05-07 11:39:33 -07:00
Bobby Holley
90cecee36b Bug 868675 - Tests. r=gabor 2013-05-07 10:09:02 -07:00
Bobby Holley
771069e4dc Bug 868675 - Introduce a Cu API for waiving/unwaiving. r=gabor,sr=mrbkap
This should be the API we promote going forward.
2013-05-07 10:09:02 -07:00
Bobby Holley
93cdc4ce53 Bug 868675 - Allow waiving on non-native objects. r=gabor 2013-05-07 10:09:02 -07:00
Bobby Holley
7c2906a3f4 Bug 868675 - Don't throw for primitive-valued inputs to XPCNativeWrapper{,.unwrap}. r=gabor 2013-05-07 10:08:59 -07:00
Hannes Verschore
bbf10bd71c Bug 867070: IonMonkey: Disable hoisting of some instructions when it doesn't enable hoisting one of their uses, r=dvander 2013-05-07 09:10:52 +02:00
Peter Van der Beken
4c5fc68485 Bug 868929 - Convert ImageDocument to WebIDL, drop hasXPConnectImpls from documents. r=bz.
--HG--
rename : content/html/document/src/ImageDocument.cpp => content/html/document/src/ImageDocument.h
extra : rebase_source : 23d83e5fcf8b6a6162524c09e7057edaeddec044
2013-05-07 17:27:53 +02:00
Jan de Mooij
78adc729e5 Bug 866050 - Fix UsesBeforeIonRecompile. r=bhackett
--HG--
extra : rebase_source : 6f4cfa4561b1c8af0b28a10604ddb43824553310
2013-05-07 16:31:25 +02:00
Jan de Mooij
fddefc364f Bug 690446 - Emit *GNAME ops in non-eval strict-mode code. r=bhackett
--HG--
extra : rebase_source : 11bced315dd2d4fa125ac1e2cd7f4b599dd62c3c
2013-05-07 16:27:14 +02:00
Ryan VanderMeulen
f5c8033290 Backed out 2 changesets (bug 867070, bug 868990) for Windows PGO bustage on a CLOSED TREE.
Backed out changeset d5ff413f723a (bug 867070)
Backed out changeset 93f778d03364 (bug 868990)
2013-05-07 10:09:43 -04:00
Brian Hackett
7745917172 Bug 865059 - Move pc -> type set map out of script analysis, don't analyze scripts until they are compiled by Ion, r=jandem. 2013-05-07 05:11:46 -06:00
Jan de Mooij
e9332cafb9 Bug 868990 follow-up to fix --disable-ion build. 2013-05-07 09:34:42 +02:00
Hannes Verschore
745b7ca91a Bug 867070: IonMonkey: Disable hoisting of some instructions when it doesn't enable hoisting one of their uses, r=dvander 2013-05-07 09:10:52 +02:00
Jan de Mooij
b3ba54fa19 Bug 868990 - rm CallArgsList, StackIter cleanup. r=luke 2013-05-07 09:00:24 +02:00
Bobby Holley
84aefeb108 Bug 834707 - Kill dynamic SOWs. r=gabor
Now that XBL scopes are here to stay (no more pref), we can remove all the
machinery that makes SOWs dynamic. We still need SOWs until bug 825392 is
fixed, but they can now be totally opaque.

One side effect of this patch is that, due to our usage of Opaque, we now
allow CALL on SOWs. But this shouldn't be a problem, because SOWs are used
for anonymous elements which are not callable (and we probably wouldn't mind
it even if they were).
2013-05-06 19:38:23 -07:00
Bobby Holley
023dfdb6f3 Bug 834707 - Disable SOWs for remote XUL domains. r=bz
We have to do this if we want to proceed with eliminating SOWs entirely. Given
the other restrictions around remote XUL, I don't think this is a problem.

Note that we shouldn't need any special handling in the wrapper reparenting
paths, because those all depend on whether a SOW was there already. So that
would only be an issue if it were possible to adoptNode from a non-remote-XUL
domain into a remote-XUL domain, which thankfully can't happen.
2013-05-06 19:38:22 -07:00
Ryan VanderMeulen
c7f7e6de00 Backed out changeset 4ca9a6bd8f64 (bug 865059) for jsreftest crashes. 2013-05-06 22:20:26 -04:00
Douglas Crosher
890328b74b Bug 868747 - Avoid a crash outputting 'resume state' debug 'spew' when compiling asm.js code. r=luke 2013-05-04 23:20:56 +10:00
Cykesiopka
33242e1873 Bug 756067 - Remove js::GetOwnerThread. r=mrbkap 2013-05-06 22:00:06 -04:00
Luke Wagner
a9b2e586b5 Bug 854602 - improve asm.js validation errors (r=terrence)
--HG--
extra : rebase_source : 6fac0a76572ce6b794808234f7c44d4c88a4a1dd
2013-05-06 18:27:51 -07:00
Brian Hackett
82007f2750 Bug 865059 - Move pc -> type set map out of script analysis, don't analyze scripts until they are compiled by Ion, r=jandem. 2013-05-06 19:15:16 -06:00
Daniel Holbert
92fb0e58d2 Bug 845713: Remove two unnecessary RangedPtr.h #includes in js (shifting one to the .cpp file). r=Waldo 2013-05-06 17:37:59 -07:00
Jeff Walden
1b9d11688c Bug 867749 - When cloning objects for self-hosting, clone with a null prototype to eliminate poisoning concerns from that global's standard objects. r=till
--HG--
extra : rebase_source : 414b9f1f0e07e762b4c88c35efc1be3f6abfcb60
2013-05-01 17:12:56 -07:00
Jeff Walden
a957c2a44a Bug 862657 - Attempt to fix OS X warnings-as-errors bustage by adding a move constructor to ChunkBitmap, hopefully fixing an issue due to ChunkBitmap::bitmap being volatile. r=billm
--HG--
extra : rebase_source : fb8072fd823ade03a49656a4456ae82c8db820e4
2013-05-06 16:44:33 -07:00
Bobby Holley
5b4a6b5b06 Bug 868122 - Remove nsIScriptContextPrincipal. r=gabor
\o/
2013-05-06 16:53:10 -07:00
Bobby Holley
c9228b2c97 Bug 868122 - Calculate the JS_SaveFrameChain optimization by directly examining the principal of the default compartment. r=mrbkap,gabor 2013-05-06 16:53:10 -07:00
Gavin Sharp
ea8b76dbc4 Bug 853071: add some build-time defines for channel-specific features, r=gps, f=bhearsum
--HG--
rename : browser/config/mozconfigs/linux32/release => browser/config/mozconfigs/linux32/beta
rename : browser/config/mozconfigs/linux64/release => browser/config/mozconfigs/linux64/beta
rename : browser/config/mozconfigs/macosx-universal/release => browser/config/mozconfigs/macosx-universal/beta
rename : browser/config/mozconfigs/win32/release => browser/config/mozconfigs/win32/beta
extra : transplant_source : %F6%CFK%CE%16v%07%8A%D5o%97%8C%BB%95q%D5%3C%93%2B%94
2013-04-25 12:23:21 -07:00
Luke Wagner
3432ad7751 Bug 868684 - OdinMonkey: sequential compilation allocates LIR in the tempLifoAlloc (r=sstangl) 2013-05-06 16:05:19 -07:00
Luke Wagner
e90f668307 Bug 868658 - OdinMonkey: also require explicit coercion of function-pointer calls (r=sstangl) 2013-05-03 18:38:00 -07:00
Terrence Cole
f1726d5d97 Bug 864085 - Inline Cell::isTenured; r=billm
--HG--
extra : rebase_source : ee9d5e65652dcc6c233542c063c1e2eaf51b2bf0
2013-05-06 11:37:07 -07:00
Till Schneidereit
e1d27fb43f Bug 868369 - remove guard in jsd_SetExecutionHook made superfluous by change in _newJSDScript to align with beta and aurora branches. r=me
--HG--
extra : rebase_source : 88045156e58f6d65f2ee1e821e24452be1a64a94
2013-05-06 21:43:57 +02:00
Nicholas D. Matsakis
f07c4605f8 Bug 867019 - disable PJS in aurora too r=sstangl 2013-04-29 21:44:12 -04:00
Till Schneidereit
ced9bd259d Bug 868369 - don't ever create JSDScripts for self-hosted scripts. r=sfink
--HG--
extra : rebase_source : 2104e9dca9c05c158e78a0ba740227e4a190e125
2013-05-06 19:17:38 +02:00
Douglas Crosher
7647c12832 Bug 868683 - Assert that the immediate shift given to the ARM shift instructions is within range. r=mjrosenb 2013-05-04 11:35:54 +10:00
Sankha Narayan Guria
7f0c4baace Bug 867414 - Rename SafeAutoJSContext to AutoSafeJSContext. r=bholley 2013-05-06 09:04:17 -04:00
Brian Hackett
78d837185a Bug 865984 - Treat virtual calls on nsISupports subclasses as potentially triggering GC. DONTBUILD 2013-05-06 06:03:34 -06:00
Ehsan Akhgari
5311a25570 Bug 868790 - Fix some rooting hazards in the JS Debugger; r=till 2013-05-05 17:13:03 -04:00
Phil Ringnalda
fedf6c0df7 Merge m-c to m-i 2013-05-05 12:17:07 -07:00
Ms2ger
65037ba176 Bug 868727 - Pass an nsAString to nsGlobalWindow::GetChildWindow; r=bz 2013-05-05 09:03:19 +02:00
Ms2ger
afaa2a6431 Bug 868725 - Pass non-const jschar* to AtomizeAndTakeOwnership; r=evilpie 2013-05-05 09:03:18 +02:00
Ms2ger
3d6ccad416 Bug 866051 - Make CallArgs a stack class; r=Waldo 2013-05-05 09:03:16 +02:00
Ms2ger
634a0652fb Bug 868411 - Handlify js::GetObjectProto; r=bz 2013-05-05 09:03:14 +02:00
Mike Hommey
9aab515c1d Bug 777379 - Set .DEFAULT_GOAL unconditionally, override with OVERRIDE_DEFAULT_GOAL, and fix pymake to be on par with GNU make when handling .DEFAULT_GOAL. r=gps 2013-05-05 10:16:25 +02:00
Nicolas B. Pierron
b279a01160 Bug 868708 - IonMonkey: ARM, Add Move instruction when we divide by 1. r=mjrosenb 2013-05-04 23:57:04 -07:00
Shu-yu Guo
4de1140fb0 Bug 646597 - Make functions made by the Function constructor compile-and-go. Most of patch was originally written by jorendorff. (r=luke) 2013-05-04 20:53:21 -07:00
Dan Gohman
a539075045 Bug 868027 - Use push to push integer registers onto the stack on x64. r=nbp
Use push instead of adjusting the stack pointer and doing stores manually.
This significantly reduces code size for these sequences.
2013-05-03 19:20:30 -07:00