Commit Graph

26311 Commits

Author SHA1 Message Date
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
Dan Gohman
42ad8d0952 Bug 868535 - IonMonkey: Optimize signed division by constant power of 2. r=nbp 2013-05-03 18:58:00 -07:00
Boris Zbarsky
fba1502aa7 Bug 865969 part 6. Fix rooting hazards in BindingUtils.cpp. r=smaug 2013-05-03 19:29:08 -04:00
Boris Zbarsky
9122c4fa70 Bug 865969 part 5. Root the id argument of WebIDL DefineInterface methods. r=smaug 2013-05-03 19:29:08 -04:00
Boris Zbarsky
25dc5fc616 Bug 865969 part 3. Add ways of creating Handle<Value> holding null and undefined values. r=terrence 2013-05-03 19:29:08 -04:00
Luke Wagner
a4b32eb386 Bug 868334 - test for MacroAssembler::oom in nextJump (r=sstangl)
--HG--
extra : rebase_source : 0f24502942176278fb94d3d978941deac1d77050
2013-05-03 14:43:33 -07:00
Bobby Holley
4ff0e41f8c Bug 829872 - Fix up tests that depend on contentDocument being non-null. r=imelven
These almost universally depend on some sort of special privileges, so I don't
think they're representative of any use-cases we might find on the web.
2013-05-03 14:47:10 -07:00
Bobby Holley
44f2e6b974 Bug 829872 - Tests. r=bz 2013-05-03 14:47:09 -07:00
Luke Wagner
f13efd21c6 Bug 854209 - add asm.js mochitests (r=sstangl) 2013-05-03 14:45:07 -07:00
Brian Hackett
c0d3ad3d1f Bug 867784 - Allocate RegExpObjects initially tenured; r=sstangl,terrence 2013-03-20 16:15:00 -07:00
Brian Hackett
786bc9fc87 Bug 863858 - Create Call and DeclEnv objects in the Nursery; r=dvander,terrence
--HG--
extra : rebase_source : cf78a73f8e702fed48b2cc05b093f32536640ba6
2013-03-20 16:15:00 -07:00
Steve Fink
4d36b986a4 Bug 868580 - Export AutoObjectVector. r=terrence
--HG--
extra : rebase_source : 3a7cc950d8451e1ceeddbc1eef615794551c64f6
2013-05-03 13:53:07 -07:00
Steve Fink
f82f6382fe No bug. Fix rooting analysis error handling. DONTBUILD 2013-05-03 12:57:46 -07:00
Kannan Vijayan
9399757035 Bug 861596 - Add optimized ArgumentsObject stub to ion ICs. Topcrash fixed. r=h4writer 2013-05-03 15:31:42 -04:00
Matt Brubeck
6a478c802f Back out changeset e7e44c2d6d72 (bug 860027) because of Ts and MaxHeap regressions 2013-05-03 11:00:24 -07:00
Gregory Szorc
865b1ce89b Bug 863069 - Part 1: Sort lists in moz.build files; r=mshal 2013-05-03 09:54:45 -07:00
Kannan Vijayan
a0970d479a Bug 867160 - Allow baseline to bypass scriptAnalysis on most scripts. r=jandem 2013-05-03 11:49:51 -04:00
Peter Van der Beken
01dccf283c Bug 855971 - Switch HTMLDocument to WebIDL bindings. r=bz. 2012-12-11 21:45:36 -05:00
Peter Van der Beken
22ff67da06 Bug 820846 - Modify the ListBase IC to work with [OverrideBuiltins] bindings. r=jandem. 2013-04-29 15:17:59 +02:00
Ehsan Akhgari
5005320e02 Backed out 3 changesets (bug 855971, bug 820846) because of browser-chrome test failures
Backed out changeset a2245b038bcc (bug 855971)
Backed out changeset 2a999f8ee317 (bug 820846)
Backed out changeset 6dba144500f3 (bug 820846)
2013-05-04 19:27:20 -04:00
Peter Van der Beken
d6817f696b Bug 855971 - Switch HTMLDocument to WebIDL bindings. r=bz.
--HG--
extra : rebase_source : d5ec9a80442e5b9c8df29f6d5971b61cb9b05778
2012-12-11 21:45:36 -05:00
Peter Van der Beken
61e2bf5e89 Bug 820846 - Modify the ListBase IC to work with [OverrideBuiltins] bindings. r=jandem.
--HG--
extra : rebase_source : a91e80e174672a9c9f81a06ddf022f7d352ec8ee
2013-04-29 15:17:59 +02:00
Douglas Crosher
dd3591d95b Bug 868708 - ARM optimize signed integer divisions by constant powers of two. r=nbp 2013-05-04 23:08:36 +10:00
Tom Schuster
24561ef11c Bug 865410 - Use CallArgs for nsIJSNativeInitializer::Initialize. r=bz 2013-05-04 19:25:15 +02:00
Tom Schuster
6e39838725 Bug 865410 - Use CallArgs for XPConnect Call and Construct hooks. r=bholley. 2013-05-04 19:25:15 +02:00
Tom Schuster
b5ab4a3a98 Bug 827104 - Use ToObjectFromStack for better error reporting. r=jandem 2013-05-04 19:25:15 +02:00
Kannan Vijayan
6b2d2d6442 Bug 865471 - Fix various sps profiler issues. r=jandem 2013-05-03 11:26:38 -04:00
Jon Coppeard
322dbbb1db Bug 868037 - GC: Fix more rooting analysis false positives r=sfink DONTBUILD 2013-05-03 13:32:04 +01:00
Trevor Saunders
e4d4cce51d bug 860027 - remove XPTIInterfaceInfoManager::EnumerateInterfaces() r=bholley, bsmedberg 2013-04-09 16:00:21 -04:00
Martin Husemann
a014d7158c Bug 867911 - Add OpenBSD and NetBSD to list of sparc64 systems with 8k pages. r=terrence 2013-05-02 20:35:32 -04:00
Steve Fink
e2dbdafc5a Bug 867341 - Remove AutoObjectRooter, replace with RootedObject where needed. r=terrence
--HG--
extra : rebase_source : 009cf235e9c05d6379ee5267856b3f7832ceab0e
2013-05-02 13:55:54 -07:00
Bobby Holley
4d84f3f37c Bug 834699 - Stop checking dom.xbl_scopes. r=bz 2013-05-02 16:02:03 -07:00
Shu-yu Guo
2d5fbc0707 Bug 865883. (r=jandem) 2013-05-02 14:12:15 -07:00
Shu-yu Guo
5d1bfe4efa Bug 844887 - Followup: nop IsCallable in Ion if argument is known to be a function. (r=sstangl) 2013-05-02 14:12:14 -07:00
Luke Wagner
4edaf72623 Bug 864600 - OdinMonkey: change asm.js validation to require explicit coercion of all call expressions (r=sstangl)
--HG--
extra : rebase_source : f1235b48a1cfd96d52e96a9727d6d0b7852281b6
2013-04-29 16:42:55 -07:00
Luke Wagner
b706b23059 Bug 864600 - OdinMonkey: change doublish to double in overload set of ~~ and - (r=sstangl)
--HG--
extra : rebase_source : 4e49e0f060e752049bee8fb8b24fc2bdc91d6c5a
2013-04-29 16:42:53 -07:00
Terrence Cole
081082039a Bug 867295 - Do not use JSContext to root in parallel code; r=nmatsakis
--HG--
extra : rebase_source : dde9ae5368205faa83b57e84c34891d036b279f7
2013-05-02 11:56:30 -07:00
David Zbarsky
e6b1eb46b4 Bug 866450 Part 2: Fix rooting hazards under content/ and dom/ r=bz 2013-05-02 05:12:46 -04:00
Olli Pettay
07409694c9 Bug 847597 - Paris binding for NotifyAudioAvailableEvent, r=peterv
--HG--
extra : rebase_source : 2fb578e3f0c7a60f95f3a2f13634f9b4c887d95f
2013-05-02 20:11:12 +03:00
Steve Fink
62911a5e5e No bug. Fix rooting static analysis annotation for GetWeakmapKeyDelegate and document the ignores. r=NPOTB
DONTBUILD because NPOTB.

--HG--
extra : rebase_source : e645ae12a83e55320c44e900ecf2769a1e12e851
2013-05-02 10:01:16 -07:00
Ryan VanderMeulen
617fc6df00 Backed out changeset 5ac1564bff87 (bug 865059) for causing intermittent Linux32 dromaeo crashes.
CLOSED TREE
2013-05-02 14:19:15 -04:00
Brian Hackett
f5117c4b6d Bug 865059 - Don't analyze scripts until they are compiled by baseline when JM is disabled, r=jandem. 2013-05-02 08:35:01 -06:00
James Willcox
7f51fee2cd Bug 867750 - Add a --with-compiler-wrapper configure option r=glandium
--HG--
extra : rebase_source : a9cdc227652214c21835fa9921c7960f8b1a0b1d
2013-05-02 09:26:13 -04:00
Brian Hackett
0af9578a73 Bug 865024 - Avoid using overlapping registers when lowering SetDOMProperty, r=jandem. 2013-05-02 05:35:49 -06:00
Brian Hackett
bab5219019 Bug 865059 - Turn off methodjit prefs by default, r=jandem. 2013-05-02 05:32:28 -06:00
Brian Hackett
6d3350494e Bug 866730 - Refactor handling of 'this' in definite properties analysis, r=shu. 2013-05-02 05:24:50 -06:00
Ed Morley
dfe0338333 Backed out changeset b514d768d793 (bug 866450) 2013-05-02 11:57:14 +01:00
Jan de Mooij
3625f24cd0 Bug 867482. r=bhackett 2013-05-02 11:48:02 +02:00
Jon Coppeard
e19a1da9a9 Bug 867639 - GC: Fix some shell rooting hazards false positives r=terrence 2013-05-02 10:26:05 +01:00
Jon Coppeard
3bfc2c8cb1 Bug 867631 - GC: Fix rooting hazard in JSDebugger.cpp r=sfink 2013-05-02 10:22:55 +01:00
David Zbarsky
bc9b1bccdc Bug 866450 Part 2: Fix rooting hazards under content/ and dom/ r=bz 2013-05-02 05:12:46 -04:00
Boris Zbarsky
583e53379d Bug 861022 part 2. Root the global object in WebIDL prototype and interface object setup. r=peterv,terrence 2013-05-01 23:44:12 -04:00
Boris Zbarsky
91d06b1fae Bug 867312. Expose some APIs for working with millisecond timestamps corresponding to JS dates. r=waldo 2013-05-01 23:44:11 -04:00
Luke Wagner
7603c83466 Bug 865960 - JS OOM should throw instead of silently stopping execution (r=billm)
--HG--
extra : rebase_source : 39eb34b736e142bb40b68ec25f335ed6283a1570
2013-05-01 11:04:06 -07:00