Commit Graph

27346 Commits

Author SHA1 Message Date
Jeff Walden
7feeacbaf3 Bug 869659 - Make the ECMAScript Internationalization API opt-out, rather than opt-in. Also opt desktop builds out of the API for now, til we get cross-compiling working. r=glandium 2013-05-10 15:30:15 -07:00
Jeff Walden
63dbd9617f Bug 888106 - Add too-much-recursion detection to isExtensible tests, and make the isExtensible hook capable of failing. r=bholley, r=ejpbruel
--HG--
extra : rebase_source : fe7345322f87dd214aa5122ea8704750e8b2375a
2013-06-28 14:01:09 -07:00
Jon Coppeard
3a523d71c0 Bug 886829 - also update comments in jsclass.h DONTBUILD 2013-07-02 12:14:30 +01:00
Terrence Cole
c9aa76bb68 Bug 878160 - GC: post barrier weak references in the browser - part 2 browser r=terrence r=billm
--HG--
extra : rebase_source : a1856a7dce28da5086f6fbeaeda15596193aa7ad
2013-06-05 16:40:02 -07:00
Jon Coppeard
7adb4d6ef4 Bug 878160 - GC: post barrier weak references in the browser - part 1 JS engine r=terrence
--HG--
extra : rebase_source : 4dfd4f8f46564d3a9858646a0f68c9047c2f7e93
2013-07-02 09:43:45 +01:00
Jon Coppeard
262546d6b1 Bug 886829 - In-source comments incorrectly say JSClass::finalizer is mandatory r=billm
--HG--
extra : rebase_source : d01ba99257b2a392d332f56dfc655f6439462c1b
2013-07-02 09:42:01 +01:00
Jon Coppeard
61e0c743b1 Bug 886910 - GC: IsAboutToBeFinalized returns true for things allocated during incremental sweeping r=billm
--HG--
extra : rebase_source : 04f6e07060567631c0e10ba913595a2a53e1c20f
2013-07-02 09:38:52 +01:00
Phil Ringnalda
17fc8c7b28 Backed out efc4b8a23cd7:12e8fc56b5eb (bug 876064) for asm.js test failures 2013-07-01 23:06:49 -07:00
Dan Gohman
78a9bc05d1 Bug 876064 - Implement constant pools for double constants on x64. r=sstangl 2013-07-01 21:24:08 -07:00
Dan Gohman
573118f3cb Bug 876064 - Change HeapLabel with NonAssertingLabel, and don't allocate it on the heap. r=luke 2013-07-01 21:23:00 -07:00
Benjamin Bouvier
f9704ccb5a Bug 884473: puts a warning message when compiled with --enable-perf and no env variable is given; r=sstangl 2013-07-01 16:35:27 -07:00
Benjamin Bouvier
19de02b18b Bug 884473: Integrate perf with OdinMonkey: basic blocks profiling; r=sstangl 2013-07-01 16:35:25 -07:00
Benjamin Bouvier
8ef9f2d8d2 Bug 884473: Integrate perf with Odinmonkey: functions profiling; r=sstangl 2013-07-01 16:35:22 -07:00
Luke Wagner
edad67f7bd Bug 885908 - use js_malloc instead cx->malloc inside ScriptSource::chars to avoid triggering GCs for large scripts (r=billm)
--HG--
extra : rebase_source : 87e4669be579cb7b9f836856e1bfb4bfcd0e6669
2013-07-01 16:26:19 -07:00
Till Schneidereit
7e9b9262b5 Bug 888613 - Micro-optimization of js::ToInteger. r=jwalden
--HG--
extra : rebase_source : 3e5774bec875860659b500ae9ab87c404f213c47
2013-07-02 00:48:18 +02:00
Till Schneidereit
70a0130389 Bug 888673 - Update Yarr yet again. r=sstangl
--HG--
extra : rebase_source : 129ba2817818f5c666b9d1bd4402a76999bff895
2013-07-01 23:29:19 +02:00
Terrence Cole
7f90ffb409 Bug 879079 - Fix static root analysis hazards around ToInteger; r=sfink
--HG--
extra : rebase_source : 645febaf4b4044e28ba9d53a301a7c3ca7468487
2013-06-26 14:46:23 -07:00
Terrence Cole
f3c3e84137 Bug 879079 - Fix static root analysis hazards around ValueToSource; r=sfink
--HG--
extra : rebase_source : 2f31fdefdcdd6bb95beace105f6b79458d3a407f
2013-06-26 14:44:51 -07:00
Terrence Cole
915cd81b12 Bug 879079 - Fix a static analysis rooting failure; r=wingo
--HG--
extra : rebase_source : 274a60e9fae01027fef0cdb67fc8fa56120a9c83
2013-06-26 14:18:14 -07:00
Terrence Cole
70de79d1da Bug 879079 - The static rooting analysis gets confused by Invoke's indirect parameter; r=sfink
--HG--
extra : rebase_source : 5428622f10f84ec6ffbae05dda7b14bf435c97ba
2013-06-26 10:38:30 -07:00
Ms2ger
29f5ad4120 Bug 888579 - Remove some code that handled WN Nodes; r=bholley 2013-07-01 09:14:36 +02:00
Ms2ger
96f5c40d25 Bug 887009 - Pass MutableHandleValue to Invoke(); r=terrence 2013-07-01 09:03:13 +02:00
Ms2ger
5ee433e133 Bug 887909 - Convert IDBFileHandle to WebIDL; r=janv 2013-07-01 09:02:37 +02:00
Bobby Holley
9660c3e29e Bug 880917 - Remove AutoVersionAPI. r=luke
This doesn't do anything anymore. The compile options should generally carry
the right version through, with the exception of eval, which will end up using
the version of the running script anyway.
2013-06-29 09:11:20 -06:00
Bobby Holley
489c96a151 Bug 880917 - Hoist defaultVersion into the runtime and remove it from the JSContext. r=luke 2013-06-29 09:11:19 -06:00
Bobby Holley
dd971bfb8c Bug 880917 - Remove JS_SetVersion and version override machinery. r=luke
\o/
2013-06-29 09:11:19 -06:00
Bobby Holley
9b2a8040e9 Bug 880917 - Remove js_RevertVersion and associated shell functionality. r=luke 2013-06-29 09:11:19 -06:00
Bobby Holley
d74725cf62 Bug 880917 - Add an API to mutate the version on the compartment and use it from the shells. r=luke 2013-06-29 09:11:19 -06:00
Bobby Holley
b279157b5e Bug 880917 - Remove XPConnect version munging test. r=luke
This test calls the version() shell command, and expects it to work like an
override, rather than the dumb compartment-mutator that I'm turning it into.
Let's just kill the test.
2013-06-29 09:11:18 -06:00
Bobby Holley
c5c7c812ca Bug 880917 - Convert JS_SetVersion API consumers to per-compartment versions. r=luke 2013-06-29 09:11:18 -06:00
Bobby Holley
8ddaa2c00c Bug 880917 - Add support for "latest" as a version to evalInSandbox, and use it for sjs files. r=luke
Sandboxes always default to JSVERSION_DEFAULT in the browser. But XPCShell sets
up a ContextCallback that does JS_SetVersion(cx, JSVERSION_LATEST) on every
context that gets created, including the ephemerial Sandbox JSContexts. Since
httpd.js runs in xpcshell and evaluates SJS in a sandbox, we've (somewhat
accidentally) supported JSVERSION_LATEST in SJS, which certain SJS files have
taken advantage of. Let's continue to support it explicitly.
2013-06-29 09:11:18 -06:00
Bobby Holley
87d9ab415f Bug 880917 - Remove testVersion.cpp. r=luke
This test coverages seems to be mostly testing functionality we're removing like
overrides and version introspection. Let's just kill it.
2013-06-29 09:11:17 -06:00
Bobby Holley
59df287653 Bug 880917 - Introduce an API for callers to set the version for a compartment. r=luke
This has lower precedence than 'overrides' and running script, and higher
precedence than the cx's version. We can migrate the API consumers who clearly
want something like this, which will eventually let us remove the override
mechanism.
2013-06-29 09:11:17 -06:00
Bobby Holley
49f8ff5f9d Bug 880917 - Generalize JS_NewGlobalObject API to take CompartmentOptions. r=luke
This will be useful for versioning, as well as JIT options and all the other
stuff that eventually needs to move out of the JSContext.
2013-06-29 09:11:17 -06:00
Bobby Holley
6838b751e1 Bug 880917 - Remove support for munging JS versions from JSD. r=luke
A quick grep of Firebug indicates that it doesn't use this. And even if I
missed it, doing so from a debugger with the current semantics is a feature
we can't support going forward.
2013-06-29 09:11:16 -06:00
Justin Lebar
c889f21d8f Bug 820686 - Follow-up: s/MOZ_ASSUME_NOT_REACHED/MOZ_ASSUME_UNREACHABLE/. rs=waldo
I'd meant to do this, but I only got as far as the comment in mfbt.  Oops!

--HG--
extra : rebase_source : 3cfe3ef1bf401eb7d9a10fcabcfb39008e9553a4
2013-06-28 19:20:12 -07:00
Justin Lebar
09d2312322 Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
d9ea536e65 Bug 820686 - Rename MOZ_NOT_REACHED() and JS_NOT_REACHED() to MOZ_ASSUME_NOT_REACHED(). r=waldo
This includes a mechanical renaming of MOZ_NOT_REACHED to MOZ_ASSUME_NOT_REACHED in JS.  Later patches in this queue clean up whitespace errors and so on.
2013-06-28 18:38:31 -07:00
Dan Gohman
e6f989c93f Bug 888275 - More x86 assembly spew cleanups. r=sstangl 2013-06-28 13:56:30 -07:00
Mike Shal
e1afc9dbd7 Bug 875013 - Eliminate VPATH usage (part 1 - EXPORTS); r=joey 2013-06-26 14:51:06 -04:00
Terrence Cole
45051c4652 Bug 888411 - Clear NewObjectCache entries with nursery slots or elements on minor GC; r=jandem
--HG--
extra : rebase_source : 0451c424a75a7ad6543ca45d72542d9a40bf7c51
2013-06-28 11:51:02 -07:00
Dan Gohman
e6ba2af5e8 Bug 885179 - Refactor visitMoveGroup into shared code. r=jandem 2013-06-28 11:34:55 -07:00
Dan Gohman
3b90117c1e Bug 888122 - Call MacroAssembler::PushRegsInMask instead of pushing each register manually on x86. r=dvander 2013-06-28 11:28:00 -07:00
Dan Gohman
b1d9519f92 Bug 888122 - Call MacroAssembler::PushRegsInMask instead of pushing each register manually on x64. 2013-06-28 11:27:20 -07:00
Jan de Mooij
d19c3ad47f Bug 887521 - Fix OnUnknownMethod to not modify vp if there's no __noSuchMethod__ method. r=jwalden 2013-06-28 19:22:15 +02:00
Benjamin Bouvier
0cff4b3046 Bug 886246: Set infinite flags after bounds for MPhi nodes in range analysis; r=nbp 2013-06-28 10:14:49 -07:00
Benjamin Bouvier
af203bd694 Bug 886866: Clean unused function and doc for Ion Perf integration; r=nmatsakis 2013-06-28 10:11:11 -07:00
Dan Gohman
0e66954343 Bug 888276 - Use hasUses() instead of checking useCount() == 0. r=h4writer 2013-06-28 07:41:19 -07:00
Ed Morley
28b1118166 Merge mozilla-central and inbound 2013-06-28 14:36:56 +01:00
Jan de Mooij
1276f2386c Bug 888212 - Set MArrayConcat result typeset. r=h4writer 2013-06-28 15:35:49 +02:00