llvm.org GIT mirror llvm / 2f3fa88
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 Gabor Greif 11 years ago
3 changed file(s) with 0 addition(s) and 20 deletion(s). Raw diff Collapse all Expand all
9292 add_definitions( -DNDEBUG )
9393 endif()
9494 endif()
95
96 if( uppercase_CMAKE_BUILD_TYPE STREQUAL "RELEASE" AND NOT LLVM_ENABLE_ASSERTIONS )
97 set( LLVM_COMPACT_SENTINELS 1 )
98 else( uppercase_CMAKE_BUILD_TYPE STREQUAL "RELEASE" AND NOT LLVM_ENABLE_ASSERTIONS )
99 set( LLVM_COMPACT_SENTINELS 0 )
100 endif( uppercase_CMAKE_BUILD_TYPE STREQUAL "RELEASE" AND NOT LLVM_ENABLE_ASSERTIONS )
10195
10296 if( LLVM_TARGETS_TO_BUILD STREQUAL "all" )
10397 set( LLVM_TARGETS_TO_BUILD ${LLVM_ALL_TARGETS} )
360360 AC_SUBST(DISABLE_ASSERTIONS,[[DISABLE_ASSERTIONS=1]])
361361 fi
362362
363 dnl LLVM_COMPACT_SENTINELS : can be used to shrink ilist's end iterators and disable certain checks on them:
364 if test ${ENABLE_OPTIMIZED},${DISABLE_ASSERTIONS} = "ENABLE_OPTIMIZED=1,DISABLE_ASSERTIONS=1" ; then
365 AC_SUBST(LLVM_COMPACT_SENTINELS,[1])
366 else
367 AC_SUBST(LLVM_COMPACT_SENTINELS,[0])
368 fi
369
370 AC_DEFINE_UNQUOTED([LLVM_COMPACT_SENTINELS],$LLVM_COMPACT_SENTINELS,
371 [Define to 1 for ilist sentinel compaction])
372
373
374363 dnl --enable-expensive-checks : check whether they want to turn on expensive debug checks:
375364 AC_ARG_ENABLE(expensive-checks,AS_HELP_STRING(
376365 --enable-expensive-checks,[Compile with expensive debug checks enabled (default is NO)]),, enableval="no")
423423
424424 /* Define to 1 if you have the header file. */
425425 #cmakedefine HAVE_WINDOWS_H ${HAVE_WINDOWS_H}
426
427 /* Define to 1 for ilist sentinel compaction */
428 #cmakedefine LLVM_COMPACT_SENTINELS ${LLVM_COMPACT_SENTINELS}
429426
430427 /* Installation directory for binary executables */
431428 #undef LLVM_BINDIR