Commit Graph

40118 Commits

Author SHA1 Message Date
Till Schneidereit
f87f1b54e6 Bug 861219 - Part 1: Make Date.prototype not be a Date object. r=bholley 2014-05-26 13:04:55 +02:00
Tooru Fujisawa
96b99a0d06 Bug 861219 - Part 0: Make ClassSpec be able to delegate to another ClassSpec. r=bholley 2015-05-12 18:05:38 +09:00
Jon Coppeard
7f518a71e6 Bug 1163643 - Fix unified build errors following recent marking changes r=terrence 2015-05-12 10:04:14 +01:00
Mike Hommey
3a3e32f4c0 Bug 1043692 - Move DIST_INSTALL to moz.build. r=gps 2015-05-12 07:55:22 +09:00
Mike Hommey
ec07b959e5 Bug 1043692 - Add a DIST_INSTALL variable to moz.build, and replace NO_DIST_INSTALL with it. r=gps 2015-05-12 07:55:21 +09:00
Mike Hommey
c4edef7b2b Bug 1162779 - Move NO_EXPAND_LIBS to moz.build. r=mshal 2015-05-12 07:26:42 +09:00
Jeff Walden
d88c2a427a Bug 1158399 - Ensure/assert that DateObject::setUTCTime never stores a non-TimeClip'd value in the reserved slot. r=evilpie 2015-04-30 20:03:30 -07:00
Jeff Walden
c1dad444dd Bug 1155472 - Add the ES6 grammar parametrization to all the Parser methods, so that the permissibility of |in|, |yield| as keyword, &c. is specified directly, not by inspecting instantaneous statefulness. Don't change the statefulness yet, tho -- stop relying on it (where appropriate) in a later patch. r=efaust 2015-04-07 16:24:33 -07:00
Jeff Walden
97ecb2b229 Bug 1155472 - Reorder the various statement items in Parser::statement to correspond to the ordering in the Statement grammar production. r=efaust 2015-04-06 17:32:51 -04:00
Sean Stangl
aad2d6d263 Bug 1163168 - Prettify IonAssemblerBuffer.h. r=dougc 2015-05-08 11:55:34 -07:00
Wes Kocher
6fd66905f8 Backed out 2 changesets (bug 1159401) for b2g build bustage
Backed out changeset adfee1efb1e1 (bug 1159401)
Backed out changeset 70c63c8546e3 (bug 1159401)
2015-05-11 14:54:02 -07:00
Shu-yu Guo
245b492878 Bug 1154115 - Rewrite profiler JSON streaming. (r=mstange) 2015-05-11 14:16:44 -07:00
Shu-yu Guo
5d5fdbcc30 Bug 1154115 - Rewrite the JSAPI profiling API to use a FrameHandle, as to avoid multiple lookups in JitcodeGlobalTable. (r=djvj) 2015-05-11 14:16:44 -07:00
Birunthan Mohanathas
b2ee671e29 Bug 1162766 - Fix more bad implicit constructors in js. r=evilpie 2015-05-07 15:24:56 -07:00
Wes Kocher
a4c92e377b Backed out changeset 56e4c68dc3da (bug 1163387) for build bustage CLOSED TREE 2015-05-11 13:17:58 -07:00
Andrea Marchesini
5f0d79c537 Bug 1163387 - Rename FileImpl to BlobImpl, r=ehsan 2015-05-11 18:50:54 +01:00
Andrea Marchesini
8216a76e2b Bug 1159401 - patch 1 - Split Blob and File in 2 classes, r=bz 2015-05-11 18:50:50 +01:00
Terrence Cole
ff70316f24 Bug 1163059 - Add a more convenient wrapper for isAtomsZone; r=sfink 2015-05-07 10:17:49 -07:00
Ryan VanderMeulen
ab585ee6e8 Backout revisions 4287533203fb and 96a3ebfe09d8 (bug 1159401) for bustage.
CLOSED TREE
2015-05-11 11:43:59 -04:00
Brian Hackett
0013770a05 Bug 1161346 - Add missing capacity for unboxed arrays, r=jandem. 2015-05-11 08:35:27 -06:00
Andrea Marchesini
3d1cf0758c Bug 1159401 - patch 1 - Split Blob and File in 2 classes, r=bz 2015-05-11 15:20:06 +01:00
Douglas Crosher
ddc9b0d8bb Bug 1160911 - JIT: precise shift right derived result range for all int32 input ranges. r=sunfish 2015-05-10 15:42:23 +10:00
Phil Ringnalda
8ff50f4652 Back out 2 changesets (bug 944164) for breaking fuzzing
Backed out changeset 4323557b111d (bug 944164)
Backed out changeset bff319d49d58 (bug 944164)
2015-05-10 15:17:27 -07:00
Wes Kocher
1b93ef6944 Backed out changeset 4963ecd92915 (bug 1067610) for m-oth permafail CLOSED TREE 2015-05-08 19:44:11 -07:00
Tom Schuster
b624f6d01c Bug 1055473 - Make WeakMap/Set.prototype a plain object. r=Waldo 2015-05-08 23:27:50 +02:00
Jan de Mooij
2e4d61a916 Bug 1157231 - Optimize calls to own property setters. r=efaust 2015-05-08 21:41:50 +02:00
Tooru Fujisawa
900a39cb05 Bug 1163020 - Fix --jitflags=none or no --jitflags in jit_test.py. r=terrence 2015-05-09 04:01:03 +09:00
Steve Fink
398019f0d7 Bug 944164 - Add in missing shell/jsshell.h file, r=bustage, a=KWierso for CLOSED TREE push 2015-05-07 09:53:31 -07:00
Steve Fink
1b2945dc6c Bug 944164 - Move a bunch of file-related stuff onto an os.file object, creating aliases from the old names, r=jorendorff 2015-05-08 10:45:24 -07:00
Brian Hackett
661d0c0824 Bug 1067610 - Rewrite how the main data structures in the backtracking allocator are organized, r=sunfish. 2015-05-08 11:42:10 -06:00
Terrence Cole
3e1fa7a861 Bug 1162590 - Change the name of the 2-arg traverse to traverseEdge; r=sfink 2015-05-07 10:17:47 -07:00
Terrence Cole
173a1b60b6 Bug 1162303 - Simplify TenuringTracer's implementation; r=jonco 2015-05-07 10:17:45 -07:00
Terrence Cole
f87a7d6199 Bug 1162301 - Move tenuring implementation to TenuringTracer; r=sfink 2015-05-07 10:17:43 -07:00
Terrence Cole
185cb3a822 Bug 1162296 - Use generic value traversal when scanning unboxed memory; r=jonco 2015-05-06 10:26:34 -07:00
Jan de Mooij
d5921ef615 Bug 1157239 - Give MGuardShape and friends a resultTypeSet. r=h4writer 2015-05-08 15:18:03 +02:00
Jan de Mooij
5e29220752 Bug 1124870 - Use LookupPropertyPure instead of LookupProperty in IsCacheableDOMProxyUnshadowedSetterCall. r=evilpie 2015-05-08 15:17:52 +02:00
Jon Coppeard
b229dafe94 Bug 1162078 - Ignore timeouts for some CGC tests r=terrence DONTBUILD 2015-05-08 12:48:47 +01:00
Shu-yu Guo
526c07fdc3 Bug 1161362 - When initializing a trivial script, also initialize its call object shape to the empty shape. (r=jimb) 2015-05-07 18:16:53 -07:00
Shu-yu Guo
36438bca4a Bug 1161351 - Fix unwound exit frame sizes in JitProfilingFrameIterator. (r=nbp) 2015-05-07 18:16:53 -07:00
Shu-yu Guo
e67a23e77e Bug 1158223 - Tweak XPConnect stack size on 64bit Windows. (r=bholley) 2015-05-07 18:16:53 -07:00
Steve Fink
9dd98a42ae Bug 1162310 - Do not use nonexistent macro when XGILL_PLUGIN is defined, r=bhackett 2015-05-07 09:49:41 -07:00
Nicholas Nethercote
ad27c3edd4 Bug 1161377 (part 2) - Remove PL_NewDHashTable() and PL_DHashTableDestroy(). r=froydnj.
They're not needed now that there is an initializing constructor and a
destructor.
2015-05-04 22:59:24 -07:00
Tooru Fujisawa
95431b9fd6 Bug 1162456 - Part 2: Use --format=automation instead of --tinderbox. r=sfink 2015-05-08 05:05:45 +09:00
Tooru Fujisawa
e32fa29dfd Bug 1162456 - Part 1: Add --format option in jstests.py and jit_test.py as a replacement for --tinderbox. r=sfink 2015-05-08 05:05:42 +09:00
Jon Coppeard
ee40c63835 Bug 1161353 - Follow-up to remove more post-barrier verifier cruft; r=terrence 2015-05-07 03:47:00 -07:00
Tooru Fujisawa
2bcdfe6ac1 Bug 1161410 - Part 2: Use --jitflags instead of --tbpl and --tbpl-debug. r=sfink 2015-05-08 00:28:55 +09:00
Tooru Fujisawa
d0fc171a94 Bug 1161410 - Part 1: Update --jitflags option in jstests.py and jit_test.py as a replacement for --tbpl and --tbpl-debug. r=sfink 2015-05-08 00:28:52 +09:00
Brian Hackett
af67f8bf42 Bug 1161762 - Fix test used for whether an unboxed object layout is too large, r=jandem. 2015-05-07 07:43:27 -06:00
Olli Pettay
617782968b Bug 1161491 - schedulePreciseGC should use the normal GC triggering mechanisms, r=mccr8 2015-05-07 14:47:56 +03:00
Gabor Krizsanits
e5cd4750e3 Bug 1148188 - part2: interposeCall. r=billm 2015-05-07 14:03:24 +02:00
Gabor Krizsanits
6d2b1f6962 Bug 1148188 - part1: defaultShims. r=billm 2015-05-07 14:01:43 +02:00
Jan de Mooij
ad170b2fe1 Bug 1160535 part 5 - Remove the now bogus !maybeScript check in CreateLazyScriptsForCompartment. r=shu 2015-05-07 11:26:37 +02:00
Jan de Mooij
86ce623495 Bug 1160535 part 4 - Remove an assert in XDRInterpretedFunction that's now bogus. r=nbp 2015-05-07 11:26:35 +02:00
Jan de Mooij
84ba7e2a90 Bug 1160535 part 3 - Make the LazyScript -> JSScript pointer weak. r=jonco,terrence 2015-05-07 11:26:34 +02:00
Jan de Mooij
83e2288f66 Bug 1160535 part 2 - Do function relazification as part of a new GC phase instead of during marking. r=terrence 2015-05-07 11:26:32 +02:00
Jon Coppeard
38e7afe7ef Bug 1157382 - Fix possible data race caused by accessing the mark bits of cells in another runtime r=terrence 2015-05-07 10:14:40 +01:00
Jon Coppeard
483f850c06 Bug 1161303 - Fix bug in NewObjectCache::newObjectFromHit() caused by previous patch in bug 1155618 r=terrence 2015-05-07 10:14:40 +01:00
Jon Coppeard
98c651dae0 Bug 1155618 - Report allocation failure to context for baseline ICStubs r=jandem 2015-05-07 10:14:40 +01:00
Jon Coppeard
0553f878f7 Bug 1161968 - Fix assertion failure in CloneFunctionObject() if script gets relazified r=jandem 2015-05-07 10:14:40 +01:00
Andrea Marchesini
a90c5be53e Bug 1156875 - patch 1 - URL.createObjectURL leaks in JS sandbox, r=bholley 2015-05-07 08:05:43 +01:00
Lars T Hansen
e5441bd63e Bug 1161298 - missing length guard on SAB. r=bbouvier 2015-05-07 11:02:12 +02:00
Phil Ringnalda
2389c5e8aa Back out cb1b4b057dad (bug 1161362) for Linux64 cgc failures
CLOSED TREE
2015-05-06 21:15:22 -07:00
Bobby Holley
bc1912f688 Bug 1131707 - Transparently forward the construct bit for function forwarders. r=gabor 2015-05-06 18:11:51 -07:00
Hannes Verschore
55c7b88f84 Bug 1159899: IonMonkey: Fix folding of ~~x, r=nbp 2015-05-07 02:58:27 +02:00
Wes Kocher
1454b99ba1 Backed out changeset 7c7e849bb5fd (bug 1161351) for sm arm orange CLOSED TREE 2015-05-06 16:53:29 -07:00
Jeff Gilbert
b48bc21974 Bug 1142279 - DataView should require 'new'. - r=efaust 2015-05-06 15:55:05 -07:00
Shu-yu Guo
84dea9a8f7 Bug 1161362 - When initializing a trivial script, also initialize its call object shape to the empty shape. (r=jimb) 2015-05-06 15:55:26 -07:00
Shu-yu Guo
9c3c3dcfdb Bug 1161351 - Fix unwound exit frame sizes in JitProfilingFrameIterator. (r=nbp) 2015-05-06 15:55:26 -07:00
Brian Hackett
41a92895ba Bug 1160887 - Fix various unboxed object bugs, r=jandem,terrence. 2015-05-06 13:04:59 -06:00
Brian Hackett
ef90010167 Bug 1161077 - Remove file that is no longer used. 2015-05-06 12:57:59 -06:00
Terrence Cole
3ed995f994 No Bug - Add detail to a comment documenting out barrier implementation; r=sfink NO BUILD 2015-05-06 11:08:48 -07:00
Terrence Cole
72db04da5b Bug 1161726 - Use a custom tracer for tenuring to avoid the indirect calls; r=jonco 2015-05-04 17:36:31 -07:00
Terrence Cole
333aa5d482 Bug 1161353 - Remove the post-barrier verifier; r=sfink 2015-05-04 17:34:38 -07:00
Terrence Cole
4be03f3456 Bug 1159806 - Replace macro assertions with inline functions; r=sfink 2015-04-29 17:42:48 -07:00
Jan de Mooij
79b41494fa Bug 1160535 part 1 - Give JSFunction its own AllocKind. r=terrence 2015-05-06 16:52:46 +02:00
Nicolas B. Pierron
9faa20ad57 Bug 1161584 - Add TrackedStrategy::SetProp_InlineCache. r=shu 2015-05-06 15:51:45 +02:00
Jon Coppeard
33a19409f6 Bug 1160163 - Refactor arena decommit so we don't have to pass dummy thing kind to allocateArena() r=terrence 2015-05-06 09:45:10 +01:00
Jon Coppeard
97c6239c09 Bug 1160468 - Remove unnecessary pre-barrier when creating undepended string r=terrence 2015-05-06 09:44:42 +01:00
Florian Merz
5ed1390251 Bug 1155211 - SIMD: rename lane mutators - load/store. r=bbouvier 2015-05-05 21:18:36 +02:00
Tooru Fujisawa
c5a90ab4c3 Bug 1161628 - Fix leak in ErrorWrongTypeArg. r=bbouvier 2015-05-06 15:44:31 +09:00
Terrence Cole
f6eb7cf6e4 Bug 1160665 - Use the same implementation for both internal and external barriers; r=jonco 2015-05-01 10:23:57 -07:00
Terrence Cole
76b7331f02 Bug 1160567 - Assert that object derived types are not exposed in the API; r=jonco 2015-05-01 10:23:57 -07:00
Tooru Fujisawa
04cdfd8863 Bug 1157354 - Part 2: Pass --tbpl and --tbpl-debug to more spidermonkey shell build variants. r=sfink 2015-05-05 13:59:51 +09:00
Tooru Fujisawa
a64b02bb39 Bug 1157354 - Part 1: Add --tbpl-debug option to jstests.py. r=sfink 2015-05-05 13:59:51 +09:00
Tooru Fujisawa
3483fd13cd Bug 1160137 - Use 64bit on Windows 8 x64 debug spidermonkey shell build. r=sfink 2015-05-05 13:59:51 +09:00
Tooru Fujisawa
8fb77b7548 Bug 1160490 - Set target to x86_64 for spidermonkey shell build on Windows 8 x64. r=sfink 2015-05-05 13:59:48 +09:00
Brian Hackett
1e556a7c9c Bug 1161077 - Allocate unboxed arrays in the nursery, r=terrence. 2015-05-04 16:36:54 -07:00
Bobby Holley
d46439b4b9 Bug 1151385 - Fail early for cross-origin sandboxPrototype. r=gabor 2015-05-04 11:05:29 -07:00
Benjamin Smedberg
25916a65c0 Bug 1159737 Stop supporting binary XPCOM components except built into the application. r=froydnj sr=bz Some xpcshell tests of binary functionality need to register binary components. Expose a function "registerAppManifest" in the xpcshell environment to make this available to tests without exposing it to addons. r=bholley 2015-05-01 10:23:44 -04:00
Nicolas B. Pierron
5432be44a0 Bug 1150783 - Use a special JitFrame to record when LazyLink stubs are on the stack. r=h4writer 2015-05-04 15:14:39 +02:00
Nicolas B. Pierron
d6c76e96a1 Bug 1158344 part 1 - Use the an instruction which is not a beta node for hoisting bounds checks. r=sunfish 2015-05-04 15:14:39 +02:00
Nicolas B. Pierron
87fcf5a21d Bug 1138195 - Ensure that the bytecode analysis is consistent with the bindings. r=jandem 2015-05-04 15:14:38 +02:00
Gabor Krizsanits
547a796489 Bug 1101182 - One interpose call for one property access. r=bholley 2015-05-04 08:57:52 +02:00
Brian Hackett
d356b0167f Bug 1146597 - Remove redundant check for unboxed object/array runtime option. 2015-05-03 17:19:02 -07:00
Brian Hackett
aae4a0cada Bug 1157703 - Cache iterators involving unboxed objects, r=jandem. 2015-05-03 15:27:12 -07:00
Brian Hackett
283ee20b7f Bug 1146597 - Add unboxed arrays for JSOP_NEWARRAY arrays, and shell option for using them, r=jandem. 2015-05-03 08:14:04 -07:00
Jeff Walden
60f00b7950 Bug 1160356 - Make new Date(arg1, arg2, ...) conform to ES3-6 in converting *all* arguments to number before computing the return value. r=evilpie 2015-04-30 09:58:58 -07:00
Jeff Walden
919127e63f Bug 1160356 - Reorganize the code for the Date function/constructor into three separate methods, to be more consistent with ES6's definition of it. Don't change the actual algorithm yet -- this is just code motion. r=evilpie 2015-04-30 09:58:58 -07:00
Jeff Walden
8d4c8b6577 Bug 1160356 - Make Date.UTC conform to ES3-6 in converting *all* arguments to number before computing the return value. r=evilpie 2015-04-30 09:58:58 -07:00
Terrence Cole
16e29d4759 Bug 1159428 - Use Value and Id type-based dispatching to simplify barriers; r=jonco 2015-04-30 11:29:43 -07:00
Eric Rahm
59005b2eab Bug 1160267 - JS build files should not declare IMPL_MFBT. r=glandium 2015-04-30 15:10:03 -07:00
ProgramFOX
63c6e0f603 Bug 1153602 - SIMD (interpreter): Added more test cases for ReciprocalSqrtApproximation. r=Waldo 2015-04-29 16:56:53 +02:00
Jon Coppeard
77fbad3ef5 Bug 1155618 - Fix tracelogger destructor that touches possibly uninitialised hash table r=benj 2015-05-01 16:26:11 +01:00
Jon Coppeard
01ae8d28d8 Bug 1155618 - Fix places where OOM errors are not reported to the context in js::DependentAddPtr r=terrence 2015-05-01 16:26:10 +01:00
Jon Coppeard
0d79eaae5d Bug 1155618 - Fix some places where OOM errors are not reported to the context r=terrence 2015-05-01 16:26:10 +01:00
Jon Coppeard
270fbaef21 Bug 1159714 - Templatise AutoVectorRooter implementation r=terrence 2015-05-01 16:26:10 +01:00
Tom Schuster
e16d8a3361 Bug 1158463 - Reorder property creation in js::FromPropertyDescriptorToObject. r=Waldo 2015-05-01 12:32:53 +02:00
Florian Scholz
920d9edf98 Bug 1153825 - Fix length properties of (Weak){Map,Set} constructors; r=evilpie 2015-05-01 12:32:53 +02:00
Ryan VanderMeulen
f3e32f8fe2 Merge m-c to inbound. a=merge
CLOSED TREE
2015-05-01 10:50:07 -04:00
Ryan VanderMeulen
2e09be4e71 Backed out 3 changesets (bug 1155900) for frequent browser_net_cached-status.js failures. CLOSED TREE
Backed out changeset 8b3bb908f6fc (bug 1155900)
Backed out changeset 195a3736c877 (bug 1155900)
Backed out changeset 5d7b3b8cce5a (bug 1155900)
2015-05-01 09:30:44 -04:00
Jeff Walden
f02fb67d3a Bug 1155900 - Followup test-fix and no-longer-correct assertion removal. r=bustage in a CLOSED TREE 2015-04-30 22:54:53 -07:00
Jeff Walden
d847124eb0 Bug 1155900 - Make frontend-triggered GetIterator perform ToObject before doing GetMethod(..., @@iterator), and add tests. (There's no behavioral change, except in terms of error messages, because the presence of bug 603201 causes this ToObject call to happen anyway -- but if that bug had been fixed before this one, these changes would have fixed a bug.) r=shu 2015-04-20 19:51:17 -07:00
Jeff Walden
f6f7c4c802 Bug 1155900 - Pass destructuring right-hand-side expressions through ToObject before properties are destructured out of them. r=shu 2015-04-17 21:57:50 -07:00
Boris Zbarsky
0d97bf2adb And fix this to actually compile... Still bug 1160311. 2015-04-30 21:58:07 -04:00
Boris Zbarsky
58238d37e5 Bug 1160311. JITs should be enabled by default. r=jorendorff 2015-04-30 17:36:50 -04:00
Mike Hommey
b673a97a25 Bug 1134923 - Remove NS_Alloc/NS_Realloc/NS_Free. r=nfroyd
They are kept around for the sake of the standalone glue, which is used
for e.g. webapprt, which doesn't have direct access to jemalloc, and thus
still needs a wrapper to go through the xpcom function list and get to
jemalloc from there.
2015-05-01 09:40:30 +09:00
Wes Kocher
90690d9a10 Backed out changeset 2736f8056026 (bug 1160311) for SM(e) bustage CLOSED TREE 2015-04-30 15:26:29 -07:00
Terrence Cole
820111cc77 Bug 1159540 - Organize and comment the marking paths; r=sfink 2015-04-29 10:23:24 -07:00
Boris Zbarsky
7c577ff30d Bug 1160311. JITs should be enabled by default. r=jorendorff 2015-04-30 17:36:50 -04:00
Terrence Cole
8736a22c4f Bug 1159402 - Remove the zone-specialized Value barriers; r=sfink 2015-04-30 11:29:21 -07:00
Ryan VanderMeulen
60ffba2a66 Merge inbound to m-c. a=merge 2015-04-30 13:56:09 -04:00
Ryan VanderMeulen
06ee4d6c18 Bug 1160149 - Skip basic/testManyVars.js on SM(cgc) builds for frequent timeouts.
CLOSED TREE
2015-04-30 09:59:12 -04:00
Steve Fink
735de75d87 Bug 1159999 - Suppress command echo for timeout failure setup. r=sphink 2015-04-30 09:38:57 -04:00
Carsten "Tomcat" Book
58c82070e9 Backed out changeset 24ddf11d9c1d (bug 1159999) for spidermonkey test failures on a CLOSED TREE 2015-04-30 12:53:18 +02:00
ryan
0bb27285c5 Bug 1158547 - Removes the useless declaration in Parser.cpp. r=jorendorff 2015-04-28 11:44:00 +02:00
Chris Peterson
6c651b982e Bug 1001975 - Enable -Wuninitialized warnings as errors. r=glandium 2015-04-07 20:52:54 -07:00
Steve Fink
1cf40e02f3 Bug 1159999 - Suppress command echo for timeout failure setup. r=sphink 2015-04-29 21:07:26 -07:00
Ryan VanderMeulen
4e99721670 Merge m-c to fx-team. a=merge 2015-04-30 14:05:10 -04:00
Dustin J. Mitchell
8b3997f1fa Bug 1155238: use RelengAPI-based Tooltool server. r=coop 2015-04-29 10:36:50 -04:00
Brian Hackett
c9967c0740 Bug 1146597 - Backout 02dad33cf2a0 for regressions on a CLOSED TREE. 2015-04-29 18:32:14 -07:00
Terrence Cole
6218ecb766 Bug 1159465 - Automatically check for cross-compartment edges between objects when marking; r=jonco 2015-04-24 16:15:30 -07:00
Terrence Cole
266e4db9cc Bug 1158357 - Inline processMarkStackOther to make the dispatch obvious; r=jonco 2015-04-24 15:44:20 -07:00
Terrence Cole
14e57a2886 Bug 1158354 - Clean up ObjectGroup marking; r=sfink 2015-04-24 14:52:55 -07:00
Terrence Cole
bbba79f9db Bug 1158353 - Clean up eager string marking; r=jonco 2015-04-24 14:52:55 -07:00
Tooru Fujisawa
f906b45cad Bug 1102219 - followup for Part 0: Fix code alignment and argument name in GlobalObject.h. r=me 2015-04-30 09:17:50 +09:00
Brian Hackett
f6c01c9ddb Bug 1146597 - Add unboxed arrays for JSOP_NEWARRAY arrays, and shell option for using them, r=jandem. 2015-04-29 17:14:28 -07:00
ziyunfei
a2bb96ff77 Bug 1102219 - Part 4: Replace String.prototype.contains with String.prototype.includes in chrome code. r=till 2015-04-30 00:32:05 +09:00
Tooru Fujisawa
97ab188136 Bug 1102219 - Part 3: Replace more String.prototype.contains with String.prototype.includes in JS code. r=till 2015-04-30 00:32:01 +09:00
ziyunfei
486b869317 Bug 1102219 - Part 2: Replace String.prototype.contains with String.prototype.includes in JS code. r=till 2015-04-30 00:32:01 +09:00
ziyunfei
4b13603d43 Bug 1102219 - Part 1: Add String.prototype.includes; keep String.prototype.contains around as an alias with a (non-release builds only) warning. r=till 2015-04-30 00:32:01 +09:00
Tooru Fujisawa
567a0470aa Bug 1102219 - Part 0: Combine WARNED_* slots in GlobalObject and turn it into a bitset. r=till 2015-04-30 00:32:00 +09:00
Benjamin Bouvier
6a56929ae1 Bug 1157624: A few AsmJSValidate cleanups; r=luke 2015-04-27 17:16:01 +02:00
Tom Schuster
883c729e3a Bug 1159347 - Make BaseProxyHandler::getPropertyDescriptor not-pure virtual. r=efaust 2015-04-29 10:47:48 +02:00
Brian Hackett
92194e4db8 Bug 1158569 - Don't trigger sweeping of dead type information when scanning unboxed objects in minor GCs, r=terrence. 2015-04-28 11:09:16 -07:00
Brian Hackett
5ec92c71a3 Bug 1155292 - Add a check for properties found on non-native prototypes during Ion caching, r=jandem. 2015-04-28 11:05:28 -07:00
Terrence Cole
ab7e31cb3b Bug 1158809 - Only use a single output from getTracingEdgeName; r=jonco 2015-04-28 10:28:56 -07:00
Ryan VanderMeulen
ee72201e01 Backed out changeset 9e3d626c89d8 (bug 1155292) for SM(cgc) failures in the newly-added test. 2015-04-28 13:30:58 -04:00
Steve Fink
81afe15201 Bug 1149476 - Extend autospider.sh timeout and emit a log message, r=jonco 2015-04-28 10:28:36 -07:00
Boris Zbarsky
f3b244998d Bug 1155946 part 2. Add mayResolve methods to DOM classes with resolve hooks. r=peterv 2015-04-28 12:25:55 -04:00
Terrence Cole
067c112524 Bug 1158313 - Move Symbol marking out-of-line; r=jonco 2015-04-24 14:52:55 -07:00
Terrence Cole
23417a7dd4 Bug 1156888 - Do not go out-of-line to eagerly scan LazyScript instances; r=sfink 2015-04-21 09:26:37 -07:00
Terrence Cole
ceb337d599 Bug 1156552 - Move BaseShape marking out-of-line; r=sfink 2015-04-20 15:32:03 -07:00
Brian Hackett
5dcb7c4b22 Bug 1155292 - Add a check for properties found on non-native prototypes during Ion caching, r=jandem. 2015-04-28 08:15:20 -07:00
Brian Hackett
2337513828 Bug 1155807 - Watch for converted native groups with unknown properties, r=jandem. 2015-04-28 08:12:54 -07:00
Jordan Santell
c9158b0339 Bug 1136945 - Add to Debugger.Memory docs possible outcomes of the nonincrementalReason in the onGarbageCollection event. r=fitzgen 2015-04-28 10:34:23 -07:00
Nick Fitzgerald
dd60777e28 Bug 1065657 - Allow multiple Debuggers to track allocations at the same time. r=shu 2015-04-22 09:49:07 -07:00
Ryan VanderMeulen
9edf40b13b Bug 1159096 - Skip recursion.js on Android debug. 2015-04-28 09:40:09 -04:00
Paul Duguet
9f85fa1eef Bug 1099149 - Part 2: Add a more specific error message when 'js::ToSimdConstant' argument is of wrong type. r=bbouvier 2014-11-22 09:07:00 +01:00
Tooru Fujisawa
857e3dde65 Bug 1151931 - Part 2: Warn about unreachable code after return statement. r=Waldo 2015-04-28 21:09:32 +09:00
Tooru Fujisawa
fe50f5900d Bug 1151931 - Part 1: Avoid warning about unreachable code after return statement in some asm.js tests. r=Waldo 2015-04-28 21:06:19 +09:00
Shu-yu Guo
2a55462cd7 Bug 1157963 - Don't delazify functions about to be finalized. (r=jimb) 2015-04-28 01:44:22 -07:00
Shu-yu Guo
878601fec9 Bug 1157963 - Fix LazyScript::hasUncompiledEnclosingScript. (r=jimb) 2015-04-28 01:44:22 -07:00
Shu-yu Guo
b33b089d7c Bug 1158407 - Stop using this one weird allocation fallback for MCreateThisWithTemplate. (r=terrence) 2015-04-28 01:44:22 -07:00
Shu-yu Guo
dd83cb92c4 Bug 1155474 - Consider the input to MThrowUninitializedLexical implicitly used. (r=Waldo) 2015-04-28 01:44:22 -07:00
Shu-yu Guo
36cf5656fc Bug 1156190 - Do not emit DEBUGLEAVESCOPE if we're also going to emit POPBLOCKSCOPE. (r=jimb) 2015-04-28 01:44:22 -07:00
Shu-yu Guo
507adf5b86 Bug 1148917 - Add a new option to FrameIter that allows stopping at debugger eval frames. (r=jimb) 2015-04-28 01:44:22 -07:00
Geoff Lankow
be55160c4e Bug 1138336 - Adapt nsIScriptError so it can display log messages with filename and line number; r=jst,neil,past 2015-04-28 18:39:47 +12:00
David Major
c92c020b89 Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium 2015-04-27 19:59:27 -04:00
Steve Fink
33b1c7c3da Bug 1149476 - Lengthen timeout because we are hitting it with SM(cgc), r=me (also jonco for a more complex version)
The previous attempt seemed to cause problems with preventing the test script from exiting, which I was defending against by closing all file descriptors (even though I wasn't sure if it was necessary.) Sadly, I have no way to report the failure, but for now just lengthening the timeout seems like the simplest to make the intermittents go away.
2015-04-27 13:19:17 -07:00
Ryan VanderMeulen
8cec077991 Merge m-c to inbound. a=merge 2015-04-27 15:20:16 -04:00
Ryan VanderMeulen
8fe670a062 Backed out 2 changesets (bug 1099149, bug 1154356) for suspicion that one of them is causing frequent Android debug recursion.js failures. a=me
Backed out changeset ecc645744a11 (bug 1154356)
Backed out changeset 1d7c532f2a62 (bug 1099149)
2015-04-27 15:14:19 -04:00
Nikhil Marathe
27cb15e0ef Bug 1058695 - Add member to nsIGlobalObject to detect it is going away. Make promises use it. r=bholley 2015-04-27 12:00:41 -07:00
L. David Baron
14c2a5a95a Bug 1157648 - Make nsScriptError::ToString use only the first 512 characters of mSourceName and mSourceLine. r=bholley
This means that when mSourceName and mSourceLine are large, ToString is
not excessively expensive.

This is particularly important for CSS errors, where we don't make an
attempt to truncate these prior to constructing the script error, but we
do ensure that when we report multiple errors on the same line (which is
common for minified CSS), we share from the same string buffer and avoid
copying.
2015-04-27 11:35:10 -07:00
Ryan VanderMeulen
08c48e40ef Backed out changeset c839f283bf28 (bug 1058695) for bustage.
CLOSED TREE
2015-04-27 14:04:24 -04:00
Nick Fitzgerald
e7b9c549d9 Bug 1134865 - Part 3: Add JS::ubi::Node::jsObjectConstructorName; r=djvj 2015-04-27 10:57:06 -07:00
Nick Fitzgerald
b485118947 Bug 1134865 - Part 2: Add constructor name to the allocations log; r=djvj 2015-04-27 10:57:06 -07:00
Nick Fitzgerald
95cbfcf174 Bug 1134865 - Part 1: Add JSObject::constructorDisplayAtom; r=djvj 2015-04-27 10:57:06 -07:00
Nikhil Marathe
29c754823e Bug 1058695 - Add member to nsIGlobalObject to detect it is going away. Make promises use it. r=bholley 2015-04-22 16:34:21 -07:00
Boris Zbarsky
7c563264f9 Bug 1155984. Improve the performance of the "self" getter in both window and workers. r=peterv,jorendorff 2015-04-27 13:38:12 -04:00
Terrence Cole
42ac24dd55 Bug 1156533 - Simplify how we trace Shapes for marking; r=sfink 2015-04-16 13:45:24 -07:00
Terrence Cole
c4007f36c1 Bug 1157829 - The markAndScan functions are now just an additional assertion; r=sfink 2015-04-23 11:05:46 -07:00
Terrence Cole
865cfa577c Bug 1157828 - Move ShouldMarkCrossCompartment adjacent to other marking invariant logic; r=jonco 2015-04-23 11:02:02 -07:00
Paul Duguet
5533cedd09 Bug 1099149 - Part 2: Add a more specific error message when 'js::ToSimdConstant' argument is of wrong type. r=bbouvier 2014-11-22 09:07:00 +01:00
Ginn Chen
0666d4a692 Bug 1153707 jsval is wrongly passed to XPT Javascript method on ppc/32 and SPARC/32 r=bobbyholley 2015-04-27 13:47:17 +08:00
Kyle Machulis
875ec4cfb5 Bug 865222 - Add MOZ_GUARD_OBJECT_NOTIFIER_PARAM to JSAutoCompartment and JSAutoNullableCompartment; r=efaust 2015-04-26 08:49:03 -07:00
Tooru Fujisawa
163513c8d8 Bug 320500 - Add \u{xxxxxx} string literals. r=Waldo 2015-04-25 15:19:27 +09:00
Brian Hackett
6b51a17c80 Bug 1155033 - Handle cyclic or deep ObjectGroup tracing chains during cycle collection, r=terrence. 2015-04-24 18:22:15 -06:00
Tom Schuster
4079f483b9 Bug 1154296 - Small GetOwnPropertyDescriptor cleanup. r=jorendorff 2015-04-24 22:06:16 +02:00
Terrence Cole
9de47ed76f Bug 1081260 - Update the malloc counters if we successfully recover from OOM; r=jonco 2015-04-24 10:58:22 -07:00
Terrence Cole
0ab7fb6cb1 Bug 1157577 - Fix an assertion failure caused by inconsistent initialization order; r=bhackett 2015-04-24 10:58:20 -07:00
Terrence Cole
5bae44a2c0 Bug 1155838 - Fix a build warning on windows; r=till 2015-04-17 12:41:31 -07:00
Terrence Cole
0a4f9b52ac Bug 1156045 - Only print jstests assertion output on failure; r=sfink 2015-04-23 13:51:37 -07:00
Ryan VanderMeulen
6ab187294c Backed out changeset 7df5233bc6ae (bug 1149476) for SM(e) permafail.
CLOSED TREE
2015-04-24 13:41:44 -04:00
Terrence Cole
0ba0ae0b91 Bug 1157533 - Share Value and jsid typed dispatch code; r=jonco 2015-04-23 10:42:31 -07:00
Steve Fink
e209730faf Bug 1149476 - Extend autospider.sh timeout and emit a log message, r=jonco 2015-04-24 08:46:28 -07:00
Nicolas B. Pierron
a186a7354d Bug 1149119 - Do not inline bound functions with non-atomized arguments. r=jandem 2015-04-24 16:26:08 +02:00
Nicolas B. Pierron
762d59220a Bug 1149119 - Use Atoms in the template object hold by Baseline. r=jandem 2015-04-24 16:26:07 +02:00
Brian Hackett
bd4c8d9040 Bug 1157809 - Optimizing scanning of unboxed plain objects and typed objects during nursery collections, r=terrence. 2015-04-24 05:50:03 -06:00
Benjamin Bouvier
bf4e80b8e8 Bug 1157761: Fix a copy-pasto in vm/TypeInference.cpp; r=bhackett 2015-04-23 17:58:29 +02:00
Makoto Kato
f0b4cd36ed Bug 866301 - Part 3. Use system ICU for gonk-JB or later. r=glandium 2015-04-24 11:22:14 +09:00
Jim Blandy
fcf1d8e4b6 Bug 1063257: Implement JS::ubi::Node::size for JSString. r=sfink 2015-03-22 23:06:51 -07:00
Jim Blandy
07096b90b5 Bug 1155438: Don't permit inconsistent values of MOZ_MEMORY between js/src and the top level. r=glandium 2015-04-22 09:14:18 -07:00
Shu-yu Guo
88cbc35bcf Bug 1157415 - Tweak XPConnect stack size for 32bit Windows. (r=bholley) 2015-04-23 14:57:44 -07:00
Terrence Cole
100a32f98a Bug 1156390 - Do CheckMarkedThing on internal edges as well as roots; r=sfink 2015-04-20 10:42:35 -07:00
Kartikaya Gupta
8ec41da08a Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong 2015-04-23 15:10:30 -04:00
Nikhil Marathe
2066a34115 Backed out changeset cb59db723d15 (Bug 1058695) for bustage on CLOSED TREE 2015-04-23 09:46:52 -07:00
Nikhil Marathe
2044b5f4b0 Bug 1058695 - Add member to nsIGlobalObject to detect it is going away. Make promises use it. r=bholley 2015-04-22 16:34:21 -07:00
Nikhil Marathe
b87183f786 Backed out changeset 527cd70f241f (Bug 1058695) for bustage 2015-04-23 09:07:16 -07:00
Nikhil Marathe
ee9adaed00 Bug 1058695 - Add member to nsIGlobalObject to detect it is going away. Make promises use it. r=bholley 2015-04-22 16:34:21 -07:00
Benjamin Bouvier
8d1c0b939a Bug 1142668: Fix int32x4 to float32x4 conversion in asm.js; r=luke 2015-04-07 19:41:30 +02:00
Benjamin Bouvier
fa58e7e31e Bug 1142668: Fix int32x4 to float32x4 conversions in the JIT; r=sunfish 2015-04-23 12:12:41 +02:00
Benjamin Bouvier
6549fd4959 Bug 1135040: Optimize SIMD shifts in Ion; r=nbp 2015-04-07 20:01:24 +02:00
Benjamin Bouvier
2a8eb03e46 Bug 1112627: Remove redundant inline specifier in SIMD operators impl; r=Waldo 2015-02-17 12:01:30 +01:00
Benjamin Bouvier
69005c786d Bug 1112627: Throw on lossy SIMD conversions; r=Waldo 2015-04-21 15:27:27 +02:00
Benjamin Bouvier
21ecfad138 Bug 1112627: Implement shift count saturation; r=Waldo 2015-04-07 19:47:40 +02:00
Tooru Fujisawa
87be1f31f6 Bug 1153656 - Test class only if available in semicolon-less-return.js. r=efaust 2015-04-23 23:14:03 +09:00
Jan de Mooij
bfb27c97d1 Bug 1155946 part 1 - Add a mayResolve class hook to optimize objects with resolve hooks better. r=bhackett 2015-04-23 15:51:28 +02:00
Brian Hackett
7daeae824c Bug 1149498 - Watch for preliminary object groups in more places, r=jandem. 2015-04-23 07:42:55 -06:00
Benjamin Bouvier
0ec7c30736 Bug 1157628: Reformat spidermonkey source directory, again; r=jandem 2015-04-23 12:22:36 +02:00
Jon Coppeard
14afe613f8 Bug 1156295 - Refactor GC rooting in StructType::DefineInternal() r=terrence 2015-04-23 11:17:15 +01:00
Carsten "Tomcat" Book
c0eb5c1c2b Merge mozilla-central to mozilla-inbound on a CLOSED TREE 2015-04-23 08:41:04 +02:00
Carsten "Tomcat" Book
150d4d1475 Backed out 19 changesets (bug 1149397, bug 1065657, bug 1024774) for fixing Linux PGO xpcshell bustage on a CLOSED TREE
Backed out changeset 53058615e7a3 (bug 1024774)
Backed out changeset 68fe0894bb09 (bug 1065657)
Backed out changeset 1b9620d674df (bug 1024774)
Backed out changeset a31c514b59da (bug 1024774)
Backed out changeset 0fcf8757f6c2 (bug 1024774)
Backed out changeset 9a3c71b925d4 (bug 1024774)
Backed out changeset 783acc92af04 (bug 1024774)
Backed out changeset ad71c9a3446b (bug 1024774)
Backed out changeset 4f37e72e70f6 (bug 1024774)
Backed out changeset ec869578cc0a (bug 1024774)
Backed out changeset 3c1d306c8a3d (bug 1024774)
Backed out changeset b3a90f30892d (bug 1024774)
Backed out changeset cf7bbb3774c0 (bug 1024774)
Backed out changeset 2522eb4d3cf2 (bug 1024774)
Backed out changeset 89a502d88f9c (bug 1024774)
Backed out changeset 61046ad3161f (bug 1024774)
Backed out changeset 36706aaa2f06 (bug 1024774)
Backed out changeset ba8e68e05149 (bug 1149397)
Backed out changeset 532169437c2f (bug 1065657)
2015-04-23 08:37:24 +02:00
Tooru Fujisawa
7ff8eb6ebe Bug 891107 - Part 3: Report argument type error as TypeError in js-ctypes. r=jorendorff 2015-04-23 13:41:31 +09:00
Tooru Fujisawa
e41543271c Bug 891107 - Part 2: Report argument length error as TypeError in js-ctypes. r=jorendorff 2015-04-23 13:41:27 +09:00
Tooru Fujisawa
655e4be011 Bug 891107 - Part 1: Show information about value, type, function, and argument number in type conversion error messages in js-ctypes. r=jorendorff 2015-04-23 13:41:10 +09:00
Dan Gohman
87d5a3b2fd Bug 1150337 - OdinMonkey: Optimize the full range of immediate offsets on x64. r=luke 2015-04-22 21:08:15 -07:00
L. David Baron
9c2c51b7f1 Back out changeset 1ae18f4c151f (bug 944164) for not compiling on Windows XP, on a CLOSED TREE. 2015-04-22 21:04:38 -07:00
Nick Fitzgerald
0ab398e1f3 Bug 1065657 - Follow up: remove bad friend declaration that leads to GCC warnings and burnt trees on a CLOSED TREE; r=tromey 2015-04-22 11:38:09 -07:00
Nick Fitzgerald
266df19429 Bug 1024774 - Part 14: Ignore protobuf indirect calls in the GC hazard analysis;
r=sfink
2015-04-22 11:09:55 -07:00
Nick Fitzgerald
d6fab00041 Bug 1024774 - Part 13: Change to new SpiderMonkey style from bug 1144366; r=me 2015-04-22 11:09:55 -07:00
Nick Fitzgerald
fecaadc68d Bug 1024774 - Part 11: Implement a JS::ubi::Node specialization for DeserializedNode; r=jimb 2015-04-22 11:09:54 -07:00
Nick Fitzgerald
3d752dd19f Bug 1024774 - Part 8: Add JS::ubi::Node::isLive; r=jimb 2015-04-22 11:09:54 -07:00
Nick Fitzgerald
e797802e4e Bug 1024774 - Part 3: Serialize heap snapshots. r=jimb 2015-04-22 11:09:54 -07:00
Nick Fitzgerald
1139958cb1 Bug 1149397 - JS::ubi::Node::edges should return a mozilla::UniquePtr; r=jimb 2015-04-22 11:09:53 -07:00
Nick Fitzgerald
d063665a29 Bug 1065657 - Allow multiple Debuggers to track allocations at the same time; r=shu 2015-04-22 09:49:07 -07:00
Nick Fitzgerald
6cc189d07d Bug 1150253 - Part 3: Migrate onGarbageCollection tests; r=sfink 2015-04-22 09:43:02 -07:00
Nick Fitzgerald
5f39b84c47 Bug 1150253 - Part 1: SpiderMonkey should call an embedder-provided callback
instead of running the onGarbageCollection hook immediately; r=sfink
2015-04-22 09:43:02 -07:00
Nick Fitzgerald
49a806f3bb Bug 1153922 - Add a SandboxOptions option for creating the sandbox in a fresh JS::Zone. r=mrbkap 2015-04-13 14:25:00 -04:00
Aleksandar Zlicic
2768d83bf3 Bug 1156365 - IonMonkey MIPS: Fix build failure on MIPS; rename Registers::code() to Registers::Encoding(). r=rankov 2015-04-20 18:58:34 +02:00
Jason Orendorff
f75948f6ee Bug 1143921 - Fix crash in Debugger.defineProperty when the descriptor contains {get: undefined}. r=efaust. 2015-04-13 13:48:04 -05:00
Jason Orendorff
f0432ce981 Bug 1151957 - Rewrite GDB extension for ignoring asm.js segmentation faults in Python, fixing some bugs and bringing it under test. r=jimb.
The GDB code being rewritten here did not work for users who build with -ggdb3
on Linux, because sa_handler is a macro; see bug 1151957 comment 1. Also, it
caused GDB to perform an invalid free in the JS shell debuggee process, on
startup, if the previous run received SIGSEGV.
2015-04-13 12:46:22 -05:00
Jason Orendorff
735d6acedb Bug 1153970 - Change js/src/gdb/run-tests.py to take an OBJDIR argument instead of a LIBDIR argument, since jorendorff can never guess which directory to pass for LIBDIR in fewer than six tries. r=jimb. 2015-04-13 11:36:36 -05:00
Tooru Fujisawa
14d36392a4 Bug 1155985 - Set FieldInto::mType just before storing to reserved slot. r=jonco, a=abillings 2015-04-22 23:59:01 +09:00
Tooru Fujisawa
19bb1f6a78 Backed out changeset 7eee0cdd0feb (bug 1155985) for xpcshell-test failure 2015-04-22 20:08:25 +09:00
Tooru Fujisawa
d958c4556d Backed out changeset b2b956ba0acd (bug 891107) for xpcshell-test failure 2015-04-22 20:08:23 +09:00
Tooru Fujisawa
4290d2b814 Backed out changeset 951ec7d134c2 (bug 891107) for xpcshell-test failure 2015-04-22 20:08:21 +09:00
Tooru Fujisawa
325d353b6e Backed out changeset 467559ddc08f (bug 891107) for xpcshell-test failure 2015-04-22 20:08:19 +09:00
Jan de Mooij
0f0dffb24e Bug 1156886 - Optimize toLowerCase and toUpperCase on ASCII characters. r=luke 2015-04-22 11:30:47 +02:00
Tooru Fujisawa
d50a6635d4 Bug 891107 - Part 3: Report argument type error as TypeError in js-ctypes. r=jorendorff 2015-04-22 18:26:14 +09:00
Tooru Fujisawa
bb9df65329 Bug 891107 - Part 2: Report argument length error as TypeError in js-ctypes. r=jorendorff 2015-04-22 18:26:14 +09:00