Commit Graph

35434 Commits

Author SHA1 Message Date
Daniel Holbert
69b171d3e9 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
5fa7c8e9cd 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
c31db5f226 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
31412343f1 Bug 868122 - Remove nsIScriptContextPrincipal. r=gabor
\o/
2013-05-06 16:53:10 -07:00
Bobby Holley
9b428f8e67 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
e341973865 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
9c1c4904de Bug 868684 - OdinMonkey: sequential compilation allocates LIR in the tempLifoAlloc (r=sstangl) 2013-05-06 16:05:19 -07:00
Luke Wagner
4dfca937ff Bug 868658 - OdinMonkey: also require explicit coercion of function-pointer calls (r=sstangl) 2013-05-03 18:38:00 -07:00
Terrence Cole
ccabb994de Bug 864085 - Inline Cell::isTenured; r=billm
--HG--
extra : rebase_source : ee9d5e65652dcc6c233542c063c1e2eaf51b2bf0
2013-05-06 11:37:07 -07:00
Till Schneidereit
8cf3a4f344 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
161adf13ba Bug 867019 - disable PJS in aurora too r=sstangl 2013-04-29 21:44:12 -04:00
Till Schneidereit
f3944d4316 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
1b7921209a 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
754efdf384 Bug 867414 - Rename SafeAutoJSContext to AutoSafeJSContext. r=bholley 2013-05-06 09:04:17 -04:00
Brian Hackett
934430f54e Bug 865984 - Treat virtual calls on nsISupports subclasses as potentially triggering GC. DONTBUILD 2013-05-06 06:03:34 -06:00
Ehsan Akhgari
aa4cf3899d Bug 868790 - Fix some rooting hazards in the JS Debugger; r=till 2013-05-05 17:13:03 -04:00
Phil Ringnalda
1a57cd403b Merge m-c to m-i 2013-05-05 12:17:07 -07:00
Ms2ger
bb6fd0a4ee Bug 868727 - Pass an nsAString to nsGlobalWindow::GetChildWindow; r=bz 2013-05-05 09:03:19 +02:00
Ms2ger
57473de99b Bug 868725 - Pass non-const jschar* to AtomizeAndTakeOwnership; r=evilpie 2013-05-05 09:03:18 +02:00
Ms2ger
a60820e813 Bug 866051 - Make CallArgs a stack class; r=Waldo 2013-05-05 09:03:16 +02:00
Ms2ger
4a6390f03d Bug 868411 - Handlify js::GetObjectProto; r=bz 2013-05-05 09:03:14 +02:00
Mike Hommey
f936e5198e 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
1c23f41c34 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
2a348786f9 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
173fdb0b10 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
ab5ef8d3a1 Bug 868535 - IonMonkey: Optimize signed division by constant power of 2. r=nbp 2013-05-03 18:58:00 -07:00
Boris Zbarsky
7640b170ac Bug 865969 part 6. Fix rooting hazards in BindingUtils.cpp. r=smaug 2013-05-03 19:29:08 -04:00
Boris Zbarsky
f551a1cd1b Bug 865969 part 5. Root the id argument of WebIDL DefineInterface methods. r=smaug 2013-05-03 19:29:08 -04:00
Boris Zbarsky
b95342eea4 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
7eb1eb3349 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
a852984d89 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
f3f2af8bf6 Bug 829872 - Tests. r=bz 2013-05-03 14:47:09 -07:00
Luke Wagner
17413b0bc4 Bug 854209 - add asm.js mochitests (r=sstangl) 2013-05-03 14:45:07 -07:00
Brian Hackett
5fd5aae938 Bug 867784 - Allocate RegExpObjects initially tenured; r=sstangl,terrence 2013-03-20 16:15:00 -07:00
Brian Hackett
b9c577b09f 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
5303af30b4 Bug 868580 - Export AutoObjectVector. r=terrence
--HG--
extra : rebase_source : 3a7cc950d8451e1ceeddbc1eef615794551c64f6
2013-05-03 13:53:07 -07:00
Steve Fink
8d571db1bb No bug. Fix rooting analysis error handling. DONTBUILD 2013-05-03 12:57:46 -07:00
Kannan Vijayan
e55e1644eb Bug 861596 - Add optimized ArgumentsObject stub to ion ICs. Topcrash fixed. r=h4writer 2013-05-03 15:31:42 -04:00
Matt Brubeck
5a89eb1225 Back out changeset e7e44c2d6d72 (bug 860027) because of Ts and MaxHeap regressions 2013-05-03 11:00:24 -07:00
Gregory Szorc
522764dec4 Bug 863069 - Part 1: Sort lists in moz.build files; r=mshal 2013-05-03 09:54:45 -07:00
Kannan Vijayan
97aab0756f Bug 867160 - Allow baseline to bypass scriptAnalysis on most scripts. r=jandem 2013-05-03 11:49:51 -04:00
Peter Van der Beken
dfbadfdb0e Bug 855971 - Switch HTMLDocument to WebIDL bindings. r=bz. 2012-12-11 21:45:36 -05:00
Peter Van der Beken
13326b1b78 Bug 820846 - Modify the ListBase IC to work with [OverrideBuiltins] bindings. r=jandem. 2013-04-29 15:17:59 +02:00
Ehsan Akhgari
75c12cc4b0 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
1c3055ed84 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
9853693088 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
a2078d43b4 Bug 868708 - ARM optimize signed integer divisions by constant powers of two. r=nbp 2013-05-04 23:08:36 +10:00
Tom Schuster
b0df9fbe8b Bug 865410 - Use CallArgs for nsIJSNativeInitializer::Initialize. r=bz 2013-05-04 19:25:15 +02:00
Tom Schuster
79e64357e4 Bug 865410 - Use CallArgs for XPConnect Call and Construct hooks. r=bholley. 2013-05-04 19:25:15 +02:00
Tom Schuster
cd9b471334 Bug 827104 - Use ToObjectFromStack for better error reporting. r=jandem 2013-05-04 19:25:15 +02:00
Kannan Vijayan
52eb70265a Bug 865471 - Fix various sps profiler issues. r=jandem 2013-05-03 11:26:38 -04:00
Jon Coppeard
713f890c2b Bug 868037 - GC: Fix more rooting analysis false positives r=sfink DONTBUILD 2013-05-03 13:32:04 +01:00
Trevor Saunders
cd98bbe43f bug 860027 - remove XPTIInterfaceInfoManager::EnumerateInterfaces() r=bholley, bsmedberg 2013-04-09 16:00:21 -04:00
Martin Husemann
58847999af 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
4e204cb130 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
b279cd48ba Bug 834699 - Stop checking dom.xbl_scopes. r=bz 2013-05-02 16:02:03 -07:00
Shu-yu Guo
276269a97e Bug 865883. (r=jandem) 2013-05-02 14:12:15 -07:00
Shu-yu Guo
f61a8dc747 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
c5cdc01cec 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
1a13eccebb 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
d1b7df6831 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
261b97262e Bug 866450 Part 2: Fix rooting hazards under content/ and dom/ r=bz 2013-05-02 05:12:46 -04:00
Olli Pettay
cc8d1fe99a Bug 847597 - Paris binding for NotifyAudioAvailableEvent, r=peterv
--HG--
extra : rebase_source : 2fb578e3f0c7a60f95f3a2f13634f9b4c887d95f
2013-05-02 20:11:12 +03:00
Steve Fink
14b771d863 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
a40cbfe148 Backed out changeset 5ac1564bff87 (bug 865059) for causing intermittent Linux32 dromaeo crashes.
CLOSED TREE
2013-05-02 14:19:15 -04:00
Brian Hackett
4c2fe6dd85 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
bef95c6826 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
ce630b1f19 Bug 865024 - Avoid using overlapping registers when lowering SetDOMProperty, r=jandem. 2013-05-02 05:35:49 -06:00
Brian Hackett
7818b105e8 Bug 865059 - Turn off methodjit prefs by default, r=jandem. 2013-05-02 05:32:28 -06:00
Brian Hackett
0ac83636da Bug 866730 - Refactor handling of 'this' in definite properties analysis, r=shu. 2013-05-02 05:24:50 -06:00
Ed Morley
cb8f2e846d Backed out changeset b514d768d793 (bug 866450) 2013-05-02 11:57:14 +01:00
Jan de Mooij
dddc5eaca3 Bug 867482. r=bhackett 2013-05-02 11:48:02 +02:00
Jon Coppeard
fc4caa6d51 Bug 867639 - GC: Fix some shell rooting hazards false positives r=terrence 2013-05-02 10:26:05 +01:00
Jon Coppeard
40e82b2d5f Bug 867631 - GC: Fix rooting hazard in JSDebugger.cpp r=sfink 2013-05-02 10:22:55 +01:00
David Zbarsky
4b33572311 Bug 866450 Part 2: Fix rooting hazards under content/ and dom/ r=bz 2013-05-02 05:12:46 -04:00
Boris Zbarsky
8766287733 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
2bf051349f 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
bf66d1e17c 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
1070b44cdd 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
2d06e97b65 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
80119f33c1 Bug 867459: Root xpcshell.cpp r=terrence 2013-05-01 18:43:53 -04:00
Brian Hackett
7a26e938a0 Bug 866826 - Add missing IdToTypeId check, r=dvander. 2013-05-01 15:45:40 -06:00
Brian Hackett
db1f3c7116 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
84d39eeee2 Bug 863523 - Avoid post-barrier on global slots for JIT code; r=billm,terrence 2013-03-20 16:15:00 -07:00
Ryan VanderMeulen
608ad268db Backed out changeset e0c3de95b861 (bug 865960) for Linux jsreftest failures.
CLOSED TREE
2013-05-01 16:34:32 -04:00
Kyle Huey
13b5105e5d 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
ca8ecad3be 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
27a4b2cbda 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
9fdc0b1be6 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
90ce4b84a3 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
a1a137c8ab 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
e002f877db 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
b59eb06e7e 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
07e95396f7 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
a60ae76359 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
63cc738e4f Bug 867426 - Extra cleanups identified in review; r=jonco
--HG--
extra : rebase_source : 5dd22eabd18112b5a6bfbb53ea3737ffcd46d40f
2013-05-01 10:25:24 -07:00
Terrence Cole
b6975a8444 Bug 867426 - Remove the ForwardDeclare MACROs; r=jonco
--HG--
extra : rebase_source : dea4bcfa57a684e42105e087839785af2231e37d
2013-04-30 15:41:20 -07:00
Terrence Cole
8e6d671a3d Bug 867426 - Remove RawObject typedef; r=jonco
--HG--
extra : rebase_source : cf90289656cdcbc2c33e918db4d5347613ad6360
2013-04-30 15:41:12 -07:00
Terrence Cole
4b5e15caee Bug 867426 - Remove RawId typedef; r=jonco
--HG--
extra : rebase_source : c7037a278958ca4cc7467ce6ad0905f8f379c950
2013-04-30 15:41:04 -07:00
Terrence Cole
d8275d0a9b Bug 867426 - Remove RawValue typedef; r=jonco
--HG--
extra : rebase_source : f349413647882730b91ec0bd196772359ec63073
2013-04-30 15:40:56 -07:00