diff options
author | Chris Lattner <sabre@nondot.org> | 2008-11-15 21:26:17 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-11-15 21:26:17 +0000 |
commit | 10cac6f7115b59a466bb8d2d51cdddeb38aadc37 (patch) | |
tree | 07a049c3bd97dc50b2ca21febdbf903f50c0a3c7 /lib/CodeGen/CGStmt.cpp | |
parent | 5a9a457ecf66343ae8b64baa7909007837b2a2cd (diff) |
Start implementing support for @synchonized with the darwin ObjC API.
Patch by Fariborz!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59377 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGStmt.cpp')
-rw-r--r-- | lib/CodeGen/CGStmt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGStmt.cpp b/lib/CodeGen/CGStmt.cpp index 767e275d2d..3f2cd803da 100644 --- a/lib/CodeGen/CGStmt.cpp +++ b/lib/CodeGen/CGStmt.cpp @@ -92,7 +92,7 @@ void CodeGenFunction::EmitStmt(const Stmt *S) { EmitObjCAtThrowStmt(cast<ObjCAtThrowStmt>(*S)); break; case Stmt::ObjCAtSynchronizedStmtClass: - ErrorUnsupported(S, "@synchronized statement"); + EmitObjCAtSynchronizedStmt(cast<ObjCAtSynchronizedStmt>(*S)); break; case Stmt::ObjCForCollectionStmtClass: EmitObjCForCollectionStmt(cast<ObjCForCollectionStmt>(*S)); |