Граф коммитов

52443 Коммитов

Автор SHA1 Сообщение Дата
Benjamin Bouvier caee5ab97b Bug 1221361: Mark SetARMHwCapFlags as unsafe for fuzzing; r=jolesen
--HG--
extra : rebase_source : 31d5492d1262019f39c5b295feed2ad02b09c2cb
2015-12-24 09:08:31 +01:00
Bogdan Postelnicu 4486adb46d Bug 1235041 - Cast value to uint64_t in order to prevent int overflow when value is greater than 2^12. r=jonco
--HG--
extra : rebase_source : df473012e5b66abc80513cbd2e83e7fe7129a853
2015-12-24 02:57:00 -05:00
Hannes Verschore 4370e997ad Bug 1233343: SharedStubs: Count frames pushed correctly on ARM when entering an ion stub frame, r=jandem 2016-01-04 22:27:12 -05:00
Nicholas Nethercote a9f31c44eb Bug 1232219 (part 4) - Enable -Wunused for C code, except where it's too annoying. r=glandium.
--HG--
extra : rebase_source : febc9aac7ec5e3699742e728065c370dcee4f0f3
2015-12-16 22:59:42 -08:00
Chris Peterson c9b006d167 Bug 1235717 - Enable clang's -Wunreachable-code warnings. r=glandium 2015-12-28 00:17:02 -07:00
Tooru Fujisawa 687256f38d Bug 1236638 - Add JSFunction::setAtom and use it in _SetCanonicalName intrinsic to fire the pre-barrier. r=terrence 2016-01-05 07:24:45 +09:00
Tooru Fujisawa afeff41c94 Bug 1234025 - Part 3: Remove unused constant from Statistics.cpp 2016-01-05 04:33:35 +09:00
Tooru Fujisawa bc25c6f0df Bug 1234025 - Part 2: Remove unused functions from ScriptedDirectProxyHandler.cpp. 2016-01-05 04:33:34 +09:00
Tooru Fujisawa c89eedaf00 Bug 1234025 - Part 1: Move ObjectBox::isModuleBox definition to ParseNode.cpp. 2016-01-05 04:33:34 +09:00
Victor Carlquist a871c36dc4 Bug 1235403 - Adding flat replacement bit on StringReplace to the recover instruction. r=nbp 2015-12-29 11:02:08 -02:00
Nicholas Nethercote 6d93e1b2e4 Bug 1232224 - Streamline setting of compile warnings in configure.in. r=glandium,cpeterson.
The main changes are to the warnings, which are as follows.

- Kept -Wall.

- Part of -Wall or on by default; remove all mentions:
  * -Waddress
  * -Wchar-subscripts
  * -Wcomment
  * -Wconversion-null
  * -Wendif-labels
  * -Wenum-compare
  * -Wimplicit-function-declaration
  * -Wint-to-pointer-cast
  * -Wmissing-braces
  * -Wmultichar
  * -Wnonnull
  * -Wparentheses
  * -Wpointer-sign
  * -Wpointer-to-int-cast (C only)
  * -Wreorder
  * -Wreturn-type
  * -Wsequence-point
  * -Wsign-compare (C++ only)
  * -Wswitch
  * -Wtrigraphs
  * -Wuninitialized
  * -Wunknown-pragmas
  * -Wunused-label
  * -Wunused-value
  * -Wwrite-strings (C++ only)

- Part of -Wextra; kept where present, added where missing:
  * -Wempty-body
  * -Wignored-qualifiers (not added for C++ code; many fixes needed to enable)
  * -Wtype-limits

- Part of -pedantic; kept where present, added where missing:
  * -pointer-arith

- C++ only, kept:
  * -Wno-invalid-offsetof
  * -Woverloaded-virtual

- Clang-only, kept:
  * -Wnon-literal-null-conversion (affected by a clang bug; see the big comment
    in the code)
  * -Wrange-loop-analysis (C++ only)
  * -Wno-unused-local-typedef

- This no longer exists?  I kept it to be safe:
  * -Winline-new-delete

A consequence of this is that, when --enable-warnings-as-errors is on, in
directories which have ALLOW_COMPILER_WARNINGS specified we no longer have any
fatal warnings. (We previously did have all the explicitly-mentioned
-Werror=foo ones.) This is a sensible change; if we are going to allow warnings
in a directory we should allow all of them, not just some of them.

Other changes:

- Some C warnings incorrectly used the CXX macros. Fixes that.

- Moves comments about warnings closer to the lines where they are defined, to
  make it easier to keep the comments consistent with the code.

- Reorders things a little, e.g. so that all enabled warnings are before all
  disabled warnings.

The C and C++ warnings are now very similar, in both configure.in and
js/src/configure.in.

--HG--
extra : rebase_source : 6f8db0fecda1315504a29fbcafb6fdee3053d8a5
2015-12-16 18:39:50 -08:00
Tooru Fujisawa 6eb62d6549 Bug 1235656 - Part 2: Remove alias to selfhosted builtin from Utilities.js. r=till 2016-01-04 06:59:55 +09:00
Tooru Fujisawa 2ede3916c0 Bug 1235656 - Part 1: Set canonical name in self-hosted builtins. r=till 2016-01-04 06:59:52 +09:00
Zibi Braniecki 5c9465b248 Bug 1216150 - Implement ECMA 402 DateTimeFormat formatToParts 2015-12-31 19:07:45 -08:00
Wes Kocher a69ea37914 Backed out 2 changesets (bug 1235598) for linux reftest bustage
Backed out changeset 3bcd3c276785 (bug 1235598)
Backed out changeset 80cd10a8b3d7 (bug 1235598)

--HG--
extra : commitid : DZRlFy6bH2m
extra : rebase_source : 3479cd1146e58115883f2329861647a962d162cc
2015-12-31 15:51:13 -08:00
Zibi Braniecki 03d82c7240 Back out bug 1216150 for Linux x64 opt bustage 2015-12-31 15:32:20 -08:00
Zibi Braniecki 22e38242da Bug 1216150 - Implement ECMA 402 DateTimeFormat formatToParts. r=waldo 2015-12-31 14:45:52 -08:00
Benjamin Bouvier 803af84dc5 Bug 1235989 - Add a null check for filename in ModuleValidator::finish. r=luke 2015-12-31 12:17:03 +01:00
Terrence Cole c8e1859f04 Bug 489636 - Add a GC u-bench test for property tree splitting via deletion; r=sfink
--HG--
extra : rebase_source : 2e7e21e4a634e348fa584fb1f2514ddffb069a19
2015-12-31 11:32:27 -08:00
Terrence Cole 9d97726f6c Bug 1235598 - Part 2: Use TraceEdge exclusively in Gecko; r=smaug
--HG--
extra : rebase_source : c18f7e97d09f0cd91d0d837d2cdc65926cd3de64
2015-12-30 08:52:14 -08:00
Terrence Cole dbe067989c Bug 1235598 - Part 1: Add better SpiderMonkey API support for tracing in C++; r=sfink
--HG--
extra : rebase_source : 8e2a38d3eedc0bc795be696ca36759c153e3b34e
2015-12-30 08:52:12 -08:00
Olli Pettay 5ca565690e Bug 1120016 - Allocate short lived JS wrappers in the Nursery, r=mccr8,terrence 2015-12-31 15:21:49 +02:00
Wes Kocher 792ca14825 Backed out changeset 0d55a6e4e98e (bug 1120016) for 980 b2g hazards
--HG--
extra : commitid : 27OIHVsa17S
2015-12-30 16:34:18 -08:00
Sean Stangl f69acc592f Bug 470143 - Part 2/2 - TrackedOptimization changes for TypeOfNoSuchVar. r=shu 2015-12-15 13:42:56 -08:00
Sean Stangl 8e11be5623 Bug 470143 - Part 1/2 - Implement an IM IC for typeof nosuchvar. r=jandem 2015-12-11 11:27:55 -05:00
Wes Kocher a865324b23 Backed out 3 changesets (bug 1235598) for build bustage CLOSED TREE
Backed out changeset 7da07459ce20 (bug 1235598)
Backed out changeset cf35918cb3ba (bug 1235598)
Backed out changeset 55db488f9dfd (bug 1235598)

--HG--
extra : commitid : 2Q694NrtoN0
2015-12-30 15:17:44 -08:00
Mike Hommey d5c0c5233a Bug 1235733 - Use absolute paths for include paths. r=gps
Limit ourselves to include paths for now, because there are tricky things
involved in making this globally.

While here, use shell_quote instead of manual quoting for those paths.
2015-12-31 08:10:02 +09:00
Terrence Cole 2d98949f4f Backout Bug 1235598 Part 2 because of merge bustage on a CLOSED TREE 2015-12-30 15:05:24 -08:00
Terrence Cole 4710ce6d97 Bug 1235598 - Part 2: Use TraceEdge exclusively in Gecko; r=smaug
--HG--
extra : rebase_source : fba9dbd3f6bc7b36074f58d11c411deb84c1ff1e
2015-12-30 08:52:14 -08:00
Terrence Cole 4cc6b37c96 Bug 1235598 - Part 1: Add better SpiderMonkey API support for tracing in C++; r=sfink
--HG--
extra : rebase_source : 66daf07ec194720d31b058ef7288ef1ee2fcf6ca
2015-12-30 08:52:12 -08:00
Mike Hommey 969f681cbc Bug 1235743 - Move compiler flags used for dependency generation to a separate variable. r=gps
This might seem like going in the opposite direction of what we tend to do
to move to moz.build land, but those flags are irrelevant in many situations
and are better separated out.
2015-12-31 07:35:04 +09:00
Mike Hommey 8143237ec5 Bug 1235738 - Simplify MOZ_DEBUG_DEFINES. r=gps
Now that it's not directly used in command lines, it can just become a list
of symbols that ought to be defined. This simplifies all the uses of it.
2015-12-31 07:28:05 +09:00
Jeff Walden 5be7be38a1 Bug 1235615 - Split JS::CompartmentOptions into JS::CompartmentCreationOptions that are immutable characteristics of a compartment, and JS::CompartmentBehaviors that may be changed after the compartment's been created. r=terrence
--HG--
extra : rebase_source : f08c380ae247d3308d4c36788ac765de1b75af50
2015-12-28 16:15:52 -06:00
Jeff Walden f0ea1c2a47 Add a semicolon to avoid relying on ASI in one place in String.js. No bug, r=trivial
--HG--
extra : rebase_source : 71c6b8d85f35953db9eb5efb9cb9f874e99df2b4
2015-12-23 21:51:43 -06:00
Tom Schuster 04de56a8e6 Bug 1235868 - Change nonWritableJITCode to ifdefs. r=jandem 2015-12-30 22:15:03 +01:00
Olli Pettay 2066f6d7b3 Bug 1120016 - Allocate short lived JS wrappers in the Nursery, r=mccr8,terrence
--HG--
extra : rebase_source : 3d51b7fc9962a93eb6071328db84b5b327225246
2015-12-30 19:16:13 +02:00
Luke Wagner d8552b2680 Bug 1235874 - handle null filename in DescribeScriptedCaller (r=sunfish)
--HG--
extra : commitid : 7o7x0q1IYrb
2015-12-30 13:50:56 -06:00
Luke Wagner 67ecabbdda Bug 1235631 - Odin: remove change-heap support (r=bbouvier)
--HG--
extra : commitid : 4s3rKVYz3Wr
extra : rebase_source : fb76a99fa15b5814b024926ccffc80bb0777ecba
2015-12-30 12:32:47 -06:00
Terrence Cole add7a54a34 Bug 1225650 - Use stable hashing for JSObject2WrappedJSMap; r=jonco 2015-11-17 13:40:55 -08:00
Jan de Mooij aa7429333c Bug 1233152 - Use PersistentRooted for ParseTask script and sourceObject. r=terrence 2015-12-30 13:28:13 +01:00
Jan de Mooij c31028f3b1 Bug 1221385 - Handle OOM during JitRuntime initialization a bit better. r=bhackett 2015-12-30 13:27:09 +01:00
Arthur Edelstein 3345f3b6d9 Bug 867501 - Pref allows JS locale to be set to US English/C. r=khuey 2015-12-29 13:56:00 +01:00
Benjamin Bouvier 96dd413273 Bug 1230005: Delay buffer flushing in asm.js until the last minute; r=luke
--HG--
extra : commitid : 6ar03ADOWzM
extra : rebase_source : 5e1b25850ca8390d54b545314e543ad2d14f781a
extra : amend_source : 097590cf5a6f98cb74b0af0e9c811c84c932ed53
2015-12-29 10:55:38 +01:00
Nigel Babu d7f551baae Backed out changeset b45ee8d3233f (bug 867501) for build bustage
--HG--
extra : commitid : Lek3ilQVsmK
2015-12-29 15:28:48 +05:30
Bogdan Postelnicu 770ebf3015 Bug 1235032 - check value of obj, remake while () {} to do { } while(). r=jorendorff 2015-12-28 05:35:00 +01:00
Victor Carlquist cda9d2e5e1 Bug 1112537 - Optimize String#split('foo').join('bar') pattern. r=nbp
--HG--
extra : rebase_source : 95e4608ec5cb2465e3aa1b0008c1fa5b2edd46ad
2014-12-20 13:33:02 -02:00
Arthur Edelstein ae80b093a6 Bug 867501 - Pref allows JS locale to be set to US English/C. r=khuey
--HG--
extra : rebase_source : 66cefc1fb5bc407280e3707de1fc8387965d20bf
2015-12-17 16:15:00 +01:00
Birunthan Mohanathas 658dd7bd4b Bug 1204752 - Disable thread-safe statics on VS2015 to fix WinXP startup crash. r=glandium
VS2015 added thread-safe statics, but it causes a startup crash on XP. The
suggested workaround provided by Microsoft is to disable the feature enitrely:
https://connect.microsoft.com/VisualStudio/feedback/details/1789709/visual-c-2015-runtime-broken-on-windows-server-2003-c-11-magic-statics

Note that thread-safe statics were not available in VS2013 so disabling them
should not be considered a regression.

With this patch, Firefox runs fine in XP SP2 and XP SP3.

DONTBUILD because VS2015-only change.
2015-12-29 10:21:07 +02:00
Shu-yu Guo 3d619450c0 Bug 1234164 - Fix Ion GETNAME stubs to check for uninitialized lexicals. (r=efaust) 2015-12-28 18:53:00 -08:00
Shu-yu Guo c5555284a5 Bug 1071646 - Forgot to commit tests on backout and relanding cycle. (r=me) 2015-12-28 18:52:59 -08:00