Bobby Holley
8e593f3125
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
0017d49e02
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
45b8e8f871
Bug 880917 - Remove JS_SetVersion and version override machinery. r=luke
...
\o/
2013-06-29 09:11:19 -06:00
Bobby Holley
7776d82812
Bug 880917 - Remove js_RevertVersion and associated shell functionality. r=luke
2013-06-29 09:11:19 -06:00
Bobby Holley
d12dacd7b6
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
bbfa496f9b
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
f77eb1e574
Bug 880917 - Convert JS_SetVersion API consumers to per-compartment versions. r=luke
2013-06-29 09:11:18 -06:00
Bobby Holley
1a78a5f7db
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
2846036f12
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
4f5d414a60
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
f5f7bf3be5
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
af7109afb8
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
904130e9c2
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
6c46d0633d
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
de08e1432c
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
5ece5b7fe9
Bug 888275 - More x86 assembly spew cleanups. r=sstangl
2013-06-28 13:56:30 -07:00
Mike Shal
590ea3f8c1
Bug 875013 - Eliminate VPATH usage (part 1 - EXPORTS); r=joey
2013-06-26 14:51:06 -04:00
Terrence Cole
de56e2ee24
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
2f7720bacb
Bug 885179 - Refactor visitMoveGroup into shared code. r=jandem
2013-06-28 11:34:55 -07:00
Dan Gohman
031ae45ed3
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
3a3ef4d314
Bug 888122 - Call MacroAssembler::PushRegsInMask instead of pushing each register manually on x64.
2013-06-28 11:27:20 -07:00
Jan de Mooij
d575cd5471
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
4a830193a4
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
cdc4c4b4e1
Bug 886866: Clean unused function and doc for Ion Perf integration; r=nmatsakis
2013-06-28 10:11:11 -07:00
Dan Gohman
027378af5b
Bug 888276 - Use hasUses() instead of checking useCount() == 0. r=h4writer
2013-06-28 07:41:19 -07:00
Ed Morley
3bf8b20d67
Merge mozilla-central and inbound
2013-06-28 14:36:56 +01:00
Jan de Mooij
7606fc3ee5
Bug 888212 - Set MArrayConcat result typeset. r=h4writer
2013-06-28 15:35:49 +02:00
Ed Morley
38df1ffab0
Merge latest green birch changeset and mozilla-central
2013-06-28 14:33:47 +01:00
Jon Coppeard
dfa0281198
Bug 872824 - update incorrect comment DONTBUILD
2013-06-28 12:42:01 +01:00
Jon Coppeard
4e8db76541
Bug 872824 - IonMonkey: (ARM) Add support for hardware divide instructions r=mjrosenb
2013-06-28 11:54:08 +01:00
Phil Ringnalda
727a5dd9c7
Merge m-c to birch
2013-06-27 19:41:24 -07:00
Dan Gohman
656301ddb8
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
cd4493e872
Bug 887652 - Limit number of empty chunks after a GC. r=terrence
2013-06-28 09:31:17 +08:00
Jason Orendorff
5b51ecbbb3
Backed out changeset 3f152e51be2b (bug 844805) for perf regressions (bug 887266). no_r=regression.
2013-06-26 21:30:48 -05:00
Jason Orendorff
087a76b460
Backed out changeset 5428fa083db3 (bug 844805) for perf regressions (bug 887266). no_r=regression.
2013-06-26 21:29:17 -05:00
Jason Orendorff
a899785113
Backed out changeset c39ede0eea8f (bug 844805) for perf regressions (bug 887266). no_r=regression.
2013-06-26 21:28:26 -05:00
Cykesiopka
06857ab4f5
Bug 831741 - Followup: Remove remaining __cplusplus bits from /js (with exceptions). r=jorendorff
2013-06-26 21:35:11 -04:00
Nicholas Nethercote
66f90c8922
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
0d05f6d11b
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
95fa882c7c
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
188eac42c4
Bug 883696 (part 1) - Include full paths in #include statements in js/src/ion/. r=jandem.
2013-06-26 23:19:51 -07:00
Dan Gohman
05196b2259
Bug 871811 - Use push/pop for saving and restoring registers on the stack on x86/x64. r=mjrosenb
2013-06-27 18:49:52 -07:00
Brian O'Keefe
9d0dec8408
Bug 885019 - Move GTEST_CPPSRCS, GTEST_CMMSRCS, and GTEST_CSRCS to moz.build as GTEST_CPP_SOURCES, GTEST_CMM_SOURCES, and GTEST_C_SOURCES. r=gps
2013-06-22 10:33:31 -04:00
Emanuel Hoogeveen
63aac72328
Bug 887465 - Rewrite double-conversion's assertions in terms of the MOZ_* assertions, and keep wtf (Yarr) from redefining them. r=jwalden
...
--HG--
extra : rebase_source : 3cdadf85f6bc471f065d570cb03d2441886d3738
2013-06-27 16:25:42 -07:00
Marty Rosenberg
0ce6440176
bug 760642: Use a finger to make instruction lookups nearly instantaneous (r=jbramley)
2013-06-27 16:51:12 -04:00
Marty Rosenberg
276f7cbba5
bug 760642: Speed improvements for IonAssemblerBuffer (r=jbramley)
...
* Use a doubly linked list rather than one list for keeping track of the chunks
* Add a hueristic to determine whether we do lookups from the front of the list or the back
2013-06-27 16:51:09 -04:00
Shu-yu Guo
1234eb2dad
Bug 877893 - Part 4: Make MToString support doubles and threadsafe. (r=djvj)
2013-06-27 14:47:44 -07:00
Shu-yu Guo
6888d96993
Bug 877893 - Part 3: VM & Ion changes to make MToString threadsafe. (r=billm)
2013-06-27 14:47:44 -07:00
Shu-yu Guo
9c45b9352d
Bug 877893 - Part 2: Support string concat in parallel in Ion. (r=djvj)
2013-06-27 14:47:44 -07:00
Shu-yu Guo
385e86bbeb
Bug 877893 - Part 1: Convert string VM functions needed for concatenation to take ThreadSafeContext. (r=billm)
2013-06-27 14:47:44 -07:00