Commit Graph

27332 Commits

Author SHA1 Message Date
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
Ed Morley
d2a76b639e Merge latest green birch changeset and mozilla-central 2013-06-28 14:33:47 +01:00
Jon Coppeard
cc7338c112 Bug 872824 - update incorrect comment DONTBUILD 2013-06-28 12:42:01 +01:00
Jon Coppeard
163323a838 Bug 872824 - IonMonkey: (ARM) Add support for hardware divide instructions r=mjrosenb 2013-06-28 11:54:08 +01:00
Phil Ringnalda
d33bf8c46b Merge m-c to birch 2013-06-27 19:41:24 -07:00
Dan Gohman
01071f0dec Bug 885169 - Add an explicit backwards-traversing register set iterator, so that code which needs to iterate in a specific order can ask for it explicitly. r=h4writer 2013-06-27 08:11:28 -07:00
Gregor Wagner
b56eda9fb9 Bug 887652 - Limit number of empty chunks after a GC. r=terrence 2013-06-28 09:31:17 +08:00
Jason Orendorff
da9dad1ef2 Backed out changeset 3f152e51be2b (bug 844805) for perf regressions (bug 887266). no_r=regression. 2013-06-26 21:30:48 -05:00
Jason Orendorff
b1c92ec07c Backed out changeset 5428fa083db3 (bug 844805) for perf regressions (bug 887266). no_r=regression. 2013-06-26 21:29:17 -05:00
Jason Orendorff
c883142327 Backed out changeset c39ede0eea8f (bug 844805) for perf regressions (bug 887266). no_r=regression. 2013-06-26 21:28:26 -05:00
Cykesiopka
506def29fd Bug 831741 - Followup: Remove remaining __cplusplus bits from /js (with exceptions). r=jorendorff 2013-06-26 21:35:11 -04:00
Nicholas Nethercote
c1a0def392 Bug 883696 (part 4) - Include full paths in #include statements in the rest of js/src/ and js/public/. r=luke. 2013-06-27 17:37:29 -07:00
Nicholas Nethercote
befdcd21d8 Bug 883696 (part 3) - Include full paths in #include statements in js/src/jsapi-tests/. r=luke. 2013-06-27 14:43:30 -07:00
Nicholas Nethercote
fb0fd26fb6 Bug 883696 (part 2) - Include full paths in #include statements in js/src/{assembler,yarr}/. r=luke. 2013-06-27 14:43:29 -07:00
Nicholas Nethercote
2ee0dce359 Bug 883696 (part 1) - Include full paths in #include statements in js/src/ion/. r=jandem. 2013-06-26 23:19:51 -07:00