summaryrefslogtreecommitdiffstats
path: root/libcxxabi/src/cxa_exception.cpp
diff options
context:
space:
mode:
authorMarshall Clow <mclow@qualcomm.com>2012-01-04 14:56:09 +0000
committerMarshall Clow <mclow@qualcomm.com>2012-01-04 14:56:09 +0000
commitf368486f4c09e7de29f094c793a666b35f806790 (patch)
tree2785b3441c7e4f8af8ce511ffee59deca307e9f9 /libcxxabi/src/cxa_exception.cpp
parent6dced3b468aad7fb062819bb350dda9f1f703aa7 (diff)
downloadbcm5719-llvm-f368486f4c09e7de29f094c793a666b35f806790.tar.gz
bcm5719-llvm-f368486f4c09e7de29f094c793a666b35f806790.zip
Better comment
llvm-svn: 147532
Diffstat (limited to 'libcxxabi/src/cxa_exception.cpp')
-rw-r--r--libcxxabi/src/cxa_exception.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxxabi/src/cxa_exception.cpp b/libcxxabi/src/cxa_exception.cpp
index a011dd0f30d..53623cfe181 100644
--- a/libcxxabi/src/cxa_exception.cpp
+++ b/libcxxabi/src/cxa_exception.cpp
@@ -388,7 +388,7 @@ __cxa_current_primary_exception() throw()
// get the current exception
__cxa_eh_globals* globals = __cxa_get_globals_fast();
if (NULL == globals)
- return NULL; // Never has been an exception
+ return NULL; // If there are no globals, there is no exception
__cxa_exception* current_exception = globals->caughtExceptions;
if (NULL == current_exception)
return NULL; // No current exception
OpenPOWER on IntegriCloud