Yaron Tausky
83f14bdbee
Bug 793212 - Refactor IonBuilder::TestCommonPropFunc. r=efaust
2013-09-04 20:58:21 -04:00
Nicholas D. Matsakis
28607d0385
Bug 910777 - Add JSCLASS_IMPLEMENTS_BARRIERS to the Binary Data classes with custom trace r=sfink
2013-08-30 07:14:30 -04:00
Mike Hommey
f1cf3b4238
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Mike Hommey
9a4e27117c
Bug 912293 - Add a generic header and footer to generated Makefiles. r=gps
2013-09-05 09:01:45 +09:00
Mike Hommey
bf046a6397
Bug 912368 - Set relativesrcdir in config/tests/src-simple/Makefile and adjust so that it works. r=gps
2013-09-05 09:01:45 +09:00
Mike Hommey
77175c0058
Bug 911936 - Kill make depend. r=gps
2013-09-05 09:01:45 +09:00
Mike Hommey
c05cf63484
Bug 911634 - Create a .mozconfig.mk in the objdir when starting a build, and include it from config.mk. r=gps
2013-09-05 09:01:44 +09:00
Mike Hommey
d8476755d5
Back out changeset 6fe5a446b775 (bug 903118)
2013-09-05 09:01:44 +09:00
Mike Hommey
39b0d07225
Bug 911924 - Remove MAKE_DIRS leftovers. r=ted
2013-09-05 09:01:44 +09:00
Bobby Holley
b8f437054d
Bug 899367 - Make GetNativeGlobal consumers call GetWindowProxy and rm the former. r=mccr8
...
Some of the uses of this are a bit nonsensical now, but that's a problem for
another day.
2013-09-04 14:06:57 -07:00
Bobby Holley
401b0ffa0b
Bug 899367 - Remove xpc_UnmarkGrayContext. r=mccr8
...
Default compartment objects are never gray anymore.
2013-09-04 14:06:56 -07:00
Bobby Holley
a2ee102bd9
Bug 899367 - Remove JSOPTION_UNROOTED_GLOBAL. r=luke,mccr8
...
\o/
2013-09-04 14:06:56 -07:00
Bobby Holley
6d001e824e
Bug 899367 - Stop storing the window proxy on the JSContext. r=mccr8
...
We need to simultaneously report the new Heap Pointer to the cycle collector,
and remove the old machinery for cycle-collecting the default object via the
JSContext.
2013-09-04 14:06:56 -07:00
Bobby Holley
be3b15d07d
Bug 899367 - Stop depending on the default compartment object for DOM JSContexts. r=mccr8
2013-09-04 14:06:55 -07:00
Bobby Holley
7ea705498c
Bug 899367 - Add an API to opt out of default compartment objects. r=luke
...
We need this explicit API because otherwise the default compartment object will
get set implicitly during the first call to InitClasses.
2013-09-04 14:06:55 -07:00
Bobby Holley
9ed5f11e8d
Bug 899367 - Explicitly traverse outer windows, rather than doing it via JSContext iteration. r=mccr8
...
Note that this machinery will go away in further patches. But we want to be
deliberate about each of these steps.
2013-09-04 14:06:54 -07:00
Bobby Holley
8abcb2d562
Bug 899367 - Explicitly trace outer windows, rather than doing it via JSContext iteration. r=mccr8
2013-09-04 14:06:54 -07:00
Bobby Holley
b4f3731a75
Bug 899367 - Add an API to determine if we're marking gray. r=billm
...
This allows us to assert that certain callbacks get invoked during the gray
phase of a marking GC.
2013-09-04 14:06:54 -07:00
Bobby Holley
5cfc3855a5
Bug 899367 - Only use JSOPTION_UNROOTED_GLOBAL for DOM JSContexts. r=mccr8
...
We don't cycle collect any other kind, so there's no difference between marking
them gray and letting the JS engine mark them black. This also gets rid of that
nasty code which reset the flag, which billm theorizes has to do with faulty
logic in ContextHolder when creating ephemeral sandbox cxes. The assertion in
this patch should catch us if anything goes wrong.
2013-09-04 14:06:54 -07:00
Gregory Szorc
0c8af7b874
Bug 896797 - Part 3: Use install manifests for managing dist/include; r=glandium
2013-09-03 22:51:58 -07:00
Mike Hordecki
690ed10ecf
Bug 909672 - Make cross-compartment cloning possible with JS_StructuredClone. r=jorendorff
2013-09-04 13:20:51 -04:00
Andy Wingo
1e88113017
Bug 907744 - Implement iterator result boxing in ES6 generators. r=jorendorff
...
This patchset causes the bytecode emitter to yield boxed return values
in ES6 generators, of the form { value: foo, done: bool }.
If the generator function does not end in a return, the compiler inserts
the equivalent of a "return { value: undefined, done:true }" statement
at the end.
When an ES6 generator finishes, it does so with {done:true} instead of
throwing a StopIteration.
This patch also ports lib/asserts.js to "default version" JS, and ports
ecma_6/Generators to use it.
2013-09-04 13:20:48 -04:00
Dan Gohman
08213aaf2a
Bug 910814 - SpiderMonkey: Document that js_strtod_harder doesn't actually report overflow errors, and clean up its callers accordingly. r=waldo
2013-09-04 10:11:22 -07:00
Douglas Crosher
0846fc7904
Bug 893363 - Ionmonkey: improve support for the Linux perf performance tool. r=bbouvier
2013-09-04 11:57:24 +10:00
Kannan Vijayan
1f7e63f38e
Bug 909764 - Test case for catching rebinds of eval in strict mode. DONTBUILD.
2013-09-04 12:17:58 -04:00
Masatoshi Kimura
e2bd26bb53
Bug 911573 - Mochitest fixup to prepare removing Components-in-content with UniversalXPConnect. r=bholley
2013-09-05 01:02:34 +09:00
Masatoshi Kimura
52b72c8d13
Bug 911573 - Enable and use specialpowers in jsreftest. r=terrence, bholley
2013-09-05 01:02:27 +09:00
Ed Morley
17f2f82cdb
Merge mozilla-central and inbound
2013-09-04 16:53:03 +01:00
Terrence Cole
6ca829e111
Bug 906236 - Sweep DeclEnvObjects in the background; r=luke
2013-09-04 08:46:28 -07:00
Terrence Cole
c6607cee80
Bug 906243 - Handle shrinkSlots correctly for nursery things; r=jonco
...
--HG--
extra : rebase_source : 7c7a94b64d6227f701590d9da14cd6e6f0cde019
2013-09-04 08:46:00 -07:00
Kannan Vijayan
8773f9140b
Bug 906781 - Test case for JSOP_FUNAPPLY with arrays. DONTBUILD. r=jandem
2013-09-04 11:37:03 -04:00
Ed Morley
2a2f5c9d13
Merge latest green inbound changeset and mozilla-central
2013-09-04 12:54:46 +01:00
Ed Morley
bc2529d88f
Backed out changeset 8090e534656a (bug 896797) on suspicion of causing bug 912451 on a CLOSED TREE
2013-09-04 12:44:59 +01:00
Yaron Tausky
af4ef00952
Bug 911954 - Add forward declaration of JSScript to TraceLogging.h, r=h4writer
2013-09-04 13:14:44 +02:00
Gabor Krizsanits
b28e26644b
Bug 892203 - TextEncoder and TextDecoder for sandbox. r=bholley
2013-09-04 12:18:28 +02:00
Gabor Krizsanits
a58d3406fb
Bug 892203 - DOMConstructors for SandboxOptions. r=bholley
2013-09-04 12:16:04 +02:00
Gabor Krizsanits
398aaa2927
Bug 892203 - Minor cleanups in sandbox.cpp. r=bholley
2013-09-04 12:15:50 +02:00
Till Schneidereit
6ef4bd043b
Bug 912302 - Slim down TraceLogging output by shortening entry keys and timestamps. r=h4writer
...
--HG--
extra : rebase_source : c6eb53e295f648267c0dfbcf7f34709a3eccf15a
2013-09-04 12:35:50 +02:00
Phil Ringnalda
271703650a
Back out ce03cc2994aa:ae9f95fc1136 (bug 896797) for SpiderMonkey shell build bustage
...
CLOSED TREE
2013-09-03 23:21:30 -07:00
Gregory Szorc
09e6af1b95
Bug 896797 - Part 3: Use install manifests for managing dist/include; r=glandium
2013-09-03 22:51:58 -07:00
Gregory Szorc
f10d205e39
Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium
2013-09-03 20:28:05 -07:00
Phil Ringnalda
88db37da09
Back out cc6f66e761d8 (bug 896797) for Windows build bustage
...
CLOSED TREE
2013-09-03 21:55:21 -07:00
Gregory Szorc
bceea37cd9
Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium
2013-09-03 20:28:05 -07:00
Christian Holler
3e521c7f56
Bug 910486 - Disable a slow jit-test under ASan+debug. r=h4writer
...
--HG--
extra : rebase_source : 24cb356e45a5f9cd57c1b3711afcd6aba52c1a93
2013-09-04 01:49:13 +02:00
Felipe Gomes
5de1caaed5
Bug 899348 - Dispatch an event when an out-of-process browser crashes and display an error page when that occurs. r=bz
2013-09-03 19:11:22 -03:00
Kannan Vijayan
88fd0d93d3
Bug 906805 - Implement Baseline JSOP_GETELEM handlers which invoke getters. r=efaust
2013-09-03 17:55:20 -04:00
Steve Fink
3acf6902b9
Bug 912171 - Static rooting analysis: ignore ~AutoCompartment. r=NPOTB
...
DONTBUILD
--HG--
extra : rebase_source : 6e29cf2f844b76db662c35d4e4077d82622f48a1
2013-09-03 12:25:05 -07:00
Kannan Vijayan
7dad529eb4
Bug 909764 - Fix syntax parsing error that allows let bindings of eval in strict mode. r=jwalden r=jorendorff
2013-09-03 14:35:18 -04:00
Luke Wagner
43b6fe8667
Bug 911842 - OdinMonkey: disable Ion optimization passes that don't help (r=jandem)
2013-09-03 11:00:24 -05:00
Luke Wagner
9f60f1c109
Bug 911834 - OdinMonkey: skip ApplyTypeInformation pass (r=jandem)
...
--HG--
extra : rebase_source : af5ae8f0bffe18672dec9dd52aa3ab6446976481
2013-09-03 09:56:13 -05:00
Luke Wagner
e5b3e13697
Bug 911834 - OdinMonkey: create phis with a type directly (r=jandem)
...
--HG--
extra : rebase_source : 2b6a9168c855f9f8c028022f7fb7dbb85459ab1a
2013-09-02 11:22:44 -05:00
Makoto Kato
d5d70a7936
Bug 911741 - ICU doesn't use optimize flag. r=gps
2013-09-04 16:42:24 +09:00
Gregory Szorc
f0091a8951
Bug 896797 - Part 3: Use install manifests for managing dist/include; r=glandium
2013-09-03 22:51:58 -07:00
Gregory Szorc
7693c5688d
Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium
2013-09-03 20:28:05 -07:00
Benjamin Bouvier
1bd5dec356
Bug 888109: Float32 general optimizations for IonMonkey: framework and arithmetic operations; r=sstangl,nbp
2013-07-18 15:13:15 -07:00
Mike Hommey
36fc0ca54c
Bug 911902 - Build ffi and icu during the compile tier instead of export. r=gps
2013-09-06 09:20:16 +09:00
Mike Hommey
e297b68676
Bug 912856 - Add a compile 'tier' to build OBJS and HOST_OBJS. r=gps
2013-09-06 09:19:32 +09:00
Mike Hommey
a229160645
Bug 912832 - Inverse tiers and subtiers for build traversal. r=gps
2013-09-06 09:17:59 +09:00
Nicholas Nethercote
9f1e2f02b8
Bug 912411 (part 3) - Remove lots of jsapi.h includes in SpiderMonkey. r=luke.
...
--HG--
extra : rebase_source : c2219e3a911b8242a6aa89f91997fbd7caa542dc
2013-09-05 16:08:57 -07:00
Nicholas Nethercote
3a2ab0db3f
Bug 912411 (part 2) - Move JSID_{VOID,EMPTY}HANDLE from jsapi.{h,cpp} to Id.{h,cpp}. r=luke.
...
--HG--
extra : rebase_source : 5fb68bf5079e3261fdca6cb99717d3a502c878f3
2013-09-05 16:08:57 -07:00
Nicholas Nethercote
6ed33677cf
Bug 912411 (part 1) - Removed some jsapi.h includes in Gecko. r=bz.
...
--HG--
extra : rebase_source : c0b73945bcd6978a616fd846e33e69fae9162d78
2013-09-05 16:08:06 -07:00
Daniel Holbert
c96ef00b1c
Bug 913124: Put ASTSerializer into anonymous namespace, since one of its member-vars is in anonymous namespace (& to silence GCC warning). r=Waldo
2013-09-05 17:03:41 -07:00
Christian Holler
7cc0b6f552
Bug 901908 - Mark a jit-test as slow. r=h4writer
...
--HG--
extra : rebase_source : b5c233a903d90e8b07e86c6d2fbd8bd06a70e45f
2013-09-05 21:24:48 +02:00
Kannan Vijayan
9b801a4f9a
Bug 906805 - Implement Baseline JSOP_GETELEM handlers which invoke getters. try 2. r=efaust
2013-09-05 11:37:07 -04:00
Hannes Verschore
73bb68b253
Bug 897926: IonMonkey: Fix execution difference in code refactored by previous patch, r=jandem
2013-09-05 15:47:17 +02:00
Till Schneidereit
d627ccc922
Bug 912496 - Store source file names and info strings (identified by pointer) only once in tracelogging.log and refer to them by auto-incrementing id after that. r=h4writer
...
--HG--
extra : rebase_source : 29533698d6a36ed17d1c7e1b728480fcb9325301
2013-09-05 13:05:54 +02:00
Hannes Verschore
6cec0dd24a
Bug 897926 - IonMonkey: Don't add osr typebarriers for aliased vars, r=jandem
2013-09-05 13:07:31 +02:00
Jan de Mooij
743b862c30
Bug 911989 - Compile JSOP_DELELEM with IonMonkey. r=h4writer
2013-09-05 10:12:57 +02:00
Mike Hommey
ca4fb7e51e
Bug 912845 - Fix typo in js/src/Makefile.in making some headers exported during make libs instead of make export. r=gps
2013-09-05 15:10:26 +09:00
Mike Hommey
f5d048db5e
Bug 912292 - Always traverse sub-directories after executing rules in the current directory. r=gps
2013-09-05 15:08:43 +09:00
Robert O'Callahan
33cdb42706
Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
...
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Jeff Walden
04c2468283
Bug 730805 - Provide mozilla/IntegerPrintfMacros.h to implement the PRI* macros portion of the <inttypes.h> interface. r=espindola
...
--HG--
extra : rebase_source : be80333003c6fec659e736a77463568c836d8348
2011-12-15 00:27:42 -05:00
Jan de Mooij
04d6948a02
Bug 911370 - Don't leak IonScript if IonCode allocation fails in CodeGenerator::link. r=bhackett
2013-09-03 11:12:35 +02:00
Dan Gohman
93085a7034
Bug 910814 - SpiderMonkey: Disable errno for math functions. r=glandium
2013-09-02 17:21:21 -07:00
Dan Gohman
969b1271ca
Bug 910782 - SpiderMonkey: Various macro cleanups. r=luke
2013-09-02 16:32:16 -07:00
Dan Gohman
fe7c9c7d83
Bug 910782 - SpiderMonkey: Eliminate the ADD_EMPTY_CASE macro. r=luke
2013-09-02 16:31:10 -07:00
Brian Hackett
a8859a66e0
Bug 864928 - Remove ScriptAnalysis::analyzeTypes, r=jandem.
2013-09-02 15:39:31 -07:00
Dan Gohman
b59ee0e2d0
Bug 895435 - SpiderMonkey: Quote characters so that the build doesn't fail if CWD contains a file named 'b'. r=glandium
2013-09-02 14:55:21 -07:00
Luke Wagner
e68684938d
Bug 909826 - Tidy up stack overflow exit (r=mjrosenb)
...
--HG--
extra : rebase_source : d1df34f829ec031e027cad7b05146b6987251c26
2013-08-28 15:01:36 -05:00
Luke Wagner
1c31bc2c66
Bug 909826 - Merge x86/x64 and ARM GenerateEntry paths (r=mjrosenb)
...
--HG--
extra : rebase_source : 13b85d280ba675860cd48aa8542526b3da56c274
2013-08-28 15:01:36 -05:00
Luke Wagner
7917fc914e
Bug 909826 - Change x86/x64 GenerateEntry to be more like ARM (r=bbouvier)
...
--HG--
extra : rebase_source : 04e5454e6bb4526875246bc1ca374764d5a8eb39
2013-08-28 15:01:36 -05:00
Dan Gohman
830bd0f77b
Bug 910782 - SpiderMonkey: Simplfy the END_CASE macros. r=terrence
2013-09-02 13:21:40 -07:00
Benjamin Peterson
ab2e43c824
Bug 911806 - Disable assignment operator and copy constructor of CompileError. r=billm
2013-09-02 14:44:04 -04:00
Brian Hackett
8d9775f4b4
Bug 911204 - Directly heap allocate CompileErrors when parsing off thread, r=billm.
2013-09-02 10:06:43 -07:00
Brian Hackett
e6e207b9a7
Bug 906788 - Construct TypeObject newScript information using MIR, r=jandem.
2013-09-02 10:05:27 -07:00
Jacek Caban
f2b60fc678
Bug 898936 - mingw-w64 fix.
2013-09-02 12:24:18 +02:00
Nicholas Nethercote
9b11a66f4b
Bug 911043 (part 2) - Remove unnecessary jsapi.h includes in SpiderMonkey. r=luke.
...
--HG--
extra : rebase_source : 2320e364bb9efb59283a572e100185702ef494da
2013-09-01 22:03:30 -07:00
Nicholas Nethercote
1a9de23d54
Bug 911043 (part 1) - Move the "inject JS:: names into js::" block into its own file, to reduce dependencies on jsapi.h. r=luke.
...
--HG--
extra : rebase_source : 2250064bdd316ffeb8126da749bdf94ab9da4418
2013-09-01 21:51:02 -07:00
Bill McCloskey
7465931ca6
Bug 909574 - Fix LifoAlloc to work with MergeCompartments (r=bhackett)
2013-09-01 21:28:12 -07:00
Nicholas Nethercote
191ed08f6a
Bug 911020 - Introduce js/TypeDecls.h, which holds very commonly used type declarations from the JS engine. r=luke.
...
--HG--
extra : rebase_source : 008ef689989f93b46627b8be8608bdbc544ca3a2
2013-08-27 19:59:14 -07:00
Dan Gohman
6eb1edd83c
Bug 910796 - SpiderMonkey: Micro-optimize ICCompare_Int32::Compiler::generateStubCode on x64. r=evilpies
2013-08-31 07:29:41 -07:00
Dan Gohman
a9ea5e8f44
Bug 910796 - SpiderMonkey: Micro-optimize loadBaselineFramePtr. r=jandem
2013-08-31 07:29:41 -07:00
Dan Gohman
225f3516f1
Bug 910796 - SpiderMonkey: Micro-optimize emitStackCheck. r=djvj
2013-08-31 07:29:41 -07:00
Dan Gohman
ab4e2990a9
Bug 910796 - IonMonkey: Delete unnecessary instructions in the ArgumentsRectifier sequence for x86/x64. r=sstangl
2013-08-31 07:29:41 -07:00
Dan Gohman
df18f98828
Bug 910796 - IonMonkey: Micro-optimize testNegativeZero on x64. r=sstangl
2013-08-31 07:29:41 -07:00
Dan Gohman
f2d154d5d0
Bug 910796 - IonMonkey: Micro-optimize AbsD on x86/x64. r=sstangl
2013-08-31 07:29:41 -07:00
Dan Gohman
48bfc30101
Bug 910796 - IonMonkey: Micro-optimize sqrt. r=jandem
2013-08-31 07:29:41 -07:00
Dan Gohman
ca5b378a89
Bug 910796 - IonMonkey: Micro-optimize PowHalfD on x86/x64. r=sstangl
2013-08-31 07:29:41 -07:00
Dan Gohman
db861120ea
Bug 910829 - SpiderMonkey: Put cpp-private classes in anonymous namespaces. r=waldo
2013-08-31 06:19:15 -07:00
Dan Gohman
2419908046
Bug 910829 - SpiderMonkey: Delete redundant null checks. r=jandem
2013-08-31 06:18:42 -07:00