From 2f3fa88a2515e1ba9c5a3a8cc4add0b79b492ba0 Mon Sep 17 00:00:00 2001 From: Gabor Greif Date: Tue, 25 Aug 2009 23:02:21 +0000 Subject: [PATCH] revert r78628 and r78803 as these are not needed any more git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80048 91177308-0d34-0410-b5e6-96231b3b80d8 --- CMakeLists.txt | 6 ------ autoconf/configure.ac | 11 ----------- include/llvm/Config/config.h.cmake | 3 --- 3 files changed, 20 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1c1e6fcee63..c6036f02bd0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -94,12 +94,6 @@ else() endif() endif() -if( uppercase_CMAKE_BUILD_TYPE STREQUAL "RELEASE" AND NOT LLVM_ENABLE_ASSERTIONS ) - set( LLVM_COMPACT_SENTINELS 1 ) -else( uppercase_CMAKE_BUILD_TYPE STREQUAL "RELEASE" AND NOT LLVM_ENABLE_ASSERTIONS ) - set( LLVM_COMPACT_SENTINELS 0 ) -endif( uppercase_CMAKE_BUILD_TYPE STREQUAL "RELEASE" AND NOT LLVM_ENABLE_ASSERTIONS ) - if( LLVM_TARGETS_TO_BUILD STREQUAL "all" ) set( LLVM_TARGETS_TO_BUILD ${LLVM_ALL_TARGETS} ) endif() diff --git a/autoconf/configure.ac b/autoconf/configure.ac index 22e4076a026..173341a054c 100644 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -361,17 +361,6 @@ else AC_SUBST(DISABLE_ASSERTIONS,[[DISABLE_ASSERTIONS=1]]) fi -dnl LLVM_COMPACT_SENTINELS : can be used to shrink ilist's end iterators and disable certain checks on them: -if test ${ENABLE_OPTIMIZED},${DISABLE_ASSERTIONS} = "ENABLE_OPTIMIZED=1,DISABLE_ASSERTIONS=1" ; then - AC_SUBST(LLVM_COMPACT_SENTINELS,[1]) -else - AC_SUBST(LLVM_COMPACT_SENTINELS,[0]) -fi - -AC_DEFINE_UNQUOTED([LLVM_COMPACT_SENTINELS],$LLVM_COMPACT_SENTINELS, - [Define to 1 for ilist sentinel compaction]) - - dnl --enable-expensive-checks : check whether they want to turn on expensive debug checks: AC_ARG_ENABLE(expensive-checks,AS_HELP_STRING( --enable-expensive-checks,[Compile with expensive debug checks enabled (default is NO)]),, enableval="no") diff --git a/include/llvm/Config/config.h.cmake b/include/llvm/Config/config.h.cmake index 626da4d91c2..360ca5d9c1f 100644 --- a/include/llvm/Config/config.h.cmake +++ b/include/llvm/Config/config.h.cmake @@ -425,9 +425,6 @@ /* Define to 1 if you have the header file. */ #cmakedefine HAVE_WINDOWS_H ${HAVE_WINDOWS_H} -/* Define to 1 for ilist sentinel compaction */ -#cmakedefine LLVM_COMPACT_SENTINELS ${LLVM_COMPACT_SENTINELS} - /* Installation directory for binary executables */ #undef LLVM_BINDIR -- 2.34.1