Commit Graph

26418 Commits

Author SHA1 Message Date
Luke Wagner
39b73739d0 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
0752fb0c76 Bug 597064 - Add timeout logic to xpcshell test runner. r=ted 2012-12-20 03:43:19 -05:00
Benoit Jacob
b91c8b90ea Bug 853494 - both --disable-optimize and --enable-debug should imply --disable-icf - r=glandium 2013-05-07 16:20:57 -04:00
Chris Peterson
0caa484325 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
106a3f1735 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
2338aa2f61 Bug 869539 - Eliminate padding in x64 Operand and add missing const. r=sstangl 2013-05-07 11:52:37 -07:00
Dan Gohman
1346ee94c3 Bug 869511 - Fix a copy+pasto in a comment. r=sstangl 2013-05-07 11:52:34 -07:00
Kannan Vijayan
e6b484b22b Bug 869529 - Fix LiveRangeAllocator loopWorkList handling. r=bhackett 2013-05-07 14:49:02 -04:00
Dan Gohman
a0b045a531 Bug 869510 - x86 assembler spew improvements. r=sstangl 2013-05-07 11:39:33 -07:00
Bobby Holley
778b2d781a Bug 868675 - Tests. r=gabor 2013-05-07 10:09:02 -07:00
Bobby Holley
b9ee7a89bb 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
34b027190b Bug 868675 - Allow waiving on non-native objects. r=gabor 2013-05-07 10:09:02 -07:00
Bobby Holley
ac34e3617c Bug 868675 - Don't throw for primitive-valued inputs to XPCNativeWrapper{,.unwrap}. r=gabor 2013-05-07 10:08:59 -07:00
Hannes Verschore
fe64a91ab4 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
29325f119e 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
9c5c6ca881 Bug 866050 - Fix UsesBeforeIonRecompile. r=bhackett
--HG--
extra : rebase_source : 6f4cfa4561b1c8af0b28a10604ddb43824553310
2013-05-07 16:31:25 +02:00
Jan de Mooij
dc3195c132 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
d02e108445 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
c2f71e6431 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
7f3789e8be Bug 868990 follow-up to fix --disable-ion build. 2013-05-07 09:34:42 +02:00
Hannes Verschore
de1f96bce2 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
34344d56df Bug 868990 - rm CallArgsList, StackIter cleanup. r=luke 2013-05-07 09:00:24 +02:00
Bobby Holley
17078760f3 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
9a1a16ea75 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
9de959b56d Backed out changeset 4ca9a6bd8f64 (bug 865059) for jsreftest crashes. 2013-05-06 22:20:26 -04:00
Douglas Crosher
90e507fa69 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
a502aafa86 Bug 756067 - Remove js::GetOwnerThread. r=mrbkap 2013-05-06 22:00:06 -04:00
Luke Wagner
3694c12431 Bug 854602 - improve asm.js validation errors (r=terrence)
--HG--
extra : rebase_source : 6fac0a76572ce6b794808234f7c44d4c88a4a1dd
2013-05-06 18:27:51 -07:00
Brian Hackett
a06a1dcc0f 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
3f598b261e 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
8ff844c213 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
3f90530ce6 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
be7264ecab Bug 868122 - Remove nsIScriptContextPrincipal. r=gabor
\o/
2013-05-06 16:53:10 -07:00
Bobby Holley
998baa409b 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
5ddebc4159 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
1779b9feaf Bug 868684 - OdinMonkey: sequential compilation allocates LIR in the tempLifoAlloc (r=sstangl) 2013-05-06 16:05:19 -07:00
Luke Wagner
a8546800c4 Bug 868658 - OdinMonkey: also require explicit coercion of function-pointer calls (r=sstangl) 2013-05-03 18:38:00 -07:00
Terrence Cole
6a9879880b Bug 864085 - Inline Cell::isTenured; r=billm
--HG--
extra : rebase_source : ee9d5e65652dcc6c233542c063c1e2eaf51b2bf0
2013-05-06 11:37:07 -07:00
Till Schneidereit
a16f645bce 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
a75a15e44a Bug 867019 - disable PJS in aurora too r=sstangl 2013-04-29 21:44:12 -04:00
Till Schneidereit
b733362072 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
5791c4fce8 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
6349c5c599 Bug 867414 - Rename SafeAutoJSContext to AutoSafeJSContext. r=bholley 2013-05-06 09:04:17 -04:00
Brian Hackett
7176db72c1 Bug 865984 - Treat virtual calls on nsISupports subclasses as potentially triggering GC. DONTBUILD 2013-05-06 06:03:34 -06:00
Ehsan Akhgari
0cd35f4252 Bug 868790 - Fix some rooting hazards in the JS Debugger; r=till 2013-05-05 17:13:03 -04:00
Phil Ringnalda
d3e92cd2f3 Merge m-c to m-i 2013-05-05 12:17:07 -07:00
Ms2ger
f2e25db30c Bug 868727 - Pass an nsAString to nsGlobalWindow::GetChildWindow; r=bz 2013-05-05 09:03:19 +02:00
Ms2ger
d5bbd50ee1 Bug 868725 - Pass non-const jschar* to AtomizeAndTakeOwnership; r=evilpie 2013-05-05 09:03:18 +02:00
Ms2ger
603c16a0bb Bug 866051 - Make CallArgs a stack class; r=Waldo 2013-05-05 09:03:16 +02:00
Ms2ger
088cca5a9c Bug 868411 - Handlify js::GetObjectProto; r=bz 2013-05-05 09:03:14 +02:00
Mike Hommey
5858426dab 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
97abb2583e 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
7045e18e7b 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
46ecd80454 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
5dbf8dc454 Bug 868535 - IonMonkey: Optimize signed division by constant power of 2. r=nbp 2013-05-03 18:58:00 -07:00
Boris Zbarsky
6baed10459 Bug 865969 part 6. Fix rooting hazards in BindingUtils.cpp. r=smaug 2013-05-03 19:29:08 -04:00
Boris Zbarsky
cf0d9ed876 Bug 865969 part 5. Root the id argument of WebIDL DefineInterface methods. r=smaug 2013-05-03 19:29:08 -04:00
Boris Zbarsky
c8bed7435e 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
ac0d5d72b1 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
d02fa60c1c 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
9b90be6731 Bug 829872 - Tests. r=bz 2013-05-03 14:47:09 -07:00
Luke Wagner
64cf6530d4 Bug 854209 - add asm.js mochitests (r=sstangl) 2013-05-03 14:45:07 -07:00
Brian Hackett
bc05dd698f Bug 867784 - Allocate RegExpObjects initially tenured; r=sstangl,terrence 2013-03-20 16:15:00 -07:00
Brian Hackett
72f2dabb45 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
7b4c744b18 Bug 868580 - Export AutoObjectVector. r=terrence
--HG--
extra : rebase_source : 3a7cc950d8451e1ceeddbc1eef615794551c64f6
2013-05-03 13:53:07 -07:00
Steve Fink
10cc0aded1 No bug. Fix rooting analysis error handling. DONTBUILD 2013-05-03 12:57:46 -07:00
Kannan Vijayan
a57feef4a1 Bug 861596 - Add optimized ArgumentsObject stub to ion ICs. Topcrash fixed. r=h4writer 2013-05-03 15:31:42 -04:00
Matt Brubeck
5ae4ce3ab7 Back out changeset e7e44c2d6d72 (bug 860027) because of Ts and MaxHeap regressions 2013-05-03 11:00:24 -07:00
Gregory Szorc
c6c1177427 Bug 863069 - Part 1: Sort lists in moz.build files; r=mshal 2013-05-03 09:54:45 -07:00
Kannan Vijayan
78625dc256 Bug 867160 - Allow baseline to bypass scriptAnalysis on most scripts. r=jandem 2013-05-03 11:49:51 -04:00
Peter Van der Beken
2c2b37c721 Bug 855971 - Switch HTMLDocument to WebIDL bindings. r=bz. 2012-12-11 21:45:36 -05:00
Peter Van der Beken
87d7e31d47 Bug 820846 - Modify the ListBase IC to work with [OverrideBuiltins] bindings. r=jandem. 2013-04-29 15:17:59 +02:00
Ehsan Akhgari
cfa035fed9 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
2b06e35158 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
ddd94e0693 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
c4e4fb60c3 Bug 868708 - ARM optimize signed integer divisions by constant powers of two. r=nbp 2013-05-04 23:08:36 +10:00
Tom Schuster
b497643dd7 Bug 865410 - Use CallArgs for nsIJSNativeInitializer::Initialize. r=bz 2013-05-04 19:25:15 +02:00
Tom Schuster
cbcd967826 Bug 865410 - Use CallArgs for XPConnect Call and Construct hooks. r=bholley. 2013-05-04 19:25:15 +02:00
Tom Schuster
d8066dfb32 Bug 827104 - Use ToObjectFromStack for better error reporting. r=jandem 2013-05-04 19:25:15 +02:00
Kannan Vijayan
053a43f9c0 Bug 865471 - Fix various sps profiler issues. r=jandem 2013-05-03 11:26:38 -04:00
Jon Coppeard
d9c7402e37 Bug 868037 - GC: Fix more rooting analysis false positives r=sfink DONTBUILD 2013-05-03 13:32:04 +01:00
Trevor Saunders
5fa36decd1 bug 860027 - remove XPTIInterfaceInfoManager::EnumerateInterfaces() r=bholley, bsmedberg 2013-04-09 16:00:21 -04:00
Martin Husemann
745d32a5b8 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
1dd9c82116 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
a25082424e Bug 834699 - Stop checking dom.xbl_scopes. r=bz 2013-05-02 16:02:03 -07:00
Shu-yu Guo
692d106e7a Bug 865883. (r=jandem) 2013-05-02 14:12:15 -07:00
Shu-yu Guo
578e49b54e 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
60f72ed524 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
d0d8e10279 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
f5499fdeb6 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
a79bf02c5d Bug 866450 Part 2: Fix rooting hazards under content/ and dom/ r=bz 2013-05-02 05:12:46 -04:00
Olli Pettay
6aae4ec83f Bug 847597 - Paris binding for NotifyAudioAvailableEvent, r=peterv
--HG--
extra : rebase_source : 2fb578e3f0c7a60f95f3a2f13634f9b4c887d95f
2013-05-02 20:11:12 +03:00
Steve Fink
94f6d127bb 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
1750ad5a78 Backed out changeset 5ac1564bff87 (bug 865059) for causing intermittent Linux32 dromaeo crashes.
CLOSED TREE
2013-05-02 14:19:15 -04:00
Brian Hackett
32c3535492 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
6a67e06783 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
b888008f01 Bug 865024 - Avoid using overlapping registers when lowering SetDOMProperty, r=jandem. 2013-05-02 05:35:49 -06:00
Brian Hackett
04ae1fd93b Bug 865059 - Turn off methodjit prefs by default, r=jandem. 2013-05-02 05:32:28 -06:00
Brian Hackett
6a6878c6a2 Bug 866730 - Refactor handling of 'this' in definite properties analysis, r=shu. 2013-05-02 05:24:50 -06:00
Ed Morley
581e7b778e Backed out changeset b514d768d793 (bug 866450) 2013-05-02 11:57:14 +01:00
Jan de Mooij
d9662e907d Bug 867482. r=bhackett 2013-05-02 11:48:02 +02:00
Jon Coppeard
c4efccf1f1 Bug 867639 - GC: Fix some shell rooting hazards false positives r=terrence 2013-05-02 10:26:05 +01:00
Jon Coppeard
ed89346c1d Bug 867631 - GC: Fix rooting hazard in JSDebugger.cpp r=sfink 2013-05-02 10:22:55 +01:00
David Zbarsky
0566d3158e Bug 866450 Part 2: Fix rooting hazards under content/ and dom/ r=bz 2013-05-02 05:12:46 -04:00
Boris Zbarsky
8cc9072bea 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
a1a8592412 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
c625507384 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
Brian Hackett
c1e28dc7af Bug 866765 - Refactor compilation of JSOP_SETELEM to only pop operands at one point, r=dvander. 2013-05-01 18:07:36 -06:00
Brian Hackett
d82e92003e Bug 866866 - Inspect phis at the start of loop header rather than trailing values, r=dvander. 2013-05-01 18:06:01 -06:00
David Zbarsky
fc7eb30f67 Bug 867459: Root xpcshell.cpp r=terrence 2013-05-01 18:43:53 -04:00
Brian Hackett
37496e10ab Bug 866826 - Add missing IdToTypeId check, r=dvander. 2013-05-01 15:45:40 -06:00
Brian Hackett
31aa390320 Bug 865584 - Add null check for target script's type info when compiling 'new', r=dvander. 2013-05-01 15:43:36 -06:00
Brian Hackett
fc783fffae Bug 863523 - Avoid post-barrier on global slots for JIT code; r=billm,terrence 2013-03-20 16:15:00 -07:00
Ryan VanderMeulen
95f301ad0c Backed out changeset e0c3de95b861 (bug 865960) for Linux jsreftest failures.
CLOSED TREE
2013-05-01 16:34:32 -04:00
Kyle Huey
6bbc30edcf Bug 864494: Hardcode the value of jsloader.reuseGlobal on b2g to work around some IPC preferences problem that we don't entirely understand. r=jlebar 2013-05-07 11:02:31 -07:00
Jeff Walden
674f999ba9 Bug 867329 - Make JS_NewUint8ArrayWithBuffer and friends accept any uint32_t as byteOffset and throw if the byteOffset is too big. r=sfink 2013-04-30 19:34:12 -07:00
Jeff Walden
9a61d4264f Bug 867329 - Make JS_NewUint8Array and friends accept any uint32_t as length and throw if the length is too big -- not assert when it's too big. r=sfink 2013-04-30 18:15:15 -07:00
Jeff Walden
cf953731a7 Bug 866988 - Remove the HAVE_CPP_PARTIAL_SPECIALIZATION autoconf define, and the test for template specialization working at all. Any compiler not supporting either of these is so incredibly doomed it's not worth the pain of testing them. Plus we use both features liberally without testing these defines first, so they're basically pointless. r=ted 2013-04-13 19:04:38 -07:00
Stephen Kraemer
8b4660cd59 Bug 836078 - Replace all gcc __GNUC__ version checks with MOZ_GCC_VERSION_AT_LEAST macro. r=dvander 2013-05-01 15:45:05 -04:00
Nathan Froyd
aba26f16a3 Bug 867362 - part 3 - delete JS_BYTES_PER_DOUBLE; r=luke
JS_BYTES_PER_DOUBLE isn't used after getting rid of JS_BITS_PER_DOUBLE.
2013-04-30 16:28:50 -04:00
Nathan Froyd
1b15c41123 Bug 867362 - part 2 - delete JS_BITS_PER_DOUBLE; r=luke
Nothing in the engine uses it.
2013-04-30 16:27:02 -04:00
Nathan Froyd
798b72055d Bug 867362 - part 1 - use MOZ_ALIGNOF instead of JS_ALIGN_OF_POINTER; r=luke
This change means that we no longer need the MOZ_ALIGN_OF_TYPE macro in
moznbytetype.m4.  And it's just nicer to have the compiler figure things
out for us rather than configury.
2013-04-30 16:11:54 -04:00
Ted Mielczarek
112c6e8f53 bug 431048 - use -RELEASE in LDFLAGS for MSVC to avoid annoying checksum warnings in the debugger. r=glandium 2013-04-26 14:56:30 -04:00
Luke Wagner
0c04aeb794 Bug 865960 - JS OOM should throw instead of silently stopping execution (r=billm)
--HG--
extra : rebase_source : a9c64989310ef96923a74fd3ee902aae59805aca
2013-05-01 11:04:06 -07:00
Terrence Cole
72049981ca Bug 867426 - Extra cleanups identified in review; r=jonco
--HG--
extra : rebase_source : 5dd22eabd18112b5a6bfbb53ea3737ffcd46d40f
2013-05-01 10:25:24 -07:00
Terrence Cole
21a7b09932 Bug 867426 - Remove the ForwardDeclare MACROs; r=jonco
--HG--
extra : rebase_source : dea4bcfa57a684e42105e087839785af2231e37d
2013-04-30 15:41:20 -07:00
Terrence Cole
f08129579e Bug 867426 - Remove RawObject typedef; r=jonco
--HG--
extra : rebase_source : cf90289656cdcbc2c33e918db4d5347613ad6360
2013-04-30 15:41:12 -07:00
Terrence Cole
4f70043741 Bug 867426 - Remove RawId typedef; r=jonco
--HG--
extra : rebase_source : c7037a278958ca4cc7467ce6ad0905f8f379c950
2013-04-30 15:41:04 -07:00
Terrence Cole
90b0648eee Bug 867426 - Remove RawValue typedef; r=jonco
--HG--
extra : rebase_source : f349413647882730b91ec0bd196772359ec63073
2013-04-30 15:40:56 -07:00
Terrence Cole
ec6e157bf8 Bug 867426 - Remove RawString typedef; r=jonco
--HG--
extra : rebase_source : 1cec78a4251429458c4df7fecb652e43443d7b5b
2013-04-30 15:40:48 -07:00
Terrence Cole
263e758556 Bug 867426 - Remove RawScript typedef; r=jonco
--HG--
extra : rebase_source : c32ce48bca7fea1dfdafbf9395835613d8a57276
2013-04-30 15:40:40 -07:00
Terrence Cole
da2a8a2581 Bug 867426 - Remove RawFunction typedef; r=jonco
--HG--
extra : rebase_source : 67d89131676dfde8d70dcc4e1b4754b1243e3d85
2013-04-30 15:40:29 -07:00
Terrence Cole
f3a931d98c Bug 867426 - Remove RawInlineString typedef; r=jonco
--HG--
extra : rebase_source : 50daa9f373942dc11c616e876aefbfd79f068036
2013-04-30 15:40:18 -07:00
Terrence Cole
584508b918 Bug 867426 - Remove RawShape typedef; r=jonco
--HG--
extra : rebase_source : fc48e7b49d2dce668685a4f220c8adb1f33aa40a
2013-04-30 15:40:09 -07:00
Terrence Cole
8d68356aa0 Bug 867426 - Remove RawUnownedBaseShape typedef; r=jonco
--HG--
extra : rebase_source : 8a0c79db1cb2a75c9f55eee179e541fbefaddf8a
2013-04-30 15:40:00 -07:00
Terrence Cole
ae9b1581bb Bug 867426 - Remove RawBaseShape typedef; r=jonco
--HG--
extra : rebase_source : 1b616e93806addcbfe99f8541f1a91c9d19803d8
2013-04-30 15:39:45 -07:00
Terrence Cole
f5aa821c02 Bug 867426 - Remove RawLinearString typedef; r=jonco
--HG--
extra : rebase_source : 8dfc612bb5bb1101f57b078dceb67cd338dcda41
2013-04-30 15:39:19 -07:00
Terrence Cole
175ce3bbcd Bug 867426 - Remove RawFlatString typedef; r=jonco
--HG--
extra : rebase_source : bdb9ef87e1b8a1b90b95863dddefe342d78dbc57
2013-04-30 15:39:03 -07:00
Terrence Cole
4bec77cb1a Bug 867426 - Remove RawAtom typedef; r=jonco
--HG--
extra : rebase_source : 03175addf7920cc778a667ebb96615c749eeb757
2013-04-30 15:38:45 -07:00
Marty Rosenberg
8f53ee343c Bug 863867 - Don't assume that two MDefs with the same value number are in the same congruence class (r=sstangl)
--HG--
extra : rebase_source : 5209c8125973ba52c300b2f759163e7f4acb3591
2013-05-01 10:01:55 -07:00
Andrew McCreight
4247aef614 Bug 867350 - remove JS_UnwrapObject and JS_UnwrapObjectAndInnerize from jsdbgapi.h r=sfink 2013-05-01 09:19:18 -07:00
Brian Hackett
ecca52c3e8 Bug 866706 - Ensure that MMonitorTypes boxes its inputs, r=dvander. 2013-05-01 08:29:05 -06:00
Steve Singer
737f3db762 Bug 867439 - Only include IonFrames.h when building with ION. r=nbp 2013-05-01 08:48:27 -04:00
Douglas Crosher
51adb3a809 Bug 860749 - Set an appropriate ION_SPEW_DIR for Android. r=mrosenberg 2013-04-12 00:10:16 +10:00
Ryan VanderMeulen
a940e46079 Backed out changesets c7937fb5f4bb and cf8db9b6bd61 (bug 862986) for bustage.
CLOSED TREE
2013-04-30 21:09:41 -04:00
Brian O'Keefe
9305158b76 Bug 862986 - Part 2: Migrate PROGRAM from Makefile.in to moz.build. r=gps 2013-04-30 20:46:10 -04:00
Jim Blandy
e9b58eb4dc Bug 862531: Replace BaseProxyHandler::obj_toString with className. r=jorendorff 2013-04-30 14:44:50 -07:00
Steve Fink
a9b203fa74 No bug. Fix a "used but not defined" warning from calling TypedArray::type() in MIR.h. r=woof!
--HG--
extra : rebase_source : 1edf8aebf55b81c27dad32a07fe9729575f64991
2013-04-30 14:31:32 -07:00
Steve Fink
165cbb3250 Bug 866432 - Remove AutoValueRooter and replace it with RootedValue. r=terrence
--HG--
extra : rebase_source : f15a1a5fc43d3f43fc5f51fd3fb19001b040f8fe
2013-04-27 12:28:02 -07:00
Kannan Vijayan
498c5552e4 Bug 863961 - Remove overconservative assertion on argument slots never being phi-ed in needsArgsObj scripts. r=nbp 2013-04-30 17:25:16 -04:00
Ryan VanderMeulen
579df745e2 Backed out changeset c0789f4c3113 (bug 863523) for Android no-ion bustage.
CLOSED TREE
2013-04-30 17:01:02 -04:00
Brian Hackett
d2330070c1 Bug 863853 - Restrict the new object cache to GenericObject; r=billm,terrence
--HG--
extra : rebase_source : 56e0efbd232a39ba5d27ed04673c97fd9d06141a
2013-03-20 16:15:00 -07:00
Terrence Cole
1cba4e738b Bug 863521 - Remove legacy verifier nursery and store buffer from the Zone; r=billm
--HG--
extra : rebase_source : 4418bf1acf0badb99a92a976cee5c36df94c587a
2013-04-18 18:51:25 -07:00
Terrence Cole
61784a7a3a Bug 863795 - Add a de-duping step to store buffer compaction; r=billm
--HG--
extra : rebase_source : eaad82c46626d0031d87d42a31656645ed1c17f7
2013-04-19 13:38:25 -07:00
Brian Hackett
e9bd27c3ae Bug 863523 - Avoid post-barrier on global slots for JIT code; r=billm,terrence
--HG--
extra : rebase_source : 07295033b68776856fc3f519d08a6a114c930dd6
2013-03-20 16:15:00 -07:00
Terrence Cole
b992828389 Bug 863526 - Attempt to GC before the StoreBuffer overflows; r=billm
--HG--
extra : rebase_source : fe3df4a92c84e0b5a15df8bd3d5761b7e063a007
2013-04-18 17:03:29 -07:00
Andrew McCreight
a6d222f8e6 Bug 851639 - Allow JS implemented WebIDL to be registered on window.navigator. r=bz 2013-04-30 13:30:25 -07:00
Norbert Lindenberg
7cf7ea23f5 Bug 866305 - Use sh syntax instead of make syntax in configure file. r=glandium 2013-04-30 16:29:12 -04:00
Norbert Lindenberg
032b05efb7 Bug 866305 - Enable ECMAScript Internationalization API for JavaScript standalone build. r=Waldo, r=glandium 2013-04-30 16:28:58 -04:00
Terrence Cole
60ff037fa7 Bug 860050 - Remove JSMutableHandleObject typedef; r=bz,jonco 2013-04-16 16:20:44 -07:00
Terrence Cole
80daabc919 Bug 860050 - Remove JSMutableHandleScript typedef; r=jonco
--HG--
extra : rebase_source : 1a651387d6ed974dce8483ca0c0a9507250606bb
2013-04-16 14:57:23 -07:00
Terrence Cole
c9dbce2442 Bug 860050 - Remove JSMutableHandleId typedef; r=jonco
--HG--
extra : rebase_source : ca0b47df116527404a9f021bf0f1f6ae880ee2c0
2013-04-16 14:46:03 -07:00
Terrence Cole
081ef5f0ee Bug 860050 - Remove JSRawString typedef; r=jonco
--HG--
extra : rebase_source : 7660e5a1585cbfc5eab3f5d9966df841dc46659b
2013-04-16 14:33:00 -07:00
Terrence Cole
57fadd9fd6 Bug 860050 - Remove unused JSRaw{Function|Script|Id|Value}; r=jonco
--HG--
extra : rebase_source : 8f3ddd6b378b8c0b8d66f9874c26c7340df2ebe5
2013-04-16 14:29:06 -07:00
Terrence Cole
44f80e4b4d Bug 860050 - Remove JSRawObject typedef; r=jonco
--HG--
extra : rebase_source : 507e2dfe13d6a02317502cd7a4b2004c198d1bdf
2013-04-15 18:16:13 -07:00
David Zbarsky
f903ffaa71 Bug 866527 Part 2 - Fix ctypes rooting hazards r=terrence 2013-04-30 14:32:17 -04:00
Andrew McCreight
0bafa2c0cd Bug 866151 - Clean up usage of nsCycleCollector.h and nsCycleCollectorUtils.h. r=smaug,bsmedberg
--HG--
rename : xpcom/base/nsCycleCollector.h => xpcom/glue/nsCycleCollectionJSRuntime.h
2013-04-30 10:41:22 -07:00
Jon Coppeard
7c24e47add Bug 866762 - GC: A few more XPConnect rooting hazards r=bholley 2013-04-30 15:27:48 +01:00
Ryan VanderMeulen
4f020afd30 Backed out changesets 64c7ba1d3d04 and 7e9d5bb4a9af (bug 862986) for test failures. 2013-04-30 10:08:38 -04:00
Jan de Mooij
53b98ad89a Bug 846648 - Inline polymorphic property accesses in Ion based on baseline caches. r=bhackett 2013-04-30 15:26:02 +02:00
Brian O'Keefe
fd2b88f265 Bug 862986 - Part 2: Migrate PROGRAM from Makefile.in to moz.build. r=gps 2013-04-30 09:08:31 -04:00
Norbert Lindenberg
2aa850d74e Bug 866369 - Test case for jstests/test402. r=jwalden 2013-04-30 08:52:43 -04:00
Brian Hackett
66361184bb Bug 866670 - Don't fold unnecessary bitops until after analyzing truncated instructions, r=jandem. 2013-04-30 05:35:11 -06:00
Jon Coppeard
6dc7bb458f Bug 866775 - GC: Update the rooting analysis annotations to fix some false positives r=sfink 2013-04-30 11:18:18 +01:00
Jon Coppeard
cbe51a0ca1 Bug 866778 - GC: Make autorooter for HashableValue contain its value r=sfink 2013-04-30 11:18:18 +01:00
Jon Coppeard
c5a5977c2a Bug 866789 - GC: Fix some more shell rooting hazards r=terrence 2013-04-30 11:18:18 +01:00
Brendan Eich
1c937d07c6 Bug 999999 - Fix typo in comment (r=lumpy). 2013-04-29 17:33:22 -07:00
Norbert Lindenberg
846414db04 Bug 866369 - Set ICU rounding mode. r=jwalden
--HG--
extra : rebase_source : 8b6a2829330e76fcaf3c283314e288f7699a118f
2013-04-29 15:25:38 -07:00
Norbert Lindenberg
b004caef1f Bug 862192 - Update minor unit for Uganda Shilling in Intl.NumberFormat. r=jwalden
--HG--
extra : rebase_source : 07b05d787eda834633535d76dd46557a7f40e976
2013-04-29 14:48:32 -07:00
Gary Kwong
a1b5ff5a17 Bug 866916 - JavaScript JS_MORE_DETERMINISTIC builds are busted. r=sfink 2013-04-29 15:09:15 -07:00
Daniel Holbert
6c0a03f6ed Bug 866800: Remove unused variables from ParallelArrayVisitor::visitCompare(). r=nmatsakis 2013-04-29 16:16:03 -07:00
Phil Ringnalda
ec9c490959 Back out 80163a75cca5 (bug 865059) for talos and android jsreftest bustage
CLOSED TREE

--HG--
extra : rebase_source : a4e86eab90dcf4d30a180c0cffe5d5964d720481
2013-04-29 15:12:09 -07:00
Jeff Walden
94339a665b Bug 866700 - Fix typo. r=ptyo to clear up a J orange in a CLOSED TREE 2013-04-29 15:11:37 -07:00
Jeff Walden
ab0d972d7c Bug 866700 - Assertion when redefining a non-writable length to a non-numeric value. r=bhackett 2013-04-29 12:30:21 -07:00
Jeff Walden
28d0a2b044 Bug 866580 - Assertion redefining the length property on a frozen array. r=bhackett
--HG--
extra : rebase_source : 8bba3b33a92ef41738bfd465e6cc101189220ecb
2013-04-29 12:30:18 -07:00
Brian Hackett
da62d22f7b Bug 865059 - Disable JM by default, and don't analyze scripts until they are compiled by baseline if JM is disabled, r=jandem. 2013-04-29 14:24:03 -06:00
Brian Hackett
e3efee332c Bug 865431 - Restrict Compare_Double and related comparisons to inputs where they will produce the correct result, r=jandem. 2013-04-29 13:10:00 -06:00
Joey Armstrong
12356a4c50 bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS 2013-04-29 14:49:00 -04:00
Bobby Holley
c44c1b9af8 Bug 865729 - Remove nsIJSContextStack. r=gabor
\o/
2013-04-29 11:16:24 -07:00
Bobby Holley
1a9f081f4b Bug 865729 - Remove Context stack iterators. r=gabor 2013-04-29 11:16:23 -07:00
Bobby Holley
b9009e00fc Bug 865729 - Remove Push/Pop from public API. r=gabor 2013-04-29 11:16:22 -07:00
Bobby Holley
d7dbc59a66 Bug 865729 - Make nsIXPConnect inherit nsIThreadJSContextStack. r=gabor
Right now, the concrete nsXPConnect implements nsIXPConnect and
nsIThreadJSContextStack separately. I want to migrate the API from the latter
interface to the former, but I can't right now because it means we'd end up
with a duplicated method (getSafeJSContext). Since there's only one concrete
class that implements nsXPConnect, let's just use interface inheritance, which
simplifies the migration.
2013-04-29 11:16:20 -07:00
Bobby Holley
b4b5ad5d4d Bug 865729 - Remove nsIJSContextStack from xpconnect/loader. r=gabor 2013-04-29 11:16:19 -07:00
Jan de Mooij
fe3adfd0fe Bug 866611 - Fix length check when inlining string concatenation. r=h4writer 2013-04-29 19:22:50 +02:00
Nicholas D. Matsakis
06d276cb24 Bug 861705 - Check for ParallelArray being disabled in various tests r=sstangl 2013-04-18 05:53:53 -04:00
Hannes Verschore
5d8b79fbec Bug 678377: IonMonkey: Follow-up fixing three small issues, r=bhackett 2013-04-29 14:49:25 +02:00
Andrea Marchesini
79adff0de9 Bug 861605 - Make the arguments to Window.alert, Window.confirm optional. r=Ms2ger 2013-04-29 08:32:01 -04:00
Norbert Lindenberg
215494a6d5 Bug 853702 - ECMA-402 test ch09/9.2/9.2.8_4.js failing. r=Waldo 2013-04-29 08:31:15 -04:00
Norbert Lindenberg
1e01fc4ba2 Bug 634839 - Fix build with Internationalization API. r=njn 2013-04-29 08:30:26 -04:00
Hannes Verschore
b32059a7af Bug 678377: IonMonkey: LICM: Use explicit stack to mark blocks in a loop, r=bhackett 2013-04-29 10:35:44 +02:00