Commit Graph

43818 Commits

Author SHA1 Message Date
Morgan Phillips
15ee532089 Bug 1245961 - Throw a TypeError if less than one argument is supplied to isCompilableUnit;r=fitzgen 2016-02-05 09:50:52 -06:00
Boris Zbarsky
d6b9089f6d Bug 1243824. Add support for static functions and attributes on JSXrays. r=bholley 2016-02-05 10:41:08 -05:00
Jan de Mooij
04b60c23fd Bug 1245767 followup - Make the test work in opt shell builds too. r=me 2016-02-05 14:06:48 +01:00
Jan de Mooij
ab634947a8 Bug 1245767 followup - Throw an error when gczeal argument is out of range. r=jonco on IRC 2016-02-05 12:43:24 +01:00
Jan de Mooij
fc1572a57e Bug 1245767 - Allow combining different gczeal modes. r=terrence 2016-02-05 12:21:43 +01:00
Jon Coppeard
451417d5e9 Bug 1245520 - Add missing OOM check while doing structured clone r=sfink 2016-02-05 10:42:11 +00:00
Jon Coppeard
b5512f3ebc Bug 1245518 - Implement ModuleEnvironmentObject::getOwnPropertyDescriptor() which is called by the debugger r=shu 2016-02-05 10:42:08 +00:00
Nick Fitzgerald
f7fe392c14 Bug 1233857 - Follow up: Add a new GC zeal mode for the elements edges barrier; r=terrence
This commit adds gc zeal mode 12 to force the use of the individual elements
edges barrier regardless of the size of the elements. It also adds a jit-test
which uses the zeal option. Hopefully, this will let the fuzzers go to town with
the new barrier type.
2016-02-04 11:59:00 +01:00
Nick Fitzgerald
d1ee8d2506 Bug 1233857 - Teach the JIT how to put individual elements' edges in the store buffer; r=jandem
This commit teaches IonMonkey how to put individual array elements' edges in the
store buffer, rather than using the whole cell buffer. This alleviates
perfomance cliffs where there are very large arrays in the tenured heap and then
the mutator adds a relatively small number of edges from this array into the
nursery. With the whole cell buffer, which was used previously, a nursery
collection would need to trace the whole large array. With this patch, only
the modified edges need by traced.
2016-02-04 11:18:00 +01:00
Nicholas Nethercote
23b3423e06 Bug 1245761 (part 2) - Measure JIT compartments. r=jandem. 2016-02-04 17:36:06 +11:00
Nicholas Nethercote
4f55dd83c8 Bug 1245761 (part 1) - Actually report the nonSyntacticLexicalScopesTable measurement. r=shu.
Bug 1202902 added the measurement, but failed to add code to report it. Whoops.
2016-02-04 17:34:04 +11:00
Luke Wagner
3567170601 Bug 1244405 - Baldr: add memory segments (r=sunfish) 2016-02-04 21:39:18 -06:00
Luke Wagner
fbda711b01 Bug 1244405 - Baldr: add memory exports (r=bbouvier) 2016-02-04 21:39:18 -06:00
Luke Wagner
c47bbb49d1 Bug 1244405 - Baldr: add memory section (r=bbouvier) 2016-02-04 21:39:18 -06:00
Luke Wagner
b14b72b4b1 Bug 1244405 - Baldr: fix wasm function export name (r=bbouvier) 2016-02-04 21:39:13 -06:00
Luke Wagner
f368b02cc1 Bug 1244405 - Odin: refactor ArrayBufferObject::createForWasm out of prepareForAsmJS (r=bbouvier) 2016-02-04 21:37:00 -06:00
Luke Wagner
ddbfccfd52 Bug 1244405 - Odin: switch to dynamic page size, move heap constants to Wasm (r=bbouvier) 2016-02-04 21:37:00 -06:00
Phil Ringnalda
46967ee008 Merge m-c to m-i 2016-02-04 19:26:14 -08:00
Wes Kocher
f286430995 Backed out changeset 65e246baede4 (bug 1242641) for valgrind bustage CLOSED TREE 2016-02-04 11:42:34 -08:00
Jakob Stoklund Olesen
957656ee93 Bug 1245547 - Implement RSimdBox for Uint32x4. r=nbp
- Handle Uint32x4 in RSimdBox::Recover. Add the missing test case.

- Move a shared assertion out of the switch.

- Actually inline the Uint32x4 constructor. The SimdTypeToMIRType function was
  filtering it out.
2016-02-04 09:23:52 -08:00
Jan de Mooij
1dbc9116ac Bug 1244215 part 2 - Get rid of unwound frames and clean up a lot of code in this area. r=nbp 2016-02-04 18:15:53 +01:00
Jan de Mooij
ef79b8eb29 Bug 1244215 part 1 - Store frame header size in the frame descriptor. r=nbp 2016-02-04 18:14:46 +01:00
Nick Thomas
3cf3ab7318 Bug 1242641 - GTK+3 still not working for buildbot builds on beta. r=rail
gtk3/setup.sh at unpack time in tooltool
2016-01-29 22:19:48 +13:00
Hannes Verschore
dc22311274 Bug 1242578 - Add documentation about the binary arith annotations for jit coach, r=shu 2016-02-04 06:56:49 -05:00
Hannes Verschore
a8379a7db1 Bug 1242578 - Annotate binary arith for jit coach, r=shu 2016-02-04 06:56:46 -05:00
Carsten "Tomcat" Book
e3a3fe0b0d Merge mozilla-central to mozilla-inbound 2016-02-04 12:05:03 +01:00
Carsten "Tomcat" Book
f84c32592e merge mozilla-inbound to mozilla-central a=merge 2016-02-04 12:02:05 +01:00
Benjamin Bouvier
000447ba59 Bug 1243374: Don't emit moves if the MoveResolver has failed earlier; r=nbp 2016-02-03 15:10:38 +01:00
Benjamin Bouvier
55e42295cf Bug 1242342: Add If and IfElse to WebAssembly; r=luke 2016-01-27 19:34:24 +01:00
Benjamin Bouvier
934e17513c Bug 1242342: Set return type accordingly to the compilation mode; r=luke 2016-02-03 18:43:38 +01:00
Benjamin Bouvier
a4ec0cc2c9 Bug 1242342: Replace Ternary by IfElse which return expressions; r=luke 2016-02-03 16:04:39 +01:00
Paolo Amadini
52d209f702 Bug 989960 - Unhandled rejections in DOM Promises should cause xpcshell tests to fail. r=Yoric 2016-02-03 12:58:03 +00:00
Carsten "Tomcat" Book
2a07da30de Merge mozilla-central to fx-team 2016-02-04 12:08:00 +01:00
David Rajchenbach-Teller
e42408288d Bug 1243241 - Make RDTSC monotonic. r=jandem
We assume that the total number of cycles spent executing JS code
during an event is equal to the number of cycles in the "top group",
i.e. a group to which everything belongs. While this is true in
theory, RDTSC is actually non-monotonic, so we can end up with fewer
cycles reported for the top group than for some groups whose execution
was actually shorter. When we end up in this situation, groups with
more cycles than the top group will be reported as using more CPU than
was actually used.

This patch fixes the situation by proxying RDTSC behind a trivial API
that ensures that values are monotonic during each tick.
2016-01-28 14:33:30 +01:00
Mike Hommey
774682b910 Bug 1245422 - Remove the -FR C*FLAGS on Windows builds. r=mshal
The flag is used to create .sbr files, which bscmake subsequently uses to
create .bsc files. These files and related tools are, aiui, the ancestors
of Intellisense.

The -FR C*FLAGS are added to the build if MOZ_BROWSE_INFO or MOZ_BSCFILE
are set in the recursive make backend. While the former has an AC_SUBST,
the latter does not, so in practice, only the former can be set by
supported methods, and would need to be set in a mozconfig. At that
rate, people who do want those flags can add them in the C*FLAGS on
their own.

Developers are probably better served by the VisualStudio backend
anyways.
2016-02-04 12:49:57 +09:00
Jim Blandy
6453d6e250 Bug 1203696: Make js::IsInternalFunctionObject consider non-lambdas internal. r=bhackett 2016-01-28 18:40:22 -08:00
Jim Blandy
eaef0467e9 Bug 1203696: Improve comments about lazily-initialized member of js::LazyScript. r=shu 2016-01-28 18:39:03 -08:00
Jason Orendorff
f53801fa6f Fix busted test checked in with bug 1221144. r=red. 2016-02-03 20:30:05 -06:00
Shu-yu Guo
f698e8e7e6 Bug 1242798 - Don't OSR into Ion on debuggee frames. (r=jandem) 2016-02-02 17:56:23 -08:00
Shu-yu Guo
5a5aae62d3 Bug 1243793 - Fix handling of labels when emitting hoisted function definitions. (r=jorendorff) 2016-02-02 14:26:37 -08:00
Nicholas Nethercote
05a46d65c0 Bug 1245233 - Avoid unnecessary RegExpObject clones in CopyScript(). r=luke. 2016-02-03 09:11:07 +11:00
Dan Gohman
964fca228b Bug 1245250 - BaldrMonkey: Refacfor min/max to make variadicity AsmJS-specific r=luke 2016-02-02 14:01:07 -08:00
Dan Gohman
93cef4aafd Bug 1244571 - BaldrMonkey: Fail decoding for operators which are not yet implemented r=luke 2016-02-02 12:34:29 -08:00
Dan Gohman
7ae50d6589 Bug 1244571 - BaldrMonkey: Improve the readability of the parser code. r=luke 2016-02-02 12:30:55 -08:00
Dan Gohman
f48cf93568 Bug 1244571 - BaldrMonkey: Implement parsing, encoding, and decoding for i64 operators. r=luke 2016-02-02 12:30:55 -08:00
Dan Gohman
e6aa0fb453 Bug 1244571 - BaldrMonkey: Remove obsolete opcodes. r=luke 2016-02-02 12:30:55 -08:00
Dan Gohman
44a4088c14 Bug 1244571 - BaldrMonkey: Implement parsing, encoding, and decoding for the conversion operators. r=luke 2016-02-02 12:30:55 -08:00
Dan Gohman
edfdb7586e Bug 1244571 - BaldrMonkey: Type-check the unary and binary operators. r=luke 2016-02-02 12:30:54 -08:00
Dan Gohman
28f194b814 Bug 1244571 - BaldrMonkey: Implement the comparison operators. r=luke 2016-02-02 12:30:54 -08:00
Dan Gohman
b5f0a8fa22 Bug 1244571 - BaldrMonkey: Implement the unary operators. r=luke 2016-02-02 12:30:54 -08:00