diff options
author | Joao Matos <ripzonetriton@gmail.com> | 2012-09-04 17:49:35 +0000 |
---|---|---|
committer | Joao Matos <ripzonetriton@gmail.com> | 2012-09-04 17:49:35 +0000 |
commit | 568ba871bbac959029671b81f8e531edb7e0d7d6 (patch) | |
tree | 8f85d37b1d6cb96f2aae6e5fae79eafd4f14aa10 /lib/Serialization | |
parent | 4c5fa4292a2ae1fd69c8b984543519c4f119c540 (diff) |
Revert r163083 per chandlerc's request.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163149 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization')
-rw-r--r-- | lib/Serialization/ASTReaderStmt.cpp | 8 | ||||
-rw-r--r-- | lib/Serialization/ASTWriterStmt.cpp | 6 |
2 files changed, 0 insertions, 14 deletions
diff --git a/lib/Serialization/ASTReaderStmt.cpp b/lib/Serialization/ASTReaderStmt.cpp index 3252c7db58..6ca450b9fb 100644 --- a/lib/Serialization/ASTReaderStmt.cpp +++ b/lib/Serialization/ASTReaderStmt.cpp @@ -1516,11 +1516,6 @@ void ASTStmtReader::VisitSEHTryStmt(SEHTryStmt *S) { S->Children[SEHTryStmt::HANDLER] = Reader.ReadSubStmt(); } -void ASTStmtReader::VisitSEHLeaveStmt(SEHLeaveStmt *S) { - VisitStmt(S); - S->LeaveLoc = ReadSourceLocation(Record, Idx); -} - //===----------------------------------------------------------------------===// // CUDA Expressions and Statements //===----------------------------------------------------------------------===// @@ -1991,9 +1986,6 @@ Stmt *ASTReader::ReadStmtFromStream(ModuleFile &F) { case STMT_SEH_TRY: S = new (Context) SEHTryStmt(Empty); break; - case STMT_SEH_LEAVE: - S = new (Context) SEHLeaveStmt(Empty); - break; case STMT_CXX_CATCH: S = new (Context) CXXCatchStmt(Empty); break; diff --git a/lib/Serialization/ASTWriterStmt.cpp b/lib/Serialization/ASTWriterStmt.cpp index 9d626d1b59..5fa08d256c 100644 --- a/lib/Serialization/ASTWriterStmt.cpp +++ b/lib/Serialization/ASTWriterStmt.cpp @@ -1554,12 +1554,6 @@ void ASTStmtWriter::VisitSEHTryStmt(SEHTryStmt *S) { Code = serialization::STMT_SEH_TRY; } -void ASTStmtWriter::VisitSEHLeaveStmt(SEHLeaveStmt *S) { - VisitStmt(S); - Writer.AddSourceLocation(S->getLeaveLoc(), Record); - Code = serialization::STMT_SEH_LEAVE; -} - //===----------------------------------------------------------------------===// // ASTWriter Implementation //===----------------------------------------------------------------------===// |