Commit Graph

36471 Commits

Author SHA1 Message Date
Ms2ger
12bdf91609 Bug 888579 - Remove some code that handled WN Nodes; r=bholley 2013-07-01 09:14:36 +02:00
Ms2ger
83be196469 Bug 887009 - Pass MutableHandleValue to Invoke(); r=terrence 2013-07-01 09:03:13 +02:00
Ms2ger
a2f191d90a Bug 887909 - Convert IDBFileHandle to WebIDL; r=janv 2013-07-01 09:02:37 +02:00
Bobby Holley
1ea512c17d 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
a7550aef7c 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
2d2baf2430 Bug 880917 - Remove JS_SetVersion and version override machinery. r=luke
\o/
2013-06-29 09:11:19 -06:00
Bobby Holley
60368c1726 Bug 880917 - Remove js_RevertVersion and associated shell functionality. r=luke 2013-06-29 09:11:19 -06:00
Bobby Holley
439ae70017 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
05ff64f03e 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
306f8a67ea Bug 880917 - Convert JS_SetVersion API consumers to per-compartment versions. r=luke 2013-06-29 09:11:18 -06:00
Bobby Holley
fbb93f2c02 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
979f8b69dc 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
0b8f9a10e6 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
270f94dd2f 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
71db19a14d 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
3da6ed220e 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
3e059c7221 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
674bdae8dc 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
114194a124 Bug 888275 - More x86 assembly spew cleanups. r=sstangl 2013-06-28 13:56:30 -07:00
Mike Shal
156426771a Bug 875013 - Eliminate VPATH usage (part 1 - EXPORTS); r=joey 2013-06-26 14:51:06 -04:00
Terrence Cole
a303826ff9 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
7e4affa0df Bug 885179 - Refactor visitMoveGroup into shared code. r=jandem 2013-06-28 11:34:55 -07:00
Dan Gohman
91be8654dd 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
1b6a2066e6 Bug 888122 - Call MacroAssembler::PushRegsInMask instead of pushing each register manually on x64. 2013-06-28 11:27:20 -07:00
Jan de Mooij
3345b24b2d 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
65a40b5804 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
5e0c9817e6 Bug 886866: Clean unused function and doc for Ion Perf integration; r=nmatsakis 2013-06-28 10:11:11 -07:00
Dan Gohman
80a51789e0 Bug 888276 - Use hasUses() instead of checking useCount() == 0. r=h4writer 2013-06-28 07:41:19 -07:00
Ed Morley
934c3a85a4 Merge mozilla-central and inbound 2013-06-28 14:36:56 +01:00
Jan de Mooij
5175a4f42b Bug 888212 - Set MArrayConcat result typeset. r=h4writer 2013-06-28 15:35:49 +02:00
Ed Morley
7bd880a445 Merge latest green birch changeset and mozilla-central 2013-06-28 14:33:47 +01:00
Jon Coppeard
8c01a241eb Bug 872824 - update incorrect comment DONTBUILD 2013-06-28 12:42:01 +01:00
Jon Coppeard
cb4efc50e3 Bug 872824 - IonMonkey: (ARM) Add support for hardware divide instructions r=mjrosenb 2013-06-28 11:54:08 +01:00
Phil Ringnalda
4b30bbfc5b Merge m-c to birch 2013-06-27 19:41:24 -07:00
Dan Gohman
175b9107c7 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
5082f0f7c1 Bug 887652 - Limit number of empty chunks after a GC. r=terrence 2013-06-28 09:31:17 +08:00
Jason Orendorff
8b21673a4d Backed out changeset 3f152e51be2b (bug 844805) for perf regressions (bug 887266). no_r=regression. 2013-06-26 21:30:48 -05:00
Jason Orendorff
6eb5f7714c Backed out changeset 5428fa083db3 (bug 844805) for perf regressions (bug 887266). no_r=regression. 2013-06-26 21:29:17 -05:00
Jason Orendorff
cd5ae7c064 Backed out changeset c39ede0eea8f (bug 844805) for perf regressions (bug 887266). no_r=regression. 2013-06-26 21:28:26 -05:00
Cykesiopka
fee3475339 Bug 831741 - Followup: Remove remaining __cplusplus bits from /js (with exceptions). r=jorendorff 2013-06-26 21:35:11 -04:00
Nicholas Nethercote
385e5fa1b0 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
9fed70182c 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
e8d906830e 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
9994d89bd2 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
670f349522 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
9ac855a180 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
66b88396c7 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
159355413a bug 760642: Use a finger to make instruction lookups nearly instantaneous (r=jbramley) 2013-06-27 16:51:12 -04:00
Marty Rosenberg
2233291e4a 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
8801ddfe23 Bug 877893 - Part 4: Make MToString support doubles and threadsafe. (r=djvj) 2013-06-27 14:47:44 -07:00