Commit Graph

30784 Commits

Author SHA1 Message Date
Hannes Verschore
749d2cae6d Bug 939614: IonMonkey: Enable reschedule same optimizationLevel if osrPc is different, r=jandem 2013-12-12 15:14:13 +01:00
Hannes Verschore
d3c01ecc33 Bug 939614: IonMonkey: Use logic in UsesBeforeCompile to get actual needed usecount, r=jandem 2013-12-12 15:14:13 +01:00
Hannes Verschore
628c36cc7c Bug 939614: IonMonkey: Rename IonOption to JitOption, r=jandem 2013-12-12 15:14:13 +01:00
Hannes Verschore
6952a4ad4e Bug 939614: IonMonkey: Split IonOptions in IonOptions and IonOptimizations, r=jandem 2013-12-12 15:14:12 +01:00
Hannes Verschore
a8565bbc84 Bug 939614: IonMonkey: Add recompile check, r=jandem 2013-12-12 15:14:12 +01:00
Jon Coppeard
e3b4276605 Bug 948423 - Use relookupOrAdd() to insert into has type representation hash map following possible mutation by GC r=sfink 2013-12-12 11:22:00 +00:00
Jon Coppeard
e5c00eeaf8 Bug 949038 - Fix windows browser build error in jsweakmap.h with generational GC r=terrence 2013-12-12 11:21:59 +00:00
Nick Alexander
6fade1ad27 Bug 934646 - Part 3: Declare Android resource directories relative to $SRCDIR. r=glandium,gps,mfinkle
--HG--
rename : mobile/android/base/resources/drawable-mdpi/crash_reporter.png => mobile/android/base/crashreporter/res/drawable-mdpi/crash_reporter.png
rename : mobile/android/base/resources/layout/crash_reporter.xml => mobile/android/base/crashreporter/res/layout/crash_reporter.xml
rename : mobile/android/branding/aurora/content/fennec_72x72.png => mobile/android/branding/aurora/res/drawable-hdpi/icon.png
rename : mobile/android/branding/aurora/content/fennec_48x48.png => mobile/android/branding/aurora/res/drawable-mdpi/icon.png
rename : mobile/android/branding/aurora/content/fennec_96x96.png => mobile/android/branding/aurora/res/drawable-xhdpi/icon.png
rename : mobile/android/branding/aurora/content/fennec_144x144.png => mobile/android/branding/aurora/res/drawable-xxhdpi/icon.png
rename : mobile/android/branding/beta/content/fennec_72x72.png => mobile/android/branding/beta/res/drawable-hdpi/icon.png
rename : mobile/android/branding/beta/content/fennec_48x48.png => mobile/android/branding/beta/res/drawable-mdpi/icon.png
rename : mobile/android/branding/beta/content/fennec_96x96.png => mobile/android/branding/beta/res/drawable-xhdpi/icon.png
rename : mobile/android/branding/beta/content/fennec_144x144.png => mobile/android/branding/beta/res/drawable-xxhdpi/icon.png
rename : mobile/android/branding/nightly/content/fennec_72x72.png => mobile/android/branding/nightly/res/drawable-hdpi/icon.png
rename : mobile/android/branding/nightly/content/fennec_48x48.png => mobile/android/branding/nightly/res/drawable-mdpi/icon.png
rename : mobile/android/branding/nightly/content/fennec_96x96.png => mobile/android/branding/nightly/res/drawable-xhdpi/icon.png
rename : mobile/android/branding/nightly/content/fennec_144x144.png => mobile/android/branding/nightly/res/drawable-xxhdpi/icon.png
rename : mobile/android/branding/official/content/fennec_72x72.png => mobile/android/branding/official/res/drawable-hdpi/icon.png
rename : mobile/android/branding/official/content/fennec_48x48.png => mobile/android/branding/official/res/drawable-mdpi/icon.png
rename : mobile/android/branding/official/content/fennec_96x96.png => mobile/android/branding/official/res/drawable-xhdpi/icon.png
rename : mobile/android/branding/official/content/fennec_144x144.png => mobile/android/branding/official/res/drawable-xxhdpi/icon.png
rename : mobile/android/branding/unofficial/content/fennec_72x72.png => mobile/android/branding/unofficial/res/drawable-hdpi/icon.png
rename : mobile/android/branding/unofficial/content/fennec_48x48.png => mobile/android/branding/unofficial/res/drawable-mdpi/icon.png
rename : mobile/android/branding/unofficial/content/fennec_96x96.png => mobile/android/branding/unofficial/res/drawable-xhdpi/icon.png
rename : mobile/android/branding/unofficial/content/fennec_144x144.png => mobile/android/branding/unofficial/res/drawable-xxhdpi/icon.png
extra : rebase_source : f6ec8a38594e70520b10202c735dc019f8c856fd
2013-12-11 21:20:07 -08:00
Gregory Szorc
e413f97acc Bug 939367 - Allow Sphinx docs to come from all over the tree; r=glandium
--HG--
extra : rebase_source : 1c1a444a78c0dfce110db3890e29543eeb67f3aa
2013-11-20 12:37:22 -08:00
Mike Hommey
3325256d97 Bug 945042 - Move NO_PROFILE_GUIDED_OPTIMIZE to moz.build. r=gps,r=njn 2013-12-09 13:39:26 +09:00
Ryan VanderMeulen
9cdf9f9b45 Backed out changeset 47b81e1366bc (bug 948553) because it depends on another patch that was backed out.
CLOSED TREE
2013-12-11 22:38:05 -05:00
Gregory Szorc
ba2d03eb97 Bug 948787 - Print diffs during config.status; r=glandium
Build system developers commonly need to see what changes have on the
generated build files. We often put our objdir under version control and
diff commits before and after running config.status.

This patch adds a --diff option to config.status that will print diffs
of changes made during config.status. This functionality is implemented
on top of FileAvoidWrite, using Python's built-in diffing library.

While display of diffs is opt-in, diffs are always being captured when
config.status runs. There could be an unwanted performance regression
from this. Because diffs are only computed if files change and most
files don't change during most config.status runs, this greatly reduces
the surface area of the concern. The area for largest concern is clobber
builds. On my machine, I measured an increase of 0.2 to 0.3s from 2.0s.
While this is 10-15%, the total time is so small that I don't feel
snaking a "capture diff" flag through the build system is worth the
effort. This would make a decent followup bug if this turns out to be a
problem in the future.

I also snuck in a change to reindent all-tests.json because displaying
diffs for this massive 11MB all-in-one-line JSON file results in an
extremely large string being printed to my terminal.

--HG--
extra : rebase_source : c0f7ff69cad282e63a050e67f156dbe96b49a142
2013-12-11 13:06:56 +09:00
Terrence Cole
2e679fb1a1 Bug 948516 - Assert that js::HashTable pointers and enumerators are used correctly; r=luke 2013-12-03 12:51:02 -08:00
Bobby Holley
cfdc7a64b4 Bug 937317 - Tests. r=bz 2013-12-11 17:51:59 -08:00
Bobby Holley
a7395d2ec6 Bug 937317 - Replace all instance of null cx pushing with AutoSystemCaller. r=bz
This is an easy bonus chunk of the work to phase out cx pushing in the browser.
2013-12-11 17:51:58 -08:00
Bobby Holley
bc61230c38 Bug 937317 - Implement and expose GetIncumbentGlobal. r=bz,luke 2013-12-11 17:51:57 -08:00
Ryan VanderMeulen
cb80ce98fe Backed out changeset b93e7a83b308 (bug 932982) for Linux mochitest-bc leaks.
CLOSED TREE
2013-12-11 17:07:48 -05:00
Ryan VanderMeulen
9a5a3e3614 Merge m-c to inbound. 2013-12-11 13:38:14 -05:00
Ryan VanderMeulen
ec34e0fb19 Merge inbound to m-c. 2013-12-11 13:32:11 -05:00
Ryan VanderMeulen
106d512427 Merge b2g-inbound to m-c. 2013-12-11 13:24:26 -05:00
Brian Hackett
5d9bd2a0fa Bug 932982 - Trace type constraints and allow preserving jitcode in GCs without also marking all type information, r=billm,jandem. 2013-12-11 10:12:33 -08:00
Brian Hackett
6a40ed3a56 Bug 936156 - Use different type objects when 'new' is used on different scripts with the same prototype, r=jandem. 2013-12-11 10:05:03 -08:00
Steve Fink
32bcb02241 Bug 948553 - Drop hazard expectation to 8, r=terrence
DONTBUILD because expectations currently aren't working anyway. (Need a mozharness push.)
2013-12-11 09:53:42 -08:00
Jon Coppeard
6c75dbea68 Bug 945453 - Postbarrier JIT-code writes to arguments objects r=terrence r=djvj 2013-12-11 14:03:24 +00:00
Dan Gohman
93ad71b2d2 Bug 944321 - IonMonkey: Disable MToFloat32's computeRange. r=bbouvier 2013-12-10 18:51:35 -08:00
Dan Gohman
0c22273d01 Bug 941715 - SpiderMonkey: Don't use DebugOnly in struct fields when size is relevant. r=jorendorff 2013-12-10 18:27:13 -08:00
Dan Gohman
dd36fc4dd5 Bug 678745 - SpiderMonkey: Fix a file decriptor leak in the shell. r=jorendorff 2013-12-10 18:27:12 -08:00
Dan Gohman
f30efb5cb7 Bug 948241 - IonMonkey: Use FixedList in MAsmJSCall. r=luke 2013-12-09 19:39:44 -08:00
Dan Gohman
f4b14888fe Bug 948241 - IonMonkey: Convert plain arrays to mozilla::Array r=luke 2013-12-09 19:39:46 -08:00
Brian Hackett
5af6307c95 Bug 948230 - Use accessor methods for JSScript bitfields, r=jandem. 2013-12-10 18:22:28 -08:00
Wes Kocher
b7e717b615 Merge m-c to b2g-inbound 2013-12-10 17:14:14 -08:00
Douglas Crosher
71cd72fd1d Bug 948400 - Fix perf-spewer to use the new accessor methods for JSScript uint32/uint16 fields. r=bhackett 2013-12-10 23:31:44 +11:00
Kannan Vijayan
2342de0db0 Bug 945223 - Ensure correct baseline stack when calling out to noSuchMethod, so that decompiler works. r=efaust 2013-12-10 14:53:49 -05:00
Mike Hommey
4fc7d237c6 Bug 947804 - Finish to kill BOTH_MANIFESTS. r=gps 2013-12-09 16:30:06 +09:00
Mike Hommey
1e593d53d5 Bug 944935 - Cleanup some useless AC_CHECK_FUNCS tests in configure.in. r=gps
- HAVE_RANDOM is not checked at all.
- HAVE_STRERROR is not checked in code built using the defines from the main
  configure.
- HAVE_LCHOWN is only checked in nsinstall.c, which means the test is also wrong
  since it's checking for the target instead of the host. Also, lchown is only
  used of the -o and -g options of nsinstall, which, as far as I know, we don't
  use (and if we were, that would fail with nsinstall.py, which explicitly rejects
  them).
- HAVE_FCHMOD is only checked in nsinstall.c, so same as above about the
  correctness of the check. If it's not available, nsinstall.c falls back to
  chmod, which is fine enough for our use.
- HAVE_SNPRINTF is not checked.
- HAVE_MEMMOVE is checked in parser/expat/lib/xmlparse.c, but it's also
  unconditionally defined in expat_config.h which is included from that file.
- HAVE_SETBUF is checked in a couple files, but setbuf is C89 and C99, I think
  it's safe to assume all compilers we support are C89 and C99. Interestingly,
  windows does have it, but since we skip this check on windows, we don't use it.
- HAVE_ISATTY, same as HAVE_SETBUF, except it's POSIX instead of C89/C99.
- HAVE_FLOCKFILE is not checked at all.
- HAVE_STRTOK_R is not checked.
- HAVE_FT_SELECT_SIZE is not checked.
- HAVE_DLADDR is not checked under js/src.
- HAVE_GETPAGESIZE is not checked under js/src (it is in libffi, but ffi uses
  its own configure)
- HAVE_LSTAT64, HAVE_STAT64, HAVE_STATVFS, HAVE_STATVFS64, HAVE_TRUNCATE64 are
  not checked under js/src.
- HAVE_SBRK is not checked under js/src. Moreover,
  js/src/assembler/wtf/Platform.h defines it depending on the platform.
- HAVE_SNPRINTF is not checked under js/src.
- HAVE_HYPOT is not checked under js/src.
- HAVE__UNWIND_BACKTRACE is not checked under js/src.
2013-12-11 10:57:53 +09:00
Eric Faust
b881546cc1 Bug 948716 - Remove unnecessary TestAreKnownDOMTypes(). (r=sstangl) 2013-12-10 16:17:49 -08:00
Sean Stangl
e73d5179bd Bug 948638 - Always use jsid struct types. r=Waldo 2013-12-10 15:45:41 -08:00
Sean Stangl
6b33f60283 Bug 948689 - Update TraceLogger to use lineno(). r=efaust 2013-12-10 15:42:49 -08:00
Terrence Cole
7f6fe020bb Backout changeset 70e76314c8a7 for build bustage on a CLOSED TREE.
--HG--
extra : rebase_source : 83e1e8a5a4802ef0b7b1d6f7dc0df6595bc9f00f
2013-12-10 15:26:05 -08:00
Terrence Cole
1ba90fd085 Bug 948516 - Assert that js::HashTable pointers and enumerators are used correctly; r=luke 2013-12-03 12:51:02 -08:00
Nathan Froyd
07e29b05c3 Bug 946781 - part 5 - measure the proto and iface cache from within xpconnect; r=bholley,njn 2013-12-06 13:08:45 -05:00
Nathan Froyd
d222605992 Bug 946781 - part 3 - prepare for measuring multiple things from XPCWrappedNativeScope; r=bholley,njn 2013-12-06 13:04:12 -05:00
Nathan Froyd
a6090ebf41 Bug 946781 - part 2 - add memory used by mozJSComponentLoader to about:memory; r=bholley,njn 2013-12-05 16:54:30 -05:00
Nathan Froyd
c2c75e8f89 Bug 946781 - part 1 - split explicit/jsconnect into its constituent parts; r=bholley,njn 2013-12-10 10:04:06 -05:00
Terrence Cole
1332ac9dcf Bug 946976 - Do not leak the store buffer when re-enabling; r=jonco 2013-12-05 15:15:05 -08:00
Jan de Mooij
42733206c3 Bug 946425 - Make phi specialization more accurate when one of the inputs has an empty typeset. r=bhackett 2013-12-10 20:01:49 +01:00
Ryan VanderMeulen
49897d0a80 Backed out changeset ff6976885129 (bug 942565) for B2G mochitest-4 failures.
--HG--
extra : rebase_source : d5cd87b39ce85b6164a621dd540a023af622aecc
2013-12-10 13:18:52 -05:00
Andrew McCreight
6e00c79ea8 Bug 943373, part 4 - Use MOZ_THIS_IN_INITIALIZER_LIST in the JS engine. r=Waldo 2013-12-10 09:58:44 -08:00
Brian Hackett
0fbbd74746 Bug 923614 - Remove assert, improve OOM handling in PropertyReadNeedsTypeBarrier, r=jandem. 2013-12-10 08:34:47 -08:00
Andrew McCreight
5a519d7b99 Bug 943373, part 1 - Use MOZ_THIS_IN_INITIALIZER_LIST in XPConnect. r=bholley 2013-12-10 08:07:20 -08:00