Bug 1144842 (part 3) - Remove --enable-dmd code from js/src/configure.in. r=glandium.
authorNicholas Nethercote <nnethercote@mozilla.com>
Thu, 21 Jan 2016 16:59:02 -0800
changeset 281452 29271e7d0c2362109080fb8cfbbbbadba0c4f0f6
parent 281451 16b98426457ca48e93c896bf4cc0d992b59d8832
child 281453 13a942af5b86aa9a03137fc8c1101221d94c299b
push id29940
push usercbook@mozilla.com
push dateMon, 25 Jan 2016 10:50:21 +0000
treeherdermozilla-central@67c66c2878ae [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersglandium
bugs1144842
milestone46.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1144842 (part 3) - Remove --enable-dmd code from js/src/configure.in. r=glandium. It doesn't make sense to enable DMD in the JS shell.
js/src/configure.in
--- a/js/src/configure.in
+++ b/js/src/configure.in
@@ -2897,34 +2897,16 @@ elif test "$GNU_CC"; then
         MOZ_C_SUPPORTS_WARNING(-W, no-error=coverage-mismatch, ac_c_has_noerror_coverage_mismatch)
         MOZ_CXX_SUPPORTS_WARNING(-W, no-error=coverage-mismatch, ac_cxx_has_noerror_coverage_mismatch)
         MOZ_C_SUPPORTS_WARNING(-W, no-error=free-nonheap-object, ac_c_has_noerror_free_nonheap_object)
         MOZ_CXX_SUPPORTS_WARNING(-W, no-error=free-nonheap-object, ac_cxx_has_noerror_free_nonheap_object)
     fi
 fi
 
 dnl ========================================================
-dnl = Enable DMD
-dnl ========================================================
-
-MOZ_ARG_ENABLE_BOOL(dmd,
-[  --enable-dmd            Enable DMD; also enables jemalloc and replace-malloc],
-    MOZ_DMD=1,
-    MOZ_DMD= )
-
-if test "$MOZ_DMD"; then
-    AC_DEFINE(MOZ_DMD)
-
-    if test "${CPU_ARCH}" = "arm"; then
-        CFLAGS="$CFLAGS -funwind-tables"
-        CXXFLAGS="$CXXFLAGS -funwind-tables"
-    fi
-fi
-
-dnl ========================================================
 dnl = Enable jemalloc
 dnl ========================================================
 
 LOCAL_MOZ_MEMORY=1
 MOZ_ARG_DISABLE_BOOL(jemalloc,
 [  --disable-jemalloc       Don't replace memory allocator with jemalloc],
     LOCAL_MOZ_MEMORY=)