diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2008-11-21 00:49:24 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2008-11-21 00:49:24 +0000 |
commit | c2ad6dc3b4685c764004e73dc98ec83566365d80 (patch) | |
tree | 7537f0202a8a9513ce4a65a213964912d32b211d /clang/lib/CodeGen/CGObjC.cpp | |
parent | 526cbee901e99c17a51b2c402a3ed9dd7b78b1a3 (diff) | |
download | bcm5719-llvm-c2ad6dc3b4685c764004e73dc98ec83566365d80.tar.gz bcm5719-llvm-c2ad6dc3b4685c764004e73dc98ec83566365d80.zip |
Consolidated @try and @synchronize into a single
code gen. method.
llvm-svn: 59767
Diffstat (limited to 'clang/lib/CodeGen/CGObjC.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGObjC.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGObjC.cpp b/clang/lib/CodeGen/CGObjC.cpp index c2e42d59817..4739efa63df 100644 --- a/clang/lib/CodeGen/CGObjC.cpp +++ b/clang/lib/CodeGen/CGObjC.cpp @@ -524,7 +524,7 @@ void CodeGenFunction::EmitObjCForCollectionStmt(const ObjCForCollectionStmt &S) void CodeGenFunction::EmitObjCAtTryStmt(const ObjCAtTryStmt &S) { - CGM.getObjCRuntime().EmitTryStmt(*this, S); + CGM.getObjCRuntime().EmitTryOrSynchronizedStmt(*this, S); } void CodeGenFunction::EmitObjCAtThrowStmt(const ObjCAtThrowStmt &S) @@ -535,7 +535,7 @@ void CodeGenFunction::EmitObjCAtThrowStmt(const ObjCAtThrowStmt &S) void CodeGenFunction::EmitObjCAtSynchronizedStmt( const ObjCAtSynchronizedStmt &S) { - CGM.getObjCRuntime().EmitSynchronizedStmt(*this, S); + CGM.getObjCRuntime().EmitTryOrSynchronizedStmt(*this, S); } CGObjCRuntime::~CGObjCRuntime() {} |