EmitGuaranteedSelf is always on now

NFC except for removal of flag

Swift SVN r28427
This commit is contained in:
Slava Pestov
2015-05-11 18:21:37 +00:00
parent 0ad2696d79
commit fd256e70e3
11 changed files with 13 additions and 74 deletions

View File

@@ -283,12 +283,6 @@ RemoveRuntimeAsserts("remove-runtime-asserts",
llvm::cl::init(false),
llvm::cl::desc("Remove runtime assertions (cond_fail)."));
static llvm::cl::opt<bool>
EnableGuaranteedSelf("enable-guaranteed-self",
llvm::cl::Hidden,
llvm::cl::init(true),
llvm::cl::desc("Enable guaranteed self"));
static llvm::cl::opt<bool>
EnableSILPrintAll("sil-print-all",
llvm::cl::Hidden,
@@ -402,7 +396,6 @@ int main(int argc, char **argv) {
SILOpts.PrintAll = EnableSILPrintAll;
SILOpts.RemoveRuntimeAsserts = RemoveRuntimeAsserts;
SILOpts.AssertConfig = AssertConfId;
SILOpts.EnableGuaranteedSelf = EnableGuaranteedSelf;
// Load the input file.
llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> FileBufOrErr =