[sil-aa] Compile out DisableAliasAnalysis flag when not building Debug. Put in a comment making it clear that it should be removed once AA bringup is complete.

Swift SVN r13664
This commit is contained in:
Michael Gottesman
2014-02-08 00:07:13 +00:00
parent 06b7ca2855
commit d75da69b2f

View File

@@ -23,11 +23,15 @@
using namespace swift;
#ifndef NDEBUG
/// This is meant to be used during AA bring up. If AA has been brought up, feel
/// free to remove this.
static llvm::cl::opt<bool>
DisableAliasAnalysis("disable-aa", llvm::cl::init(false),
llvm::cl::Hidden,
llvm::cl::desc("Always return most conservative AA "
"result."));
#endif
//===----------------------------------------------------------------------===//
// Utility Functions