aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGObjC.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-11-15 21:26:17 +0000
committerChris Lattner <sabre@nondot.org>2008-11-15 21:26:17 +0000
commit10cac6f7115b59a466bb8d2d51cdddeb38aadc37 (patch)
tree07a049c3bd97dc50b2ca21febdbf903f50c0a3c7 /lib/CodeGen/CGObjC.cpp
parent5a9a457ecf66343ae8b64baa7909007837b2a2cd (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/CGObjC.cpp')
-rw-r--r--lib/CodeGen/CGObjC.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/CodeGen/CGObjC.cpp b/lib/CodeGen/CGObjC.cpp
index 3ffdb4d866..058278cfa4 100644
--- a/lib/CodeGen/CGObjC.cpp
+++ b/lib/CodeGen/CGObjC.cpp
@@ -533,4 +533,10 @@ void CodeGenFunction::EmitObjCAtThrowStmt(const ObjCAtThrowStmt &S)
CGM.getObjCRuntime().EmitThrowStmt(*this, S);
}
+void CodeGenFunction::EmitObjCAtSynchronizedStmt(
+ const ObjCAtSynchronizedStmt &S)
+{
+ CGM.getObjCRuntime().EmitSynchronizedStmt(*this, S);
+}
+
CGObjCRuntime::~CGObjCRuntime() {}